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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Eloi_Silva
New Member

Incorrect sum in the matrix line

Hi guys, my problem is as follows, I'm creating a income statement table, but my matrix, is not adding the values of the row, only returning the largest value, how to fix this?

 

1.png

2.png

2 REPLIES 2
Eloi_Silva
New Member

up

Hi @Eloi_Silva 

 

According to your formula, the result is composed of two variables vAliquota and vReceitaAdm. You may return these variables separately to check whether one of them or both don't work well in the Total. The second variable vReceitaAdm calculates a measure [Valor Receitas Adm] in it. What's the formula of this measure? 

 

vAliquota seems to be the main reason since it calculates Max, so in the Total column it also calculates Max in its section. 

 

Here are some solutions to fixing the incorrect total problem in Power BI. You may refer to them and find the appropriate one to your scenario.  

Power BI Matrix | How To Fix Matrix Totals In Power BI - Unlock the Power of Data

Power BI: Totals Incorrect and how to Fix it - Finance BI

Fixing Incorrect Totals Using DAX Measures In Power BI | Enterprise DNA

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.