Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Frequent Visitor

Multiply two columns from different table with condition

Hello everyone!


I have one column titled ('Unit Cost') from the table named ('Raw Materials') and another column titled ('Rate') from the table ('Exchange Rates'). I would need to mulitply the column 'Unit Cost' times the column 'Rate' when the date is the same for the two tables. How could I do this?


Thanks in advance for your time.


Please, let me know.

Super User
Super User

@mtrussardi , you can use min/max , but aggregation is must

Super User
Super User

@mtrussardi , Create a common date table and then create a measure like


sumx(values(Date[date]), Sum(Table1[Unit Cost]) * sum(Table2[Rate]))


you can use min/max, average in place of sum


refer the concept here:



Thank you for your reply.


I tried the measure but the problem is that I don't want to calculate the sum. I just need to calculate the value of 'Unit Cost' times the "Rate' for each row when the date is the same.

Any developments?

Helpful resources

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.


Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.


Fabric certifications survey

Certification feedback opportunity for the community.