Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Lora_0121
Helper I
Helper I

How to Manually Map Incorrect Country Codes in Power BI Map Charts?

Hello,
I created a map chart in Power BI using country codes.

However, the country code "SK" (Slovakia) is incorrectly displayed as South Korea.

Is there a way to manually map this correctly?

 

map.png

2 ACCEPTED SOLUTIONS
rajendraongole1
Super User
Super User

Hi @Lora_0121 - In your data source, add an additional column that specifies the full country name (e.g., "Slovakia" for "SK").
This helps Power BI distinguish between countries with similar codes.
In Power BI, go to the "Fields" pane, select the newly added country name column.
Under the "Column Tools" ribbon, set the Data Category to "Country/Region".
Use the full country name column instead of the country code ("SK") in your map visualization.

If Power BI continues to misinterpret, consider using Latitude/Longitude coordinates for more precise mapping:

  • Add columns for the latitude and longitude of Slovakia.
  • Use these values in the map visual to pinpoint the correct location.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

v-priyankata
Community Support
Community Support

Hi @Lora_0121 ,

We are grateful for your participation in the Microsoft Fabric Community forum

@rajendraongole1  - Thank you for the prompt response!
Additionally, I'd like to offer another piece of insight.


This issue typically arises because Power BI uses a predefined set of country codes, which may not always match the intended mapping in your dataset

  • To address your query Please add an extra column to your dataset for the country name and provide the full names of the countries.

vpriyankata_0-1733744339237.png

 

  • Load the data, then drag the Country Code and Country Name to the Location field in the map visual and drag the Region column to the Legend field.
  • In the filter pane, select the country as per your requirements.

Please refer to the snapshot below for your reference:

 

vpriyankata_1-1733744339302.png


If you found this helpful, kindly mark it as the solution to assist others. A thumbs-up or kudos would be greatly appreciated!

Best Regards,
Priyanka.

 

View solution in original post

3 REPLIES 3
v-priyankata
Community Support
Community Support

Hi @Lora_0121 ,

We are grateful for your participation in the Microsoft Fabric Community forum

@rajendraongole1  - Thank you for the prompt response!
Additionally, I'd like to offer another piece of insight.


This issue typically arises because Power BI uses a predefined set of country codes, which may not always match the intended mapping in your dataset

  • To address your query Please add an extra column to your dataset for the country name and provide the full names of the countries.

vpriyankata_0-1733744339237.png

 

  • Load the data, then drag the Country Code and Country Name to the Location field in the map visual and drag the Region column to the Legend field.
  • In the filter pane, select the country as per your requirements.

Please refer to the snapshot below for your reference:

 

vpriyankata_1-1733744339302.png


If you found this helpful, kindly mark it as the solution to assist others. A thumbs-up or kudos would be greatly appreciated!

Best Regards,
Priyanka.

 

Hi @Lora_0121 , Just checking in as we haven’t received an update from you regarding our last response. Were you able to resolve the issue?

If our solution was helpful, please mark it as Accept Answer and click Yes to confirm.

Feel free to let us know if you have any further questions—we’re here to help!

Thank you for being a part of the Microsoft Fabric Community Forum!

rajendraongole1
Super User
Super User

Hi @Lora_0121 - In your data source, add an additional column that specifies the full country name (e.g., "Slovakia" for "SK").
This helps Power BI distinguish between countries with similar codes.
In Power BI, go to the "Fields" pane, select the newly added country name column.
Under the "Column Tools" ribbon, set the Data Category to "Country/Region".
Use the full country name column instead of the country code ("SK") in your map visualization.

If Power BI continues to misinterpret, consider using Latitude/Longitude coordinates for more precise mapping:

  • Add columns for the latitude and longitude of Slovakia.
  • Use these values in the map visual to pinpoint the correct location.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors