Activity Forums Salesforce® Discussions How to find the distance between two locations in Salesforce?

  • How to find the distance between two locations in Salesforce?

    Posted by Shweta on August 14, 2020 at 3:41 PM

    How to find the distance between two locations in Salesforce?

    Ayush replied 6 years ago 3 Members · 2 Replies
  • 2 Replies
  • Aditya

    Member
    August 16, 2020 at 7:16 PM

    Hi,
    We can find the distance between to location like distance shipping address and customer.
    <pre id="ext-gen39">DISTANCE( GEOLOCATION( BillingLatitude , BillingLongitude ), GEOLOCATION( Branch_Assigned__r.GeoLocation__Latitude__s , Branch_Assigned__r.GeoLocation__Longitude__s ) , 'mi')

  • [adinserter block='9']
  • Ayush

    Member
    August 17, 2020 at 6:52 AM

    With the help shipping Address .

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos