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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
bhavadharani
Helper I
Helper I

How to perform conditional formatting for clustered column chart

Through formatting I need to change the color of the chart into green or red,

My need-

    1.In x-axis I have-LOS

           y-axis I have-Bench_Percent_co. If the bench_Percent is below 85 means then the chart should be viewed in red color otherwise             it should be in green color.

    I implemented it through rules in Default color-column 

bhavadharani_0-1675321429163.png

but the color changes is not in a proper format

bhavadharani_1-1675321840463.png

Here the Bench_percent_co is 63%  so it should be in red color  but the chart is in green color. Can you please help me to solve my problem. Thanks in advance

1 ACCEPTED SOLUTION

I checked all the ways to change the color in conditional formatting, after that I find out If I select to display only one bar chart then it always shows green color but when i didn't select anything it shows proper color(When I had group of charts). I think so it may be an issue.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @bhavadharani 

in your second statement after the "and" you have still the number argument, try changing it to percent like in the first argument 

 

Best Regards,

Daniel

Thanks a lot @Anonymous 

  I changed the number argument as percent, Eventhough there is no changes. Can you please help me to solve the problem. Thanks in advance.

Anonymous
Not applicable

Is the Ouput of your measure formatted as percent? If not, use the decimal numbers (0,85 for 85% and 1 for 100%) and the number argument instead of percent

Hi @Anonymous 

    It is a column which is formated as percent 

I checked all the ways to change the color in conditional formatting, after that I find out If I select to display only one bar chart then it always shows green color but when i didn't select anything it shows proper color(When I had group of charts). I think so it may be an issue.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.