2 Replies Latest reply on Dec 8, 2016 5:02 AM by Lars Sehested

    Issues with distance

    Lars Sehested

      Hi All


      Have a major issue in regards to calculating distance between shops and costumers.


      A costumer can create a job (which is listed with latitude and longitude)

      The shops (listed as User1) have latitude and longitude as well.


      I tried using the formula:

      But tableau then informs me that it creates issues with my data-source (Im using PostgreSQL)


      I have tried to change the formula to [min_latitude] & [min_longitude], which make the querry work, but is not providing the right results.


      Any suggestions, to what the error might be or any ideas for alternative solutions