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



Source link

Be the first to comment

Leave a Reply

Your email address will not be published.


*