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

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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