Forum Discussion
Map visualization with country codes
- Anonymous10 years ago
I want to give an update on how I solved this issue.
I used an Excel file that maps country codes to latitudes and longitudes, and imported it into my report.
I then just had to link the "Location" column from my data with the "Country Code" column of my Excel file, and use Latitude and Longitude on a map visualisation for it to work.
Thanks :smileyhappy:
Hi jhyot,
In your scenario, it seems that some ISO Alpha 2 codes have wrong mapping to real countries. To correct correspondence, we can create a new query and define the mapping, then merge this query with the original query. For more information, please refer to this article: Mappings in Power BI.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
- Anonymous10 years agoNot applicable
I want to give an update on how I solved this issue.
I used an Excel file that maps country codes to latitudes and longitudes, and imported it into my report.
I then just had to link the "Location" column from my data with the "Country Code" column of my Excel file, and use Latitude and Longitude on a map visualisation for it to work.
Thanks :smileyhappy:
- v-qiuyu-msft10 years agoCommunity Support
Hi jhyot,
Glad to hear that your issue had been solved by yourself. Thank you for your sharing which will help other forum members who have the similar issue. :smileyhappy:
Best Regards,
Qiuyun Yu