Challenge #242: Meet Me Halfway
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
KaneG
Alteryx Alumni (Retired)
11-16-2020
05:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I couldn't decide which way I wanted to go and so I went with a couple.
Spoiler
The first one finds the centroid for each region and then finds the nearest office to that. This is quick, but does it definitely minimise distance? So the second one actually does the calcs on the distance to work out the min.

TonyA
Alteryx Alumni (Retired)
11-16-2020
05:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Here's my solution. Kudos to @Jonathan-Sherman! I started down the same path but ran into a snag
Spoiler
Couldn't figure out how to create the centroid. Kept looking at the spatial tools and forgot all about Summarize. That's what's so great about these challenges. I'm always learning something new..

16 - Nebula
11-17-2020
01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
21 - Polaris
11-17-2020
02:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Very much fun one!
JennyMartin
9 - Comet
11-17-2020
06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Always fun to use the spatial tools! Video solution here: https://www.youtube.com/watch?v=o2yVymR0ERo&list=PL18SpOXDj-KMUD4YwWC5vZaUsIa7drxNZ&index=46
Greg_Murray
12 - Quasar
11-17-2020
06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
14 - Magnetar
11-17-2020
01:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Longer than some solutions, but feel this is robust incase the data changes to always find the nearest, instead of incorrectly matching to a nearby location in a different region.
Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
balajilolla
8 - Asteroid
11-17-2020
02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Spoiler
Solution Attached

ACW
6 - Meteoroid
11-17-2020
04:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Learned something new, group by region and create centroid, that reduced the steps needed to knock out the task. thx!
Nanoq
8 - Asteroid
11-18-2020
01:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator