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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.