cancel
Showing results 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

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:

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 2: Subtotal labels on same level as the subtotal itself

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

1 ACCEPTED SOLUTION
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:

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.

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?

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:

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.

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.