Forum Discussion
How to Display (Blank)
Perhaps measures structured like the following:
Measure =
IF(COUNTROWS('Table') = COUNTROWS(ALL('Table')),BLANK(),<some calculation goes here>)
Any idea what kind of measure goes at the end ?
- Greg_Deckler6 years agoCommunity Champion
Well, if you are currently using a measure for those visualizations, let's call it "My Measure", then you would do this:
Measure =
IF(COUNTROWS('Table') = COUNTROWS(ALL('Table')),BLANK(),[My Measure])
If you are displaying a column of values and using a default SUM aggregation, you would do this:
Measure =
IF(COUNTROWS('Table') = COUNTROWS(ALL('Table')),BLANK(),SUM('Table'[MyColumn]))
- Greg_Deckler6 years agoCommunity Champion
Well, if you're currently using a measure for those visualizations, let's call it "My Measure," then you'd do this:
Measure?
IF(COUNTROWS('Table') ? COUNTROWS(ALL('Table')),BLANK(),[My Measure])
If you display a column of values and use a default SUM aggregation, you would:
Measure?
IF(COUNTROWS('Table') á COUNTROWS(ALL('Table')),BLANK(),SUM('Table'[MyColumn]))
- Anonymous6 years agoNot applicable
I have this written but its not working. Am doing something wrong ?
Thanks,
Measure = IF(COUNTROWS('Products Data') ,COUNTROWS(ALL('Products Data')),BLANK(),SUM('Products Data'[YTD # of New Core Accts]))- HashamNiaz6 years agoSolution Sage
Hi !
The measure will not behave as expected unless you have selected [All] option on your slicer / filters.
Regards,