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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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