Forum Discussion
Power BI Azure map legend colour issues
Hi Saul_Ring,
Thanks for sharing the details.
According to the official documentation, the Azure Maps visual can be created and viewed in both Power BI Desktop and the Power BI Service. When a categorical field is added to the Legend bucket, a Data colors section becomes available in the Format pane, allowing you to adjust the colors assigned to each category.
The Power BI troubleshooting documentation notes that series color assignment can vary for dynamic series in Power BI visuals, depending on factors such as filters or the order in which data is displayed. To maintain color consistency, Microsoft recommends explicitly defining the color for each series within the report's formatting settings.
Could you please share a few more details about how the Legend field is configured in your Azure Maps visual? This will help us better understand your scenario.
For more details, please refer to the below official documentation:
- Azure Maps Power BI visual: https://learn.microsoft.com/azure/azure-maps/power-bi-visual-get-started
- Troubleshoot visualizations in Power BI: https://learn.microsoft.com/power-bi/visuals/power-bi-visualization-troubleshoot
I hope this helps. Please feel free to reach out if you have any further questions.
Thank you.
Hi there,
In power Bi desktop version I added "value" column to the legend bucket. Values range from 1 to 10 and I assigned colours to each value. The dasboard is published in a website and it worked fine since last October until now. I also added a separate table with values 1-10 and hex codes for each colour. I also tried to change colours in PBI service, but everytime you assign a colour to a value they revert to original.