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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
marcomarzano
Frequent Visitor

Matrix visual - measure not working on subtotals

I have a problem with the visualization of a measure in a matrix visual.

the measure i have calculates efficiency by doing this

 

efficiency= costs/revenues of the previus year * revenues of this year - costs of this year

 

it works good but i have the problem that you can see here

 

marcomarzano_0-1627313065167.png

 

I can assure yuo that the values (-2 and -233 or +276 and -285) are right.

Power BI calculates the measure even at the higher level (-306 and -94) but obviously it's not the sum of the single values.

How can I manage to have the measure shoe the value I want (-235 and -9) when showing at the higher level of the hierarchy?

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video for getting the right subtotals.

(2) Power BI - Tales from the front #01 - Getting the Right Total - YouTube

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Thank you!

I watched the video and i'm trying to work wit those suggestions. But it doesn't work form me, could it be because i put in the visual row fields coming from different tables?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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