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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BhoomiT
Frequent Visitor

How to calculate distance of latitude and longitude using data in single file

I have a lat long file for the Indian geolocation.

 

Want to calculate the distance between the geo-locations in the same territory. Data is available for Region, Branch, and territory. Where Region is the highest level of hierarchy and Territory is the lowest level of hierarchy.

 

1) I want to calculate the distance between each lat long in a territory.

2) Want to highlight data points in a 3 km radius from a selected lat-long.

 

The sample data points:

 

RegionBranchTerritoryDealer CodeLatitudeLogitude
aaaaa002D00002925.4514581.87366
bbbbb002D00004825.4727381.85761
ccccc002D00008425.4491581.7614
ddddd002D00016525.4560981.87309
aaabc002D00019225.4569781.87075
cccde002D00019625.4883181.8486
ccefg002D00022225.4654281.85095
dddfg002D00029525.5296881.85361
Bzzzzz002D00029825.4623481.85505
Byyyyy002D00030825.4946181.86021
Bmmmmm002D00031825.6231282.00485
Bzzxyz002D00054125.4661681.85084
Byyyzm002D00064925.4507381.78039
Byyzyq002D00066625.4573181.87041
Bmmmpq002D00107025.4539881.86141
4 REPLIES 4
BhoomiT
Frequent Visitor

The issue is resolved using ArcGSI Maps for Power BI. Thank you, Amit for your efforts.

BhoomiT
Frequent Visitor

The actual file contains more than 40K lat-longs.

Thank you for your response. 

I have calculated the distance in a measure. But I am not able to create a slicer using the measure.

How to create a visual that provides 3 km radius from a selected lat-long?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.