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
freebird28
Helper I
Helper I

Legend does not change colors

Hi!

 

I have a line and column chart that had a default color of dark green for the columns and light teal for the line. Now I have to change it to different shades of blue. The bars and lines change colors but the legend is still stuck with dark green for the bar. It, however, reflects the new blue for the line.

 

freebird28_0-1697473765651.png

 

The only thing I can think of is that the bar is based on conditional formatting. If I remove the conditional formatting and assign a default color for the bar then the legend updates accordingly. But I need the conditional formatting. Could someone please help me how to get around this issue? Thank you.

 

freebird28_1-1697473849014.png

 

6 REPLIES 6
KevGallardoPan
Frequent Visitor

This is an old post, but I have a similar situation in this case. What I did was change the chart to a clustered bar chart and then revert to the one that I'm using: a "Line and clustered columns chart." 

BS123456789
Advocate I
Advocate I

@freebird28 I enocuntered the same issue as you. Did you find a solution for your problem?

@BS123456789  this was a year ago but no, I don't think I got a solution. If I remember right, I simply masked the 'wrong' color with the 'right' one. 

Anonymous
Not applicable

Hi @freebird28 ,

 

Notes that the conditional formatting is only available for tables or matrixes.

vstephenmsft_0-1697595382160.png

 

As a workaround, you can change the colors of bars under "Format your visual" manually.

vstephenmsft_1-1697595419793.png

 

Best Regards,

Stephen Tao

 

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

Doesn't work. After a year and stil lthe same issue happen.

axlimproso_0-1737623191880.png

 

Thank you for your response @Anonymous . This is a line and column chart. And the bar colors should automatically update based on my "rules" shown in my earlier post. For now, since I don't think it is possible to do in this type of chart and it is just one color, I have used a 'blue' shape to hide the default green shown in the visual. Thanks.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.