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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
PowerUser14
New Member

Hide and Show visuals based on condition

Hi, 

Could you please assist me with hiding and showing visuals based on conditions in Power BI Desktop. I do not want to use the Bookmark functionality or any click event.

 

Thank you

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@PowerUser14 , Hide and show can be done best on the bookmark.

 

The other option, which may work. Make the background of visual, font, and font background transparent using conditional formatting measure using field value option.

 

black =

If(selectedvalue(table[value]) ="Hide", "#FFFFFF00", "000000")

 

white =

If(selectedvalue(table[value]) ="Hide", "#FFFFFF00", "FFFFFF")

 

use then in color fx with field value option, visual background, font etc.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@PowerUser14 , Hide and show can be done best on the bookmark.

 

The other option, which may work. Make the background of visual, font, and font background transparent using conditional formatting measure using field value option.

 

black =

If(selectedvalue(table[value]) ="Hide", "#FFFFFF00", "000000")

 

white =

If(selectedvalue(table[value]) ="Hide", "#FFFFFF00", "FFFFFF")

 

use then in color fx with field value option, visual background, font etc.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you @amitchandak for your solution.

 

Below is a screenshot of my visuals. I want to place them on top of each other and display them based on their condition. The way you suggested I tried implementing, but I was not able to do so. Could you please help me?

 

PowerUser14_0-1625658415008.png

 

Thank you

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.