# Weekly Challenge

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

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

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

## Challenge #32: Alteryx '16 Grand Prix (Race 2, L2)

Alteryx Alumni (Retired)

This is the final lap in the Grand Prix series, last week’s (challenge #31) solution is posted HERE.

Here is the Scenario for this lap:  Now that I know the best four locations for me to visit (from last weeks exercise), I want to estimate how much it’s going to cost for me to take an Uber to each of the sites. If I start at this hotel, and head to the northern most location and head south to visit each surf site, how many miles will I drive? If Uber is \$1.10 per mile, how much will that cost me?

The objective is to:  Identify the total drive distance from inspire to the northern point and work south to visit all four sites ending at the last site.  Calculate the Uber estimate.

*Remember to time yourself, contestants only had about ten minutes per lap.

16 - Nebula

Spoiler

Thanks for posting all these great fun to see what they did (and fun to learn new stuff...)

Alteryx

Thanks for playing along! Here's a solution to the final lap:

Spoiler
Tara McCoy
16 - Nebula

Loving these timed challenges 🙂 it may be worth @TaraM and @GeneR putting a time par value on each of the weekly challenges.

09:00 exactly on this one.

Same solution as provided and @jdunkerley79 except I used the spatial info component to get a simple distance answer.

14 - Magnetar

Feels like a few too many tools, but it worked... Aaaaand I didn't see the whole thing about the timed challenge part (since I'm doing these Grand Prix ones out of order), soooo I'm going to go with approx. 15 minutes? 🙂

Spoiler
Solution: Calculate Distance from Hotel to each Surf Spot > Find the ones in the North, and sort by farthest away > Join back the one from the South > Add RecordID for TripOrder > MultiRow Tool to add field for HotelSpatialObj if TripOrder = 1 otherwise use the PriorDestination SpatialObj > Calculate Distance for each Trip > Formula to multiply by \$1.10/mile > Summarize Distance & Uber Cost.

14 - Magnetar

about 8 minutes for this one!

Spoiler
Spoiler
Alteryx Certified Partner

Not as efficient as other solutions and I went slightly over the 10 minutes..

Spoiler
Alteryx Certified Partner

Fun challenge

Alteryx Certified Partner

Completed this one on my flight to San Diego!

Note: I don't have drive time data so my solution may be different to the one provided.

Spoiler
Alteryx Certified Partner

Good challenge