Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Mapbox Custom Tileset Not Working

I'm trying to show the provinces of Nepal in a choropleth mapbox visual, but the choropleth shapes aren't appearing on the map. 

 

I've followed this YouTube tutorial on how to do it. I've uploaded the geojson file to Mapbox to create a custom tileset, which does show all 7 provinces. Then I've copied the vector tile level 1, source layer name level 1 and vector property level 1 from mmapbox into Power BI as the video suggested.

 

I've passed province code from my llist of unique provinces into the location field, and the province name from my main data table, but the map just returns blank (screenshot below). Although it doesn't seem to matter which combination of province name and code (whether it's the list of unqiue names or not) I use because none of them generate a choropleth map.

 

MY PBIX file is here. Can somebody please advise why the choropleth map won't appear?

 

 

 

5 Replies

  • I am also having this issue. The data I have added from Power BI is displaying but the custom map style is not showing properly. It only shows the geographic features and not the points I added or even the standard labels. 

    Custom Style Preview

    • EwenHill's avatar
      EwenHill
      Frequent Visitor
      • Thanks for posting along with the original OP. I am having exactly the same issue. In iconMap powebi viz, I can see the style I have created so I know my prep work is correct but add it to MapBox and it not only doesn't render my hardcoded choropleth map but removes the standard MapBox labels. 
  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 

    When you add your own data to Power BI, the data must contain fields that match these administrative levels names and data types to create the data join. Data dropped into the Location field in the Mapbox Visual must match a row in the Name matches file exactly to be included visually on your map.

    Please follow the format mentioned in the link to change your view .

    https://docs.mapbox.com/help/troubleshooting/integrate-mapbox-visual-with-power-bi/

     

    Best Regard

    Community Support Team _ Ailsa Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for the suggestion, I've changed the name of the data join field in Location so it matches the mapbox field, but the map still doesn't appear. I've also cleared my cache as it suggests in that article, but that hasn't done anything either. Updated PBIX file here.

  • Anonymous's avatar
    Anonymous
    Not applicable

    I'm experiencing the same thing and the canned articles do not help. Can someone please answer?