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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mchercol
Helper I
Helper I

Longitud y latitud

Hola , Tengo una tabla que son paises, estoy probando distintos mapas y creo que me falta latidud y longitud para que esto funcione bien.

Como puedo añadir la longitud y la latitud de los paises a mitabla paises?

 

Solo tiene el campo pais

 

Gracias por adelantado

 

1 ACCEPTED SOLUTION
v-rongtiep-msft
Community Support
Community Support

Hi @mchercol ,

You will need a reliable data source that provides the latitude and longitude for each country. This could be an online data set, a government database, or any other authoritative geographical database.

 

Use Power BI's "Get Data" feature to import the latitude and longitude data into Power BI. You can find this option under the "Home" tab in Power BI Desktop.

 

Use Power Query Editor to merge your existing countries table with the new latitude and longitude data.

 

I have also found a similar post, please refer to it to see if it helps you.

Solved: Get city, longitude/latitude, country, or state/pr... - Microsoft Fabric Community

 

vrongtiepmsft_0-1707270195211.png

Create and use filled maps (choropleth maps) in Power BI - Power BI | Microsoft Learn

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

 

 

 

View solution in original post

1 REPLY 1
v-rongtiep-msft
Community Support
Community Support

Hi @mchercol ,

You will need a reliable data source that provides the latitude and longitude for each country. This could be an online data set, a government database, or any other authoritative geographical database.

 

Use Power BI's "Get Data" feature to import the latitude and longitude data into Power BI. You can find this option under the "Home" tab in Power BI Desktop.

 

Use Power Query Editor to merge your existing countries table with the new latitude and longitude data.

 

I have also found a similar post, please refer to it to see if it helps you.

Solved: Get city, longitude/latitude, country, or state/pr... - Microsoft Fabric Community

 

vrongtiepmsft_0-1707270195211.png

Create and use filled maps (choropleth maps) in Power BI - Power BI | Microsoft Learn

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

 

 

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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