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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.