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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Conditional Formatting of Clustered Column Chart

Hi, I want to create a chart like this. (picture below is a chart from SAS Viya)

zhrhr_0-1610527905416.png

so i'm using a clustered column chart in power bi as below.

zhrhr_1-1610527991327.png

I only use 'Values' section.

Now I want to change the chart colour. Why doesn't this have conditional formatting?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @Anonymous 
You can simply put the column and manage the conditional formatting by setting up the data color.
Apply the rules or measures to do the conditional formatting.

TarunSharma_0-1610536850311.png

 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hello @Anonymous 
I think it's not possible until adding the axis.

Anonymous
Not applicable

@Anonymous 

@amitchandak I was thinking to do an if statement. this are the example 

 

Column = IF('Table'[value]<=10,"green", 
IF('Table'[value]>=11 && 'Table'[value]<=30,"yellow",
"red"))

 

but how can I add my preferred colour code?

Anonymous
Not applicable

Hello @Anonymous 
You can simply put the column and manage the conditional formatting by setting up the data color.
Apply the rules or measures to do the conditional formatting.

TarunSharma_0-1610536850311.png

 

amitchandak
Super User
Super User

@Anonymous , Are you using line too?

If you have two measures line and bar. It will not show

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
Anonymous
Not applicable

@amitchandak That one is a constant line. because I want to show the target line. I tried to remove the constant line, but it is still the same

@Anonymous , if no axis, no option for conditional formatting, I checked with a measure and average line (Using analytics). Looking at bar one doubt that.

You add one constant column and add that axis and check

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
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.