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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors