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

  • 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')

  • Ayush

    Member
    August 17, 2020 at 6:52 am

    With the help shipping Address .

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos