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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Conditional Formatting for Line and Clustered Column Chart

Hello Power BI Users,

 

I am seeking help regarding Conditional Formatting for the Line and Clustered Column Chart attahced below. I need the columns to turn "Red" if it exceeds the budget (i.e. goes beyond the target line) and turn "Green" if it is at or under the weekly bedget (i.e. equal to or below target line).

 

Conditional formatting option is available in matrix and table. Is it also possible in charts and other visualizations? Kindly assist. Any inputs are much appreciated!

 

Thanks & Regards,

Anuj

Line & Column Chart - Turn "Red" if above target line - Conditional formattingLine & Column Chart - Turn "Red" if above target line - Conditional formatting

 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

As the reply said above only when you have one column value then you can set conditional formatting.

You can create measure like

 

Measure = IF(AVERAGE('Table'[actual])>AVERAGE('Table'[budget]),1,0)

 

 Then create rule as below.

1.PNG

Result

2.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

As the reply said above only when you have one column value then you can set conditional formatting.

You can create measure like

 

Measure = IF(AVERAGE('Table'[actual])>AVERAGE('Table'[budget]),1,0)

 

 Then create rule as below.

1.PNG

Result

2.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can click on the three dots next to Default Color as below, this will expand conditional formatting, however it will only show if you have only one value in the visual.

 

image.png

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Anonymous
Not applicable

Thank you! Enabling conditional formatting for any visual with that option is very useful.

amitchandak
Super User
Super User

@Anonymous 

Refer: https://chandoo.org/wp/conditionally-format-visuals-in-power-bi/

https://docs.microsoft.com/en-us/power-bi/visuals/service-tips-and-tricks-for-color-formatting

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.