Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Matrix Row Grand Total no working with measure

I added an If Then measure. It is not showing the correct Total. I'm only getting the "if"/first part sum not all of the values. The total should be 197,094,457. The 5 mil is only some of the records.

 

mnovikova_1-1665430396145.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Anonymous,

It looks like a common multiple aggregate calculations issue on measure expression.
For this scenario, you can try to add a variable with summarize function to aggregate records, then you can use the iterator function to apply the second-level aggregation to fix this issue.

Reference link:

Measure Totals, The Final Word 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @Anonymous,

It looks like a common multiple aggregate calculations issue on measure expression.
For this scenario, you can try to add a variable with summarize function to aggregate records, then you can use the iterator function to apply the second-level aggregation to fix this issue.

Reference link:

Measure Totals, The Final Word 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi Xiaoxin. I followed your example and I got it to work. This is a little crazy.

Can you point me if the direction where I can read up more on proper terminoly for stuff like __value or __table. Why is it who underscores and stuff like that. Coming from SQL syntax is a little different and not exactly obvious.

Best. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.