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

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

Reply
damilolaA
Regular Visitor

Conditional Formatting in Bar Chart

Hello, 

I am trying to conditionally format a bar using field values. For testing, I'm using simple measures: PH = 5 and color = "BLACK"

When I go to bars > Color > fx > field value and select the color measure, the color of the bar doesn't change. Using format style 'Rules' doesn't format the bar either. However, I am able to conditionally format the background of the bar chart using both the field value measure and Rules. This is occuring in Power BI Desktop and Service. I have tried on both August 2024 and September 2024 Power BI Desktop versions and I'm getting the same result. I believe this wasn't an issue in the past. Perhaps I'm missing something. I'd appreciate any assistance. Thank you. 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

cannot reproduce?

 

lbendlin_0-1727567660715.png

 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

cannot reproduce?

 

lbendlin_0-1727567660715.png

 

Thanks for responding! Looks like I needed to have a y-axis. It's all good now. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.