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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors