Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member
In this post, we show the formula to calculate the shortest distance between two points using Latitude and Longitude.
This calculation can be useful when trying to determine the distance for logistical purposes (ie delivery service, flights, distance between customers, etc).
The file will need to be set up using the following columns Start_place, Start_latitude, Start_longitude, End_place, End_Latitude, End_Longitude.  The calculation will need to be done in the ElastiCube using a custom field(s).  Replace the Lat_start, Lat_end, Long_start, and Long_end with the relevant fields.  
The radius of Earth in Miles is 3963 (part of the calculation)
The radius of Earth in Kilometers is 6378 (part of the calculation)
The Calculation in Miles:
The Calculation in Kilometers
Version history
Last update:
‎03-02-2023 09:43 AM
Updated by:
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: