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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Legend color problem when publish in service.

I used a dual chart(bar and line). 

Powerbi desktopPowerbi desktoppowerbi servicepowerbi service

In PBI desktop legend shows correct color but when publishing in service it became black but interaction remains the same.

 

Fail Pass color became black.

 

Can anyone help with this?

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Anonymous , I have encountered such issue in the past when legend colors were changed on its own. 

What I later discovered is, if the default colors are kept as is when you publish in the service, every time the page/data is refreshed, the service assigns the legend colors on its own. 

 

In order to avoid that, try choosing the colors in the desktop and check in the service if they are the same.

Even if default colors need to be kept, you can select them once, that way it doesnt need to determine the colors.

View solution in original post

Hi, @Anonymous 

 

Days ago I reported the error with support and it was already solved, in case you can put the problem as resolved please.

 

Regard, Jesús!

View solution in original post

5 REPLIES 5
abhishekrws01
Helper I
Helper I

Hi-

how and where to select the Colors. Could you please share the screenshot? I am also facing the issue since last couple of days. Desktop has different (my preferred) Colors and they changed once I publish on PowerBI Service 

thank you 

rgreener
Frequent Visitor

Did you ever find a solution? I have built so many model without issue. Posted one last night and all my legends are black, visuals have correct colors and interactions. Thank you 

Hi @Anonymous @rgreener 

 

Have found a solution I have been with the same problem for 2-3 days but it is in red. @Anonymous 

PowerBI.PNG

 

Thanks!!!

Hi, @Anonymous 

 

Days ago I reported the error with support and it was already solved, in case you can put the problem as resolved please.

 

Regard, Jesús!

Anonymous
Not applicable

Hi @Anonymous , I have encountered such issue in the past when legend colors were changed on its own. 

What I later discovered is, if the default colors are kept as is when you publish in the service, every time the page/data is refreshed, the service assigns the legend colors on its own. 

 

In order to avoid that, try choosing the colors in the desktop and check in the service if they are the same.

Even if default colors need to be kept, you can select them once, that way it doesnt need to determine the colors.

Helpful resources

Announcements
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!