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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Power BI remove row breakdown for some group values

Hi,

I have blelow data, the value of Total = Inventory + Trade + Others.

2020-08-11_9-42-53.png

What I want to see in the matrix is  to have only one line for Total, I don't want the breakdown of the Accounts for Total like below:

2020-08-11_9-43-51.png

Is this possible?

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create a calculated column like

cate = SWITCH(TRUE(),[Group] in {"Inventory", "Trade", "Others"},"total")

Add matrix like:

Capture7.JPGCapture8.JPG

Best Regards
Maggie
Community Support Team _ Maggie 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

7 REPLIES 7
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create a calculated column like

cate = SWITCH(TRUE(),[Group] in {"Inventory", "Trade", "Others"},"total")

Add matrix like:

Capture7.JPGCapture8.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

You can use a measure for the Account value.  Blank it out when the Group is "Total", fill it with the Account value if not.

 

Then use summation for the Amount.

Anonymous
Not applicable

@lbendlin , This might work, but I will loose the ability to drill down and up on the Account level.

In your example, the desired matrix doesn't show account level for the Total row, so how will you drill down/up?  I think the best way would be to Filter Total from the matrix (visual level filter) and add a card right below or above the matrix that shows a measure for just Total.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

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


Anonymous
Not applicable

@mahoneypat , there will be no value drill up and down for Total, but there will be for other Groups value.

 

I would like to have all the Groups in the matrix.

 

Thanks for the suggestion.

I don't think you mentioned that requirement.  Have you tried using a matrix visual where you put Group and Account in the rows, Amount in the value, and nothing in the columns?  Then expand all groups except the Total group.

Anonymous
Not applicable

I did not mention that  because I thought that is obvious, if you have any column in the row you would want to drill up and down.

Thanks for your matrix solution, I am aware of that solution, but I thought I would ask if there is another solution.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors