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
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
Employee
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
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.

Top Solution Authors