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
Solfieri
Frequent Visitor

Wrong value return on matrix

Hello,

I've been having a problem on a matrix visualization trying to apply the right Retained Value on Total_BalanceSheet value.

Solfieri_0-1710177225477.png

As you can see in the picture the right value should be de -7 millions on the left, but all I can get is the 69 Millions on the right because when I insert the Retained Earnings on the TotalBalanceSheet measure it breaks the matrix as bellow:

1- Before Retained Earnings:

Solfieri_1-1710177444216.png

 

2 - After Retained Earnings:

Solfieri_2-1710177497881.png

 

An alternative to solve this problem would be making the left column exibit the row subtotals of the groups with more than one row.
Thank you in advance.

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@Solfieri First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hello, @Greg_Deckler

I tried your solution here and it seems to be a little more complex. This Retained Earnings it's that measure

Retained Earnings = CALCULATE([Equity] + [NetIncome] - [Assets_Liabilities])
But as soon as I apply it on totalbalancesheet It happens
Solfieri_0-1710190337191.png

Have you ever seen something like that?

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors