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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Harry_Tran
Helper III
Helper III

How to remove blank from sub matrix but maintain from total

Hello everyone,

I have a matrix as showed below

Harry_Tran_0-1681160792408.png

I have Store for Rows than drill down to Saler.

The measure "Bike" is count of Bike and and "Bike + Car" is total Bike and Car for store, and always keep the same when drill down to the next level.

There are some saler who have 0 bike. What I try to do is remove there saler from the matrix but keep the Store if there is no bike.

I would like to remove all yellow highlighted rows below.

Harry_Tran_1-1681161004353.png

And have a result like this

Harry_Tran_2-1681161175296.png

 

I try to add the filter to the filter pane where Bike is not blank, but it would remove B from the matrix and the total would be 43 instead of 60.

 

Is there anyway that I can remove the saler where there is no Bike but keep the store doesn't matter if they have bike or not.

 

Thank you so much.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Harry_Tran ,

In the Matrix visual, go to Format->Subtotals, turn on per row level, then turn on total for "Active Category" , and turn off total for "Active Sub Category". There is an example for your reference.

 

 You can make some setting in Format pane to decide which field display the subtotal. 

Please refer the solution in the following thread to achieve it.

How to remove sub column total from matrix

1. Select the related visual

2. Navigate to Format pane and find Subtotals tab

3. Toggle the option "Per column level" on and turn off these analysis fields 

vrongtiepmsft_0-1681266348849.png

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

1 REPLY 1
Anonymous
Not applicable

Hi @Harry_Tran ,

In the Matrix visual, go to Format->Subtotals, turn on per row level, then turn on total for "Active Category" , and turn off total for "Active Sub Category". There is an example for your reference.

 

 You can make some setting in Format pane to decide which field display the subtotal. 

Please refer the solution in the following thread to achieve it.

How to remove sub column total from matrix

1. Select the related visual

2. Navigate to Format pane and find Subtotals tab

3. Toggle the option "Per column level" on and turn off these analysis fields 

vrongtiepmsft_0-1681266348849.png

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

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 MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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