We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
alteryx Community

# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
###### IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

## Challenge #242: Meet Me Halfway

Alteryx

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.

Alteryx

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..

15 - Aurora

Here is my solution !

17 - Castor

Very much fun one!

Spoiler
9 - Comet
Spoiler

Always fun to use the spatial tools! Video solution here: https://www.youtube.com/watch?v=o2yVymR0ERo&list=PL18SpOXDj-KMUD4YwWC5vZaUsIa7drxNZ&index=46

Find the challenge here:https://community.alteryx.com/t5/Weekly-Challenge/Challenge-242-Meet-Me-Halfway/td-p/666670
12 - Quasar

This was a fun one.

13 - Pulsar

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.

Spoiler

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
8 - Asteroid
Spoiler
Solution Attached

6 - Meteoroid

Learned something new, group by region and create centroid, that reduced the steps needed to knock out the task. thx!

8 - Asteroid

Im looking forward to seeing some other replies to this, i dont think my solution scales particularly well