Forum Discussion
Azure Maps Legend Colors Correct in Desktop but Incorrect in Power BI Service
Hello,
I'm running into an issue with the Azure Maps visual and wanted to see if anyone else has experienced this.
In Power BI Desktop, the map legend displays the correct custom colors that I've assigned to each category under Format → Markers Layer → Apply settings to Series.
After publishing to the Power BI Service:
- The map markers/dots display the correct custom colors.
- The Format pane still shows the correct custom colors assigned to each series.
- However, the legend reverts to the default Azure Maps color palette (blue, cyan, green, etc.) and no longer matches the marker colors on the map.
What's interesting is that the issue occurs even in Edit Mode in the Service. The marker colors and series settings are correct, but the legend appears to be ignoring them.
Additional details:
- Using an Azure Maps visual with a categorical legend.
- Legend field is a calculated DAX column (SWITCH statement).
- Colors are assigned manually in the Markers Layer settings, not via conditional formatting.
- The issue is reproducible across multiple map pages.
- The problem appears to affect only the legend; the map itself renders correctly.
As a temporary workaround, I've disabled the legend.
Has anyone else encountered this behavior, or found a workaround? It feels like a Service-side Azure Maps rendering issue, but I'd appreciate any insight before opening a Microsoft support ticket.
Thanks!
Sometimes what happens is the Fabric or Power BI service is a little bit behind the desktop and that is why you are seeing this happening. You could longer support ticket to potentially get this confirmed.
4 Replies
- GilbertQSuper User
Sometimes what happens is the Fabric or Power BI service is a little bit behind the desktop and that is why you are seeing this happening. You could longer support ticket to potentially get this confirmed.
- MichaelBristolFrequent Visitor
This seemed to be it. I had the latest desktop version but the service must have lagged a bit. I removed the legend for some time while I was on holiday and when I came back, added it back and it worked.
- tayloramySuper User
Hi MichaelBristol,
Which version of Power BI Desktop are you using?
If you're using an older version, somethings there is a mismatch between the service and desktop like GilbertQ mentioned. If you're using the newest version of desktop then it should match.How are you changing the colours in desktop? Are you changing them on the visual itself, or by using a theme? This could help us isolate where the disconnect is and give Microsoft better feedback for what may be broken.
- v-achippaCommunity Support
Hi MichaelBristol,
Thank you for reaching out to Microsoft Fabric Community.
Thank you GilbertQ and tayloramy for the prompt response.
As we haven’t heard back from you, we wanted to kindly follow up to check if the response provided by the user's for the issue worked? Is your issue resolved or have you raised a support ticket?
Create a Fabric and Power BI Support Ticket - Power BI | Microsoft Learn
Thanks and regards,
Anjan Kumar Chippa