Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a measure I created to get me a single value for each date. The code below allows me to take a value once since there are usually 3 records with the same MtdActual(this is because there are 3 shifts).
My issue comes in the matrix visual that I am using this measure in. It works great for the subtotal of each product but the grand total is not calculated correctly (Shown in the image at the bottom)
What I need to do now is get a sum of the measure but IM not sure how to do it
Heres My Measure that I would Like to Sum:
Hi @Anonymous ,
You can refer the content in the following links to deal with the incorrect total values problem.
Obtaining accurate totals in DAX
DAX – Subtotals and Grand Totals That Add Up “Correctly”
Dax for Power BI: Fixing Incorrect Measure Totals
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Best Regards
Rena
@Anonymous
Try:
Totals for MaxMTDMaterialUnits =
SUMX( table [Material], [MaxMTDMaterialUnits])
Proud to be a Super User!
Paul on Linkedin.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |