Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Calculate between two datasets with different attributes
Lindi94
Hi Guys
I want to calculate fields from two datasets / .csv Files together.
The attributes from the two datasets are completely different.
In one dataset there are a few animals stored with the information of their weights (in gram) and the other dataset contains the price per gram.
I want to multiply every "weight" field from the first dataset with the "price" field from the second dataset.
As a result I want to get the price for the animal included in the first dataset.
See example for hopefully better understanding:
First dataset:
ID, Animal Name, Animal weight in gram
1, Dog, 1500
2, Cat, 800
3, Frog, 100
Second dataset:
ID, Price per gram
1, 0.015
RESULT included in the first dataset:
ID, Animal Name, Animal weight in gram,
Price
1, Dog, 1500,
22.5
2, Cat, 800,
12
3, Frog, 100,
1.5
Thanks in advance for your help!
Regards
L
Find more posts tagged with
AI Studio
CSV
ETL + Data Prep
Accepted answers
All comments
lionelderkrikor
Hi
@Lindi94
,
It is straightforward : Please check the process in attached file.
Hope this helps,
Regards,
Lionel
Price_animal.rmp
Lindi94
Hi
@lionelderkrikor
,
It looks like it will work. Thanks a lot for your quick response!!
Regards
L
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups