Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I'm facing a challenge as I'm trying to learn DAX. I have this measure that I created below:
Hi @Anonymous ,
In other words, when you filter out values >50 in the slicer, the total value of the table is wrong?
Please provide a sample .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
To get the right total, you need to iterate over the column(s) used in your visual with either VALUES or SUMMARIZE.
CorrectSumMeasure = SUMX(VALUES(Table[Column]), [Measure 2])
CorrectSumMeasure = SUMX(SUMMARIZE(Table, Table[Column1], Table[Column2]), [Measure 2])
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
I ended up puzzling through and ended up with this DAX formula:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |