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]))
@Alejandro-Glez , Move Related inside the sumx and try
example
Sumx(Table, Table[col]* related(dim[Value]))
It worked!
Thanks.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
231 | |
51 | |
48 | |
46 | |
45 |
User | Count |
---|---|
282 | |
212 | |
113 | |
82 | |
72 |