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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
dor-rog-tech
Helper I
Helper I

Power BI and XY points on maps (ESRI/regular)

Hello!

I would love to know if there is anyone who can help me with the issue of coordinates on the maps.
I have an excel spreadsheet with points (longitude and latitude), I want to display it of course on one of the maps available (preferably ESRI maps), the problem is that no matter how I enter the data, it does not show me the coordinates.
I have tried all kinds of coordinate systems we use here in Israel (WGS 84 Web Mercator) or the local system (Isreal TM),
And if it shows me data, it shows it somewhere in Sweden...
Would appreciate help,

 

dorrogtech_1-1648963642849.png

 

Example for the data:

_x(ITM)_y(ITM)_x(web)_y(web)
200154.06644578.463896235.063749408.28
196538.11644263.993891981.013749027.65
202254.85644590.923898707.043749427.43
202238.99644641.733898688.273749487.48
201764.92645546.253898128.63750556.09
200971.34646106.143897193.523751216.54
200933.07644942.023897150.953749839.86
200829.56644554.783897029.983749381.75
202961.31643960.553899539.523748683.46

 

 

Thank you!

1 ACCEPTED SOLUTION
rbriga
Impactful Individual
Impactful Individual

Hi,

First, usually latitude\ longitude coordinates appear like that:

35.049575 , 135.636535 (example- Kyoto).

 

Now, in your model, go to the data view, select the "Latitude" column, and set its data category to "Latitude"- see screenshot.

Latitude Longitude.png

Now, repeat for longitude.

Here I'm using the regular "map" visual. I've added latitude and longitude to their respective slots, unsummarized:

Latitude Longitude Map.png

 

Does it solve your issue?

 

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!

View solution in original post

4 REPLIES 4
rbriga
Impactful Individual
Impactful Individual

Hi,

First, usually latitude\ longitude coordinates appear like that:

35.049575 , 135.636535 (example- Kyoto).

 

Now, in your model, go to the data view, select the "Latitude" column, and set its data category to "Latitude"- see screenshot.

Latitude Longitude.png

Now, repeat for longitude.

Here I'm using the regular "map" visual. I've added latitude and longitude to their respective slots, unsummarized:

Latitude Longitude Map.png

 

Does it solve your issue?

 

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!

Yes!
Thank you!
I also had to change the coordinate system, to LL-WGS84, and it works great,
Thank you!

Ho did you change the coordinate system. I have a problem where my data points looks like that  (x, y) (541938.17, 4811410.44) which does not display on the ArcGIS map. When I tested with long and lat it does works but my data is not formated this way

rbriga
Impactful Individual
Impactful Individual

Let's fix that number. It's best to do this at the source. If you can't, try doing it in Power Query.

You can use "column from examples" under "Add Column" to acheive this without writing the formulas yourself. It will be something like this:

let splitLong = Splitter.SplitTextByDelimiter(".", QuoteStyle.None)(Text.From([Long], "en-US")) in Text.Combine({splitLong{1}?, ".", splitLong{0}?})

 

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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