Forum Discussion
Dave0145
9 years agoFrequent Visitor
Visualisations blank until something selected in a slicer
The default functionality for a slicer in Power BI seems to be that if nothing is selected in a slicer then all records are shown in visualisations on the same report where the interactions are set a...
- 9 years ago
Hi Dave0145,
For your requirement, you can create a measure like this:
SlicerCheck = =if(calculate(distinctcount([SlicerColumn]),allsel
ected([SlicerColumn]))=1,"Y","N") Then place this measure in a table visual, set filter condition as is Y. If you want to select multiple values in a slicer, set is N.
For more information, see:
visual filter problem--unpredictable behavior
Best Regards,
Qiuyun Yu
Anonymous
5 years agoNot applicable
Try and use an integer instead of a string ie. substitue "Y" with 1 and "N" with 0. Worked for me 🙂