Forum Discussion

Michal_M's avatar
Michal_M
Regular Visitor
4 months ago
Solved

interactive polygons on map

Hi,

I need to create vizual with map. On map I need to have certain polygons. Those polygons should be interactive - should act as a filter to show other vizuals on dashboard. Where to start? What kind of vizual I need (Shape map, azure map, other)? What kind of source data I need, in which format? I have txt file with geo coordinates of one polygon.

 

  • Hi Michal_M

    Yes, the correct approach for your requirement is to use the Azure Maps visual with GeoJSON polygons.

    It supports:

    • Clickable polygon regions
    • Cross-filtering other visuals in the report
    • A more future-proof solution compared to older map visuals

    How to start:

    1. Convert your TXT polygon coordinates into GeoJSON format
    2. Add the Azure Maps visual in Power BI
    3. Load the GeoJSON as a polygon layer
    4. Enable selection to allow filtering of other visuals

    Important: Power BI does not read TXT polygon files directly—you must convert them into GeoJSON first.

    Please mark this as solved if it resolves your issue.

  • Thanks for the update. Azure Maps doesn’t read GeoJSON from a column (Location field), so that’s why nothing is showing.

    Please make sure you’re using Azure Maps visual (not Map/Filled Map). Then check the Format pane for Layers or Reference layer options to load polygons. If you don’t see this option, it may depend on your Power BI version.

     

    You can try these steps it might help. Let us know how it works on your end.

7 Replies

  • Hi Michal_M

    Yes, the correct approach for your requirement is to use the Azure Maps visual with GeoJSON polygons.

    It supports:

    • Clickable polygon regions
    • Cross-filtering other visuals in the report
    • A more future-proof solution compared to older map visuals

    How to start:

    1. Convert your TXT polygon coordinates into GeoJSON format
    2. Add the Azure Maps visual in Power BI
    3. Load the GeoJSON as a polygon layer
    4. Enable selection to allow filtering of other visuals

    Important: Power BI does not read TXT polygon files directly—you must convert them into GeoJSON first.

    Please mark this as solved if it resolves your issue.

    • Michal_M's avatar
      Michal_M
      Regular Visitor

      Hi Future_To_BI 

      I prepared my GeoJason file. But I do not know how to load it as a polygon layer to my visualization. I do not have such an option. I created table with GoeJSON coordinates in one column, but When I add it to Azure map as a Location, nothing is happening

      • V-yubandi-msft's avatar
        V-yubandi-msft
        Community Support

        Thanks for the update. Azure Maps doesn’t read GeoJSON from a column (Location field), so that’s why nothing is showing.

        Please make sure you’re using Azure Maps visual (not Map/Filled Map). Then check the Format pane for Layers or Reference layer options to load polygons. If you don’t see this option, it may depend on your Power BI version.

         

        You can try these steps it might help. Let us know how it works on your end.

  • Hi Michal_M ,

    We have not yet received an update from you. Could you confirm whether you’ve tried the previous suggestions? If you need more information or clarification, please let us know.

    Thank you.