cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Polls
What is your favorite Power BI feature release for November 2023?