Forum Discussion
Stop % from summing in subtotal row
abloor bit confused, there is no var % and other column which you don't want to aggregate? You have to be specific what you want and what your sample pbix contains. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Sorry I just created generic sample data for the files uploaded and thought the column would be obvious - oops clearly not!
It's the TotalShare% column in my sample that is summing in the subtotal row, and I don't want it to. (In my real file the column that I'm having the issue with is a stand alone column like this one and doesn't link to or feed off any other columns, just like in my sample file.)
Thanks!
- parry2k6 years ago
Super User
abloor try this measure
TotalShare% = IF ( ISFILTERED( Table1[Colour] ), CALCULATE(SUMX('Table1','Table1'[Share %])) )- abloor6 years ago
Helper IV
- abloor6 years ago
Helper IV
Hi parry2k ,
I'm using your solution for a new matrix now, and I have to filter one of the fields so it's 'not blank'. This makes the row subtotals show up again, despite your measure having taken it out as expected before I filtered out the blanks.
Do you think I'd have to factor in this new filtered field into the measure to?
Thanks