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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Elston
New Member

Conditional Formatting in Clustered Column Chart

Hi All,

 

I am using Cluster Column Chart to compare Actual vs Target in Revenue and would like to apply conditional formatting to the "Actual" columns such that it will be green if Actual >= Target and red if Actual < Target.

X Axis - Country

Y Axis - Actual

Y Axis - Target

 

However, I am unable to find the "fx" button under Columns to apply the conditional formatting. I am currently using the April 2022 version. Is there another way to apply the conditional formatting? 

1 ACCEPTED SOLUTION

see attached. I cheated by separating the scenarios into different columns Then I cheated again by arranging the value fields in a certain order.

View solution in original post

6 REPLIES 6
Elston
New Member

Sample data:

CountryActualTarget

APAC

138130
China3330
Japan1920
India/SA1110
ANZ1310
Korea1820
SEA1920
TW2520

 

Clustered Column Chart:

Elston_1-1652844932272.png

Would like to have Actual that are more than the corresponding Target to be in green and red when lower than the corresponding Target, i.e. columns of APAC, China, TW & ANZ to remain green and the columns of Japan, SEA and Korea to be in red.

 

 

 

Like this?

 

lbendlin_0-1652899979318.png

 

Yes, this will work. May I know how did you achieve this as i am wondering whether it will be feasible for a huge data set (without doing much manual adjustment to the data set, or none at all if possible)?

see attached. I cheated by separating the scenarios into different columns Then I cheated again by arranging the value fields in a certain order.

Guess this works. Thank you! 👍

lbendlin
Super User
Super User

You may need separate Actual series. Please provide sanitized sample data that fully covers your issue.

Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.