Forum Discussion
John-Koz
8 years agoFrequent Visitor
Calculate a Measure between 2 tables
Hi, Trying to create a calculated measure between 2 tables. One has many SKUs referenced and the other is the master: New to PowerBI. Trying to Multiply Qty Per Case 2018 by ACT 20...
- 8 years ago
Thanks,
This is what I came up with:
QtyUsedJan = 'SKU Material List'[Qty per Case 2018] * RELATED('SKU Master Production'[ACT 2018 JAN])
It worked
ricardocamargos
8 years agoContinued Contributor
Hi John-Koz,
If your model has relationship, you can use the RELATED function:
https://msdn.microsoft.com/en-us/library/ee634202.aspx
Also you might wanna calculate something before aggregation, u can do it using the SUMX, COUNTX... functions...
Ricardo
John-Koz
8 years agoFrequent Visitor
Thanks,
This is what I came up with:
QtyUsedJan = 'SKU Material List'[Qty per Case 2018] * RELATED('SKU Master Production'[ACT 2018 JAN])
It worked