Forum Discussion
Matrix - Show Calculation only as a Total
PowerUser123 Try:
Measure =
VAR __Count = COUNTROWS('Table')
VAR __CountAll = COUNTROWS(ALLSELECTED('Table'))
VAR __Return = IF(__Count = __CountAll, <total value goes here>, BLANK())
RETURN
__Return
Appreciate the reply. So I believe that measure makes the measure blank across each month and appear in the total section correct?
I have a solution such as that implemented, but to me it's not optimal and was wondering if there are any other solutions.
The reason why it doesn't work for me is that I need to display the measure name in the total section (Vs Prior Month) and can't make it blank to have the column be automatically small across the months.
This is what my table would look like:
So the measure above would work because it displays blank per month but appears in the total. However, I need to manually drag and make the Vs Prior Month column disappear for each month. I was wondering if there are any solutions that prevents me from having to do that step. As the current solution isn't really deployable as each new month appears, someone has to manually go in and drag the column so it doesn't appear.