Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

truptis

How to hide visual based upon slicer selection

To do this, firstly, we need to create a new measure.

Hide Visuals = IF(SELECTEDVALUE('Table'[Country]) in {"Japan","Kenya"},1,0)

Then we need to select visual 2 and put this Hide Visual measure on visual filter and give condition that if it is zero(attached is the screenshot for reference):

truptis_2-1687948269398.png

Now, after selecting Japan or Kenya, you can see the below output:

truptis_3-1687948514905.png

if you want to see all the countries on visual 1 then you can edit interactions from the slicer:

truptis_4-1687948644290.png

 

Please hit the thumbs up if you found this post useful. Thanks.

Regards,

Truptis

Comments

Amazing , will try it for sure.

Great Post!...Thank you...

When I tried doing this for a shape map visual it greyed out the data but it kept the map. Any idea on this?