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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NotMyJob
Helper III
Helper III

Conditional Formatting Stacked Column Chart not working with Text values

Hello Community,

 

I'm trying to figure out how to do CF with Text values for a stacked col chart.  Nothing is working.  Maybe it can't do it, but I would think so?  Two graphs feed off of the data, and there are only two values, Current and Overdue.  I'd like the column visuals to match the pie chart in color based off of condition.  I suppose I'd also want the default color for the columns (when both Current and Overdue are selected in the Pie chart to be another color.  Doesn't matter what color right now.

Here's the visual I currently have, and then my CF entry:

 

Both selected:

 

NotMyJob_0-1698691238734.png

 

Overdue selected:

NotMyJob_1-1698691269879.png

 

Current selected:

NotMyJob_2-1698691292219.png

 

NotMyJob_3-1698691320102.png

NOTE:  In Visualizations | Visual | Columns, I have Show All off, however the colors for each individual are that of the medium Orange color, same as for the Overdue in the Pie Chart.  I have that turned off though.  If I change that, the colors are all over the place:  

 

NotMyJob_4-1698691682418.png

 

 

This is nothing like excel  😞

 

Any help would be great, and thank you in advance if you would.

 

1 ACCEPTED SOLUTION

I used the Legend for Status, X axis for Status, and Y for Count of Status.  Then I can change the colors manually.   Conditional Formatting needs to work in these situations, or not be an option when a graph is selected for editing.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@NotMyJob , Conditional formatting is not supported in a chart with legend or multiple measures

 

You have workaround for pie, not for line

 

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I used the Legend for Status, X axis for Status, and Y for Count of Status.  Then I can change the colors manually.   Conditional Formatting needs to work in these situations, or not be an option when a graph is selected for editing.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors