Forum Discussion
DavidB023
8 years agoHelper III
Empty visual
Hi everybody ! I would like to make empty my visual when I don't choose a date in my slicer. In fact I used : IF ( DISTINCTCOUNT ( XXXX ) = 1; SUM ( XXX); "" ) And it wo...
JoHo_BI
8 years agoResponsive Resident
Hi DavidB023,
Use the DAX function HASONEVALUE() here, an example would be:
IF(HASONEVALUE(TextTable[Text]), VALUES(TextTable[Text]), "Or i'll do this..")
Hope this helps!