You can use tools like to convert KML to GeoJson. We must go through a couple of steps to get it into a format Power BI can use.
Now that you have a KML file (another type of mapping file that is based on XML) we need to convert it to JSON. Pick your map layer instead of the "entire map" and check these options: Once you have a saved map, Export to KML. For example, if in your data you have a field and it has a value of "Western Region", you want to name the Polygon shape you drew in Google Maps, "Western Region" if that's the field you will bind to your map's location property. To map data to your shapes in Power BI, you want to name your Polygons EXACTLY as they are in your data. Use the polygon tool to trace around your custom areas.
I won't go into the details on how to draw a map, but you will find it fairly intuitive and easy. Start drawing your own map over the area of the world you are interested in tracing. Go to Google Maps, open "Your Places", Maps, and click Create Map. Luckily Google Maps provides an on-line tool for creating your own custom maps. While you could code one in notepad, that would be no fun at best. TopoJson is a JSON file that can be quite complex and lengthy. If you want to learn more about TopoJson/GeoJson you can go here. I first encountered TopoJson when I worked as a D3.js developer. Shape Maps in Power BI use a popular map file format called Topojson. When we’re done, you will know how to make a professional looking map that works extremely well with Power BI. Let's walk through the steps to create your own custom maps using Google Maps and a couple open source tools. Lots of organizations need custom maps for sales districts, service areas, and regions that don't always align nicely to states and zip codes. That's great, but “Where do I get custom maps or better yet how would I create my own map?” you may ask. Once you add this visual you can pick from lots of included maps as well add your own custom map by clicking Add Map. To start out, add a Shape Map visual to a report in Power BI Desktop: In this post, I will share how to create a custom map file to use in Power BI. Hi, I’m sharing back with community here (I encourage you to do the same as you come across your own useful Power BI tips and recipes)