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.

Not applicable

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

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors