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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
ManuelEspitia
Helper II
Helper II

I can't create a map using latitude and langitude data

Hello everyone:

I'm trying to map the clinics in Bogota. I already have latitude and longitude of each, but once I uploaded them to power BI I don't work the map. I don't know if it's because of the data type in these columns (Lat and Long).

I imported latitude and longitude data from google maps, using an add on (geocode for awesome table) from google sheets. It gave me the result of the first image. But once I copied them in excel to upload them to power bi changed the format to number. I tried to change the custom number format but I'm not sure what it is. I've used several of HHMMSS but I always get it as a result (second image). In the excel preview none of the custom formats seem to convert it to the original Lat and Long format (first image).

In Power Bi I already categoryed as Lat and Long each column and it is formatted as a decimal number. But it doesn't come out on any map, it's not filled, it's not arcgis, it's not a map. In Whole number format it doesn't work either.

You know what I should do in this case?

Captura1.JPG

Captura2.JPG

Captura3.JPG

1 ACCEPTED SOLUTION

Hi @ManuelEspitia ,

 

You may copy this data into Text document, which will keep the data format,  and then copy the data of text document into excel . After that, you may connect to the google sheet again. Set the data type of latitude and longitude as "Decimal number", and set the Category as "Latitude" and "Longitude", and set the aggregation as "Don't summarize". It will display result as below based on my test using your data.

175.png

Best Regards,

Amy 

 

Community Support Team _ Amy

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

5 REPLIES 5
amitchandak
Super User
Super User

@ManuelEspitia , is these lat , log value format is correct? Just check that they were not formatted as a number in excel/Source.

 

Just put one of the last long on some location finder and check that it is correct

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@ManuelEspitia - Are you connected to the Internet? I know, dumb question. Can you share some of the lat/long coordinates as text so that I can test?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Here are some:

4.7501645-74.0654529
4.7080812-74.1045479
4.6665894-74.0687454
4.5829583-74.1058526
4.6860735-74.0566615
4.6153927-74.1730139
4.6776983-74.0572483

I took those from the google sheets file. The problem I think is because of the format in which they are transformed once I pass them to an excel file (they are left in number format). I've tried with general format and some custom ones but I can't get them to look like the ones above. These are once copied to excel.

47501645,00-740654529,00
47080812,00-741045479,00
46665894,00-740687454,00
45829583,00-741058526,00
46860735,00-740566615,00
46153927,00-741730139,00

Thanks for the help.

Hi @ManuelEspitia ,

 

You may copy this data into Text document, which will keep the data format,  and then copy the data of text document into excel . After that, you may connect to the google sheet again. Set the data type of latitude and longitude as "Decimal number", and set the Category as "Latitude" and "Longitude", and set the aggregation as "Don't summarize". It will display result as below based on my test using your data.

175.png

Best Regards,

Amy 

 

Community Support Team _ Amy

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

CNENFRNL
Community Champion
Community Champion

Hi, @ManuelEspitia , pls refer to an old post on the similar issue of mapping lat/long to see if it helps,

https://community.powerbi.com/t5/Desktop/Latitude-and-Longitude-not-plotting-on-MAP/td-p/491685

 

PS, I tried the following mockup and it works well in power bi map viz.

CityLatLong
A4.5042340-75.8146945
B4.5094110-75.7482540
C4.6971197-75.3346631
D4.5592924-75.9481338
E4.5464602-75.0389327
F4.5597254-75.7328735
G4.5599204-75.6704905

mapping.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.