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

Column chart conditional formatting?

 

I use a stacked column chart to see my variance. Sometimes the column has + and sometimes negative values. Is it possible to  highlight the +variance green and the – in red?

 

Just a simple 0 or higher green below 0 red conditional formatting in the chart?

 

I also noticed sometimes I have a 0 variance. Is there any option to not show this 0 values?

1 ACCEPTED SOLUTION
Ani1991
Resolver III
Resolver III

Hi @Anonymous 

You can follow the below steps.

1. Under the format options for Stacked Column chart navigate to Data colours.

2. You would see an ellipse button. Click on it and you would see Conditional Formating like below.

 image.png

3. Set the range as below
image.png

This will give you the desired output.

image.png

Also if you observe for the month of APR the variance was 0 hence I created the following measure and my APR month is not getting displayed on the X axis.

Variance_final = If(SUM('Variance'[Variance]) = 0 ,BLANK(),SUM('Variance'[Variance]))

Hope this helps!!

 

Thanks,

Ani

View solution in original post

1 REPLY 1
Ani1991
Resolver III
Resolver III

Hi @Anonymous 

You can follow the below steps.

1. Under the format options for Stacked Column chart navigate to Data colours.

2. You would see an ellipse button. Click on it and you would see Conditional Formating like below.

 image.png

3. Set the range as below
image.png

This will give you the desired output.

image.png

Also if you observe for the month of APR the variance was 0 hence I created the following measure and my APR month is not getting displayed on the X axis.

Variance_final = If(SUM('Variance'[Variance]) = 0 ,BLANK(),SUM('Variance'[Variance]))

Hope this helps!!

 

Thanks,

Ani

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

Top Solution Authors