Forum Discussion

DanH's avatar
DanH
New Member
9 years ago
Solved

How to author Map Keys in custom Shape file?

I have created a custom SHP file from scratch (using QGIS), then converted to TopoJSON using MapShaper.org.

 

Add a Shape Map visualization to my report, and choose custom map, and find my TopoJSON file on disk.

The shapes show correctly in the widget. 

 

After adding a data column to the Color Saturation well, nothing shows in the map.  

 

I suspect the Map Keys are not correct.  When clicking on "view map keys" nothing shows.  For all other map types (built in and downloaded, created by others), a dialog shows the keys that can be used to correlate to the regions in the map.

 

What do I have to add or do in the SHP file (in QGIS) to add map keys such that they can be used in the Power BI desktop visualization? 

  • DanH's avatar
    DanH
    9 years ago

    Just replied to a similar thread (did not realize I somehow started 2 threads with the same issue?).  

     

    This thread has the answer.  It has to do with converting to TopoJSON using MapShaper.org, not on the QGIS side.

     

    Thank you for the follow-up.

2 Replies

  • v-caliao-msft's avatar
    v-caliao-msft
    Microsoft Employee

    Hi DanH,

     

    It seems that you have post your issue in the link below
    https://dataveld.wordpress.com/2016/09/12/topojson-map-files-for-power-bi-shape-map/

     

    Have you solve this by this reply?

    Try opening the entire “Shapefile”, which is actually a compressed folder with multiple files such as .shp, .dbf, etc. in it. If you open the shp only, you only get the shapes, but the data/keys are actually contained in the dbf.

     

    Regards,

    Charlie Liao

    • DanH's avatar
      DanH
      New Member

      Just replied to a similar thread (did not realize I somehow started 2 threads with the same issue?).  

       

      This thread has the answer.  It has to do with converting to TopoJSON using MapShaper.org, not on the QGIS side.

       

      Thank you for the follow-up.