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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
KimStenager
New Member

Remove totals in matrix table

 

How do I remove totals from the rows. When I make a matrix the columns delivers a total for every column, distubing the picture.

Matrix problem.jpg

1 ACCEPTED SOLUTION
Tsanka
Kudo Collector
Kudo Collector

According to me marix properties->General->Row Totals on/off should work

View solution in original post

55 REPLIES 55
Abhishek_Singh
New Member

Select the table - Under Visualizations - go to your column where you don't need the sum of all values. 

Click on the down arrow next to it. - (Current setting will show SUM as selected) Change it to "Don't Summarize"

abrownfl
Frequent Visitor

Format the visual.  Under Subtotals turn off Row subtotals and Column subtotals

Cornwell007
New Member

Thanks for the input. 

This was really helpful tip.

ydaoud
Frequent Visitor

In power bi 2018

Matrix ==> Click on Format ==> subtotals ==> Row subtotals ON/OFF and/OR Column subtotals ON/OFF

 

Table ==> Format ==> Totals ==> ON/OFF

Anonymous
Not applicable

You are correct that you can remove totals for tables.  However you cannot remove a grand total for a matrix at this time.  

I'm really quite surprised that we're not able to turn off grand totals on the matrix visual considering people have been requsting this enhancement for many years.  As a work-around I set the font and background color to white - not perfect, but it's OK for the time being.

 

@brycedwhite

Another workaround:
If your columns in your matrix consists of measures, then you can do

value = if(hasonefilter([highest level row column]);[valuecolumn]))

this should make the grand total row blank. and no need to change the colors.

Anonymous
Not applicable

Hi, 

This code is not working for me, could you please make it more clear?

swmcbri
New Member

Updated action list:

Select Matrix > Format tab > Subtotals > Row Subtotals > toggle to off

 

More words (same actions)

Select the Matrix >

In the visulaizations menu select "Format" tab (the painbrush) > 

Select the submenu "Subtotals" >

In the list item "Row Subtotals" Toggle the slider to off.

Anonymous
Not applicable

@swmcbri Thanks for the suggestion but we previously tried this.  The action you are suggesting removes all subtotals, including that of Revenue, Total COS and Total SG&A so it is not a suitable solution.  The solution we are looking for would be more akin to what you see in an Excel pivot where you can remove the grand totals for either rows or columns.  While Power BI does have formating for grand totals, the abilty to exclude the grand total is not an option.  Furthermore, if you were to attempt to change the font white (or whyatever your background is) the row label of "total" remains intact.  Finally, text cannot be reduced below a point size of 8 so setting it to zero is not a viable option either.  Perhaps someday Microsoft will allow the ability to exclude the grand total independent of the sub total.  

Anonymous
Not applicable

Rather than start a new thread I thought I would take my chances here on this thread.  I am looking to remove the unnecessary/unneeded total row for ths matrix.  For the finance people the numbers are coming across as accounting ready with debits left and credits right.  If I was to pull in the info mormally then the total actual revenue would have come across as -805.  Instead I use a hasonevalue measure to flip the sales vs. costs.  In doing that there is no total calculation.  I added a second table visual at the bottom to get an operating income total.  It works, but if someone has a better suggestion then I would certainly listen.  If not then just a suggestion to remove that total at the bottom of the matrix that sticks out like a sore thumb would be great.  FYI, I am using pink/blue conditional formating from the color blind friendly color scheme vs. a more traditional red/green conditional formating.  

 

Capture.JPG

ash438
Regular Visitor

how can I hide subtotals in Matrix but keeping the grand total?

RitaPT
Frequent Visitor

@KarlinOz I have the same problem that you. I only want to show some column subtotals. Did you find a solution for that?

Thanks a lot.

@RitaPT see my 2nd post here http://community.powerbi.com/t5/Desktop/URLs-in-Matrix-are-clickable-links-when-as-Rows-but-not-as/t... to see my work-around to remove specific columns from showing a total.

good input; to summarize your post in other thread:

 

a work-around for suppressing Totals of those columns which you don't want: In the formatting area > Column formatting 

Select your text column, change the Font color to match your background colour, turn Color values Off, Color subtotals and Color totals On. Repeat for all your text columns.

 

 

www.CahabaData.com

@RitaPT sadly there seems to be no solution for this. I don't know if anyone has put in a feature request for it.

please see my post on page 3 (4/20/17); it explains the design.  To reduce your totals - reduce your rows by modeling/merging row data.  for now that is the only method to manage this.  perhaps in the future there will be an explicit on/off for individual row totals but that is not there now.

www.CahabaData.com

My apologies @CahabaData, I misread your post. My problem is different to yours and to this thread - I wan't to limit totals on individual columns of a matrix not rows. I should start a new thread on that.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors