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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
azaterol
Helper V
Helper V

Wrong Totals in Matrix

Hey all,

I have a problem with the total which came out from the Matrix.  I used the countrow function, which works fine, but it calculate it totaly wrong! In A the Sum is 15 not 14. 

The total column is not a Measure, its just the result what Power BI show me, which I can activate in the visualisation panel.

 

So is there a measure to calculate the results 100% right? Or have I a mistake in my measure, which I done before?

ascascas.png

 

Thank you for help.

 

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @azaterol 

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

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

v-xiaotang
Community Support
Community Support

Hi @azaterol 

This requires a sample file to troubleshoot the problem. Could you please provide it? Thanks.

 

Best Regards,

Community Support Team _Tang

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

lbendlin
Super User
Super User

There is a difference between counting rows and counting distinct rows.  I suspect you do the latter.  Check your code.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.