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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Blooper
Regular Visitor

Wrong total from generated row subtotals

I've been having this issue where I have a measure to get a projection total for some items and the values themselves are fine. The main issue is the auto-generated row subtotal that Power BI provides is different than the total that should be occuring. For reference, the projection is based on weekly totals. So every week we have a different projection and we ignore the rest of the totals. This has already been done by the measure. I exported the data from the table out to excel and manually found the sum of the weeks projection which was the right amount. Is this something that can be changed for the settings in the row subtotals or is this an issue with the measure that Power BI doesn't understand. I will provide screenshots for examples.

Column in Question:
 This is what the column for the projection looks. All row values are accurate except for the row subtotal at the bottom.This is what the column for the projection looks. All row values are accurate except for the row subtotal at the bottom.

The correct Total
This is the manually summed total based on the column values in the previous screenshot.This is the manually summed total based on the column values in the previous screenshot.

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

That can be corrected with the SUMX() measure.  To receive further help, share the download link of the PBI file and show the problem there clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

That can be corrected with the SUMX() measure.  To receive further help, share the download link of the PBI file and show the problem there clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

This fixed the issue, thank you for the assistance!

lbendlin
Super User
Super User

Measures are about context. In a matrix visual a measure is computed four times, for the cells, the column totals, the row totals and the grand total.  You can choose to have four different formulas, or you can (and should) "think like the Grand Total"  and make your measure work for all other contexts as well.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.