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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Mario_Moubayed_
New Member

Clustered Column Chart & Conditional Formatting

Hello Community,

Clould anyone help me in solving my issue with the Clustered Column Chart & Conditional Formatting?
I cannot add a Conditional Formatting to a Clustered Column Chart, it's working just on Table and other visuals.
Ex: If I am comparing a Standard score with the current score by using 2 colors and I want to use a third color to highlight the scores that are below the standard, I am not able to add a condition for that and to change the column color.
Thank you in advance,
Mario

4 REPLIES 4
Anonymous
Not applicable

Hi @Mario_Moubayed_ ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1673933236823.png

2. create a measure with below dax formula

Measure =
VAR baseline = 175
VAR cur_product =
    SELECTEDVALUE ( 'Table'[Product] )
VAR cur_sale =
    CALCULATE ( MAX ( 'Table'[Sale] ), 'Table'[Product] = cur_product )
VAR _color =
    IF ( cur_sale > baseline, "green", "red" )
RETURN
    _color

3. add a cluster column chart with fields, set the column color like below

vbinbinyumsft_1-1673933413137.png

vbinbinyumsft_2-1673933437272.png

vbinbinyumsft_3-1673933462586.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @Anonymous , 
Thank you for your reply, but unfortunately it's not working with the Clustered Column Chart, it just works with the stacked Column Chart

Look into using a Deneb visual for that. Gives you more flexibility with the mark colors.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.