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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rajc
New Member

Remove row subtotals when matrix is collapsed.

Hi,

 

I am trying to build a matrix with row sub totals turned off.. but unfortuantely its working only when the selected group is drilled down.. if the group is collapsed its still showing avarage of the rows in the group. 

 

I tried turned off the Per row level for each Row level but still its only turning off when the items are expanded. when its collapsed its kepe showing the total (which I really don't need).. 

 

When Expanded. 

rajc_0-1687123469090.png

When Collapsed.

rajc_1-1687123496768.png

Row Subtotal settings. 

 

rajc_2-1687123523215.png

 

rajc_3-1687123532769.png

Also, tried turning off the Row subtotals al together and still its showing the average/total when its collapsed.. 

 

Please let me know if there is any workaround or known bug around this?

3 REPLIES 3
rajc
New Member

@danextian Thanks for the response.

Sorry unfortunately tried your suggestion but its not clear to me as using below measure showing blank in the names column. 

 

 

 

Measure = If(HASONEVALUE(Sheet1[Name]), [Time1])

 

 

 

rajc_1-1687158678859.png

 

This is the same data. 

 

rajc_2-1687158797390.png

 

Hi @rajc ,

That is to be used in a measure. What you did is calculated column which name is measure.

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-measures 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
danextian
Super User
Super User

HI @rajc ,

 

That's just how the matrirx behaves. You need to specify in your measure which value or when a value is to be shown. Try this:

 

=
IF ( HASONEVALUE ( 'table'[column] ), [measure] )

 

Replace column with the column for the  names. The measure will return blank if there are more than one names in the current filter context.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.