Forum Discussion
FGaspar
6 years agoHelper I
How to hide columns with empty values in a matrix visual.
Hi, I'm trying to hide empty values in a matrix visual. In the example below I have two measures for each month/year. If both measures are empty in the same month (for all rows), that month shou...
- 6 years ago
FGaspar - Yes, you can do this like:
Measure = VAR __Calc = <some calculation> RETURN IF(__Calc=0,BLANK(),__Calc)
FGaspar
6 years agoHelper I
Hi Greg_Deckler ,
Thanks for your reply.
Can I change the measure (I have a live connection to SSAS) to retrieve "blank" instead of "0"?
If so, can I hide the blank values?
Greg_Deckler
6 years agoCommunity Champion
FGaspar - Yes, you can do this like:
Measure =
VAR __Calc = <some calculation>
RETURN
IF(__Calc=0,BLANK(),__Calc)- c-es3 years agoRegular Visitor
Neither of the above proposed solutions above work if the values are null
- Greg_Deckler3 years agoCommunity Champion
c-es That's why it is often a good idea to + 0 to any calculation if you need to check something like that.