Forum Discussion
coolshib
Helper III
7 years agoDax Measure with related Table
Hello Everyone, I am looking for a dax measure function based on the following logic. I have three tables, Table No.1 Category Online Price Offline Price Laptop ...
- 7 years ago
Hi coolshib,
Please establish a relationship between 3 tables and try the following measure for
Total Sales =SUMX(Table3,IF(Table3[Mode]="Online",RELATED(Table1[Online Price]),RELATED(Table1[Offline Price]))*Table3[Qty])
Here is the snapshot of the output
You can download the Power Pivot file from here
Hope it helps
- 7 years ago
Ashish_Mathur
Super User
7 years agocoolshib
Helper III
7 years agoThank you so much.. Great Help.
Best Regards
Shib