cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors