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

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.

Reply
Anonymous
Not applicable

Row totals are duplicating, Grand Total is Correct

I have an issue where the row totals are overstated but the grand total is correct. The source is a tabular model and when I connect Excel to the model in a pivot table, everything is correct but for some reason Power BI is duplicating the row totals. The underlying measure is a SUMX. Any ideas on what might be going on?

JamesBI_0-1598565803176.pngJamesBI_1-1598565887382.png

 

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , without looking at data difficult to say.

 

but if you are using a formula like

 

sumx(Table, sum(Table[value]))

 

use like

sumx(Table, calculate(sum(Table[value])))

Anonymous
Not applicable

Hello all. Sorry for the late response. I deleted all my relationships and started over. It appears that one of my relationships was causing the issues. Thanks so much for your help!

V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

This is related to how you use the filter conditions in the sumx function.

You can search the forums for how to create measure that meet your requirements.

If the problem persists, please provide more details to let us know about your scenario.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

pranit828
Community Champion
Community Champion

Can you please provide more info with screenshots, input and required output in table format for the community so that you ask can be better understood and resolved quickly.





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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