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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AnjanaTh
Frequent Visitor

Color Conditional formatting of legends in a stack bar chart visual in Power BI

I am using account names column in legend section of my stacked column chart .I want to color conditional formatting of the account names based

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @AnjanaTh 

In Power BI, you can apply conditional formatting to various elements of your visuals, including data columns in stacked column charts. The color of each legend is determined according to the theme, if you need to change the color of the legend, you need to select the legend and select the color manually.

You can check the following link:

Conditional Formatting In Power Bi Stacked Column Chart (enjoysharepoint.com)

 

Solved: conditional color Stack column chart - Microsoft Fabric Community

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @AnjanaTh 

In Power BI, you can apply conditional formatting to various elements of your visuals, including data columns in stacked column charts. The color of each legend is determined according to the theme, if you need to change the color of the legend, you need to select the legend and select the color manually.

You can check the following link:

Conditional Formatting In Power Bi Stacked Column Chart (enjoysharepoint.com)

 

Solved: conditional color Stack column chart - Microsoft Fabric Community

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ritaf1983
Super User
Super User

Hi @AnjanaTh 
If I understand correctly, you're referring to conditional formatting of column segments. In this type of chart, conditional formatting is not available.

There is an idea about this issue you can vote for it by the link :
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=b03d0ec4-062c-ec11-b76a-281878de77da

If it is something else, please 

share a pbix or some dummy data that keeps the raw data structure with expected results. It should help us clarify your scenario and test the coding formula.

How to Get Your Question Answered Quickly  

 

 If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors