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! Request now

Reply
B_VanderP
Frequent Visitor

Unable to set data colors to transparent or use function/rule/field in bar chart visual

Hello, 

I recently updated to Power BI September 2022 and I am unable to set bar colors or data colors to transparent or use any sort of function/field value/rule to display colors. When creating bar charts and pie charts I can assign specific colors using a dropdown but using #FFFFFF for transparent does not work. Does anyone know how to get around this issue? 

 

Thank you! 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @B_VanderP 

 

You can try the following methods.

Original:

vzhangti_0-1673599697326.png

Color = IF(SELECTEDVALUE('Table'[Date])=DATE(2022,1,3),"#FFFFFF00")

vzhangti_1-1673599801446.png

Result:

vzhangti_2-1673599818813.png

You can use measure to set conditional formatting.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @B_VanderP 

 

You can try the following methods.

Original:

vzhangti_0-1673599697326.png

Color = IF(SELECTEDVALUE('Table'[Date])=DATE(2022,1,3),"#FFFFFF00")

vzhangti_1-1673599801446.png

Result:

vzhangti_2-1673599818813.png

You can use measure to set conditional formatting.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@B_VanderP , the transparent color is #FFFFFF00

 

and for that is a measure and use that in conditional formatting using the field value option

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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