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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
v-rongtiep-msft
Community Support
Community Support

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
v-rongtiep-msft
Community Support
Community Support

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.