cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jason_hill Frequent Visitor
Frequent Visitor

Pie Chart Colours Keep Changing

We have created a number of dashboards and have pinned live pages for each of the tab from the report. When you first open Power BI, each pie chart is formatted with the standard colour palette. However, when you switch to another dashboard, each of the pie charts on the next dashboard show with a different colour palette so it's a bit lollipop. If you refresh the page for this dashboard, then the pie charts all revert to the standard colour palette.

16 REPLIES 16
Super User
Super User

Re: Pie Chart Colours Keep Changing

@jason_hill I've actually seen that posted few times by few other users. I would suggest you submit it as a bug here.

Moderator v-qiuyu-msft
Moderator

Re: Pie Chart Colours Keep Changing

Hi @jason_hill,

 

Based on my test, after we create the pie chart, the data colors are specified based on below properties.

 

q1.PNG

 

And both report and dashboard will display the pie chart in the same color in my workspace or my team mate's workspace after shared with her. So each slice's color shouldn't change automatically.

 

In your scenario, where did you create the report? Create it on Power BI Service directly, or on Power BI Desktop then publish to service? If in desktop, please share desktop version. It would be best if you could share more information for us to reproduce it.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jason_hill Frequent Visitor
Frequent Visitor

Re: Pie Chart Colours Keep Changing

Hi,

 

The report was created in BI desktop. The first dashboard you view in the BI online service displays fine, but when you switch to a different dashboard from the left nav, then the colours go screwy in the next dashboard. If you refresh the page though, then the colours correct.

 

The information in our dashboards is commercially sensitive so I can't post you examples here but can send them privately of that helps.

 

Regards,

 

Jason

Moderator v-qiuyu-msft
Moderator

Re: Pie Chart Colours Keep Changing

Hi @jason_hill,

 

Please restart the computer and login Power BI Service in Edge, then publish the attached .PBIX file to Power BI Service and pin live page to different dashboards. In my environment, this file works fine in two dashboards with Edge browser.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jason_hill Frequent Visitor
Frequent Visitor

Re: Pie Chart Colours Keep Changing

Yes, that works fine.

 

I am not sure why our dashboards are behaving differently. We are using direct query to pull data from Azure SQL but other than that we are just talking about standard pie charts with default colours assigned to the segments. They are completely different pbix files published to different workspace groups in the service so not sure if that has any bearing.

Moderator v-qiuyu-msft
Moderator

Re: Pie Chart Colours Keep Changing

Hi @jason_hill,

 

The attached .PBIX file is created in Power BI Desktop version 2.39.4526.362. Please update the desktop to this latest version then create pie chart use Azure SQL database to see if issue persists.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jason_hill Frequent Visitor
Frequent Visitor

Re: Pie Chart Colours Keep Changing

Here's the steps I performed:

 

  • Updated to the latest BI desktop
  • Created a completely new PBIX with a simple pie chart pulling data from Azure via DirectQuery
  • Copied the PBIX and just changed the connection to a different Azure database
  • Published those PBIX files to two different workspace groups within the BI service
  • Pinned the live page for each report into new dashboards
  • Open the BI service and opened the first new dashboard - the pie chart colours are fine
  • Switched to the other new dashboard and the pie chart colours are a bit whack. Refreshed the page and the colours are fine.

So, yes the problem still occurs with the latest BI desktop and creating a new PBIX with a really simple pie chart.

Moderator v-qiuyu-msft
Moderator

Re: Pie Chart Colours Keep Changing

Hi @jason_hill,

 

I notice you copy the .PBIX, please pin the live page for the original report to see if issue occurs.

 

Also can you open the original .PBIX file and save as different .PBIX file to duplicate the report? Then publish these reports to service and pin live page to see if color changes?

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jason_hill Frequent Visitor
Frequent Visitor

Re: Pie Chart Colours Keep Changing

The colours are fine when pinning a live page from the same report to different dashboards.

 

I then used the save as method to duplicate the report and published those to the service and pinned live pages to different dashboards. The colours are fine for the first dashboard but after switching to the second dashboard, the colours go wrong again.

 

It deosn't matter which order you open the dashboards either...the first one displays OK but the colours go wrong with the second dashboard.