Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Power BI show and hide visuals based on selection

Hello everyone, 

I'm new to Power BI and I would like some help with my report. 

I have a :
-Slicer (let's call it products)

-a Table (Themes) that changes when Product Slicer selected

-a Table (Comments) that appears when the Theme Table is selected (a Message "Click on Themes to see the comments" covers it). 

I have so far managed to do this. I've created measures:

Check Filtered = ISFILTERED(Product Slicer)
Hide visual = IF([Check Filtered],1,0)
Message = IF([Check Filtered],"","Click on Themes to see the comments")
and another measure 
Make transparent = IF([Check Filtered],"#FFFFFF00","White")
What I'm struggling to do is that when I select the final table (Comments Table), after Product Slicer and Theme is selected and click on a specific comment to see more details, the Comments table dissapears. 

Can you please help me with that? I can share more info or a demo if needed. 

Thank you so much! 
Super User
Super User


Can you sahre a demo file the expected results?

Did I answer your question? Mark my post as a solution! and hit thumbs up

Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

Power BI Dev Camp Session 32

Ted's Dev Camp - March 30, 2023

In this session, we'll examine important design issues and decisions that arise when developing with Power BI embedding.

Top Solution Authors