Forum Discussion
naoki
7 years agoHelper I
Show as blank based on selection
Hi, I would like to show numbers as blanks when a selection from a slicer is selected. When I select buy, I don't need to see target. Similarly for certain country selection, I don't need to se...
- 7 years ago
I managed to find the solution to hide based on 2 slicers, it is now showing blanks if I select either one or both choices.
Target = IF(ISFILTERED ('Table'[Col]), IF(SELECTEDVALUE('Table'[Col])="Sell", IF(ISFILTERED ('Table'[Col]), IF(SELECTEDVALUE('Table'[Col])="{CountryA, Country B}", CALCULATE([Target],USERELATIONSHIP('Table1'[Col],'Table2'[Col])), BLANK()))
v-yuta-msft
7 years agoCommunity Support
naoki ,
Have you dragged some to target field? If you have, the target value will be shown in the Gauge chart and can't be controlled by slicer.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
naoki
7 years agoHelper I
I managed to find the solution to hide based on 2 slicers, it is now showing blanks if I select either one or both choices.
Target = IF(ISFILTERED ('Table'[Col]),
IF(SELECTEDVALUE('Table'[Col])="Sell",
IF(ISFILTERED ('Table'[Col]),
IF(SELECTEDVALUE('Table'[Col])="{CountryA, Country B}",
CALCULATE([Target],USERELATIONSHIP('Table1'[Col],'Table2'[Col])),
BLANK()))