Forum Discussion

Kalyana's avatar
Kalyana
New Member
8 years ago
Solved

Sample datasource for Map vizualizations

Hi,

 

Where can I find the Map Visualizations Sample file for the following tutorial.

 

https://powerbi.microsoft.com/en-us/guided-learning/powerbi-learning-3-5-create-map-visualizations/#

 

Thanks in advance.

  

  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi Kalyana,


    It seems like the source data has from web, perhaps you can take a look at below blog to know more this visual.

     

    The solution aka workaround

    So, apparently, the map expects a 3-letter country code, not 2. Provided that you don’t have it in your data, the easiest solution is to add a separate country table into your model. The ultimate data source — Wikipedia.

     

    In Power BI Desktop click on “Get data” and select Web.

    Enter the link to the Wikipedia page https://en.wikipedia.org/wiki/ISO_3166-1 and hit OK.

     

    How-To: Display 2-letter country data on a Power BI map

     

    Regards,

    Xiaoxin Sheng

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Kalyana,


    It seems like the source data has from web, perhaps you can take a look at below blog to know more this visual.

     

    The solution aka workaround

    So, apparently, the map expects a 3-letter country code, not 2. Provided that you don’t have it in your data, the easiest solution is to add a separate country table into your model. The ultimate data source — Wikipedia.

     

    In Power BI Desktop click on “Get data” and select Web.

    Enter the link to the Wikipedia page https://en.wikipedia.org/wiki/ISO_3166-1 and hit OK.

     

    How-To: Display 2-letter country data on a Power BI map

     

    Regards,

    Xiaoxin Sheng