2 Replies Latest reply on May 17, 2018 7:20 AM by lingaiah yalagala

    Distance between two latitudes and two longitudes in map

    lingaiah yalagala

      Hi All,

       

      I have the requirement to calculate the distance between two points it means two latitudes(latitude, longitude) and two longitudes(latitude,longitude) in map(filled or symbol map).How do i calculate the distance between two points(latitude,longitude and latitude,longitude) in tableau. Please need your inputs if any one came across this requirement, Thanks in advance.

       

      Regards,

      Lingaiah

        • 2. Re: Distance between two latitudes and two longitudes in map
          lingaiah yalagala

          Hi Mavis,

           

          I have the data plotted like below

           

          Supplier Name          Lat1                 Long1               Lat2                Long2

          123                             98.354           -63.568             58.369            -45.689

          123                             98.354           -63.568             68.693            -53.112

          234                             96.321           -54.324             75.436            -32.256

          234                             96.321           -54.324             35.568            -23.785

          456                             56.325           -25.365             86.368            -45.321

          567                             23.256           -57.563             65.586            -56.324

           

          Where i need in dashboard to find the distance between Lat1,Long1 to Lat2,Long2 for each supplier Name.

           

          Regards,

          Lingaiah