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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.