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.
Based on my test, after we create the pie chart, the data colors are specified based on below properties.
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.
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.
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.
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.
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.
Here's the steps I performed:
So, yes the problem still occurs with the latest BI desktop and creating a new PBIX with a really simple pie chart.
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?
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.