Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Displaying Calculated Distance in KM on the Map


Dear Experts


I'm beginner in Alteryx but very passionate about its new things, I'm looking to display the calculated distance between two sides :

Side-1 a Line of (Two points on the map).

Side-2 The nearest (N) stores from the line in (1).


In the end, I need the results with the following output:
1-calculated a distance to display on the map (Browser).
2-Lines from Side-1 (The line start point) and all the nearest stores of that line (With different object point than the one on Side-1).

 if this not possible to display on Alteryx then I'm not sure if it could be exported to a tableau file with all the information Required on the output mentioned above.


Please note I'm not Tableau background but Power bi I have a background about it.


I attached the Workflow and the file with this post.



Alteryx Certified Partner
Alteryx Certified Partner

Did you see my solution in the other thread you posted on the subject? Admittedly, I did it in Miles, but the conversion to KM is no problem.


- Change the units on the Distance to Nearest tool from Miles to Kilometers

- Update the Label formula to use the [DistanceKilometers] field created by the Distance to Nearest tool.
























If this isn't the solution you're looking for, let me know and I'll do what I can to help.