The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have multip;e slicers on a page with multiple visuals (tables, charts, etc). I want the visuals to show blank when nothing is selected. How do I do this successfully?
Solved! Go to Solution.
Hi @Anonymous ,
You could use the following formula to create a new measure :
Measure =
CALCULATE (
IF ( ISFILTERED ( 'Table'[Country] ) || ISFILTERED ( 'Table'[City] ), 1, 0 ),
ALLSELECTED ( 'Table' )
)
And apply it to filter pane (set as "is 1") as shown below:
Please check the pbix file here.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You could use the following formula to create a new measure :
Measure =
CALCULATE (
IF ( ISFILTERED ( 'Table'[Country] ) || ISFILTERED ( 'Table'[City] ), 1, 0 ),
ALLSELECTED ( 'Table' )
)
And apply it to filter pane (set as "is 1") as shown below:
Please check the pbix file here.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
compare FILTERS() to VALUES()
Create a measure in lieu of your value column and set the measure to the value only when the number of slicer filters is different from the number of slicer values.
Beware! "Nothing is selected" and "Everything is selected" are treated the same by DAX.
What dax function would you use in the measure to make this successful?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
85 | |
75 | |
55 | |
46 |
User | Count |
---|---|
134 | |
124 | |
78 | |
64 | |
63 |