Forum Discussion
Issue with Using 'Location' and 'Legend' Together in Azure Map Visual After September Update
- 11 months ago
Thanks Anonymous for your repsponse. Will try out the workarounds if the Azure Map visual no longer supports the same.
Hi Seadon ,
Thanks for reaching out on the Microsoft Fabric Community Forum.
What you're seeing with the Azure Map visual is expected behavior in the updated version, it no longer supports using the same field for both Location and Legend. This change is due to updates in how the new visual engine handles multiple data layers. There are a few workarounds to get things working the way you want - Create a separate field for Legend. In Power Query, just duplicate your Location column. For example:
= Table.AddColumn(Source, "Country_Legend", each [Country])Then, use Country for Location and . Country_Legend for Legend. This keeps everything compatible and restores the expected color grouping other option - Switch back to the classic Map visual. Go to File - Options - Preview Features and turn on Classic Map visual. This version still allows you to use the same field for both Location and Legend.Option 3: Use color by measure instead. If you're only looking to show color variation by value, you can skip the Legend field entirely and use a numeric measure in Color saturation or Bubble size or Use multiple layers in Azure Maps with the new visual, you can layer different visual types - like filled regions and symbols, to separate geography from category groupings more clearly.
Best regards,
Sreeteja.