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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Matrix Visual: Problem with subtotals

Hello community,

 

I tried to build something similar to a P&L statement with the Matrix visual in Power Bi Desktop but I'm quite not satisfied with the results. My visual consists of a hierarchy in the rows (continent -> countries) and the values (sales).
How it looks at the moment:
Problem.JPG

This is only a small part of the visual, but it illustrates my problem well. As you can see, the label of the subtotals is on top whilst te subtotal itself is at the bottom (intended). I would like the labels of the subtotals to be on the same level as the subtotals, or the subtotals to be named individually (e.g. Subtotal Europe, Subtotal America etc.).

I imagine it like this:
Solution 1: Subtotal with individual names

Solution 1.JPG

 

 

 

 

 

 

Solution 2: Subtotal labels on same level as the subtotal itself

Solution 2.JPG

 

 

 

 

 

 

 

I hope I have explained my problem clearly. Do any of you have an idea how I could solve my problem?

 

Thank you for your help!

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

As far as I know, currently power bi could not support custom total label in Matrix, the total label is applied in the whole matrix visual instead of each hierarchy level.

You can vote for these simliar ideas or submit a new idea here to help us improve power bi and make this feature coming sooner:

  1. Edit subtotals labels in matrix visual 
  2. Conditional formatting for matrix subtotal labels 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,
Yingjie Li

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

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi all, Im actually facing an issue where I have a list of hierarchy.

 

Country>Customer>Department>Product

 

My measure is a switch function where if the slicer selected is sales, it will show sales amount, if cost, it will show cost amount.

 

However, i need to see top 20/bottom by customer. the hierarchy should also only reflect on the top 20/bottom 20 customer.

 

for example from the top 20 customer, we will know these top 20 customer is coming from which country, what department they have what product they have..

 

is there a dax for this that i can refer to?

v-yingjl
Community Support
Community Support

Hi @Anonymous ,

As far as I know, currently power bi could not support custom total label in Matrix, the total label is applied in the whole matrix visual instead of each hierarchy level.

You can vote for these simliar ideas or submit a new idea here to help us improve power bi and make this feature coming sooner:

  1. Edit subtotals labels in matrix visual 
  2. Conditional formatting for matrix subtotal labels 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,
Yingjie Li

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

 

amitchandak
Super User
Super User

@Anonymous , You can move subtotal position to bottom and rename it. But I doubt you can get what you want.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak: Thank you for your reply. I already moved the subtotals to the bottom, but i can't rename the labels individually. So that does not solve my problem.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors