Good afternoon
I am trying to calculate the total revenue using DAX, so I try to multplicate with the SUMX the amount of sales of the Fact Ventass by the unit price of the DimProduct, with RELATED. However, it does not work for me even though the model is related to the ProductKey.
Thank you and greetings.
https://gyazo.com/a9584557a50395ef4e8d34f16260a175
https://gyazo.com/659db086264438b055bacc109cc4a8c8
Solved! Go to Solution.
@Alejandro-Glez , Move Related inside the sumx and try
example
Sumx(Table, Table[col]* related(dim[Value]))
Proud to be a Super User!
@Alejandro-Glez , Move Related inside the sumx and try
example
Sumx(Table, Table[col]* related(dim[Value]))
Proud to be a Super User!
It worked!
Thanks.
Check out new user group experience and if you are a leader please create your group
100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.
User | Count |
---|---|
417 | |
166 | |
105 | |
84 | |
58 |
User | Count |
---|---|
431 | |
182 | |
135 | |
108 | |
86 |