Weekly Challenges

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

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

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #15: Warehouse Shipped Miles

Kakuffo
Alteryx
Alteryx

I struggled with this one.... Not the logic behind it, but the wording in the scenario. It didnt rtanslate to me that i should be working it out on a per item basis. Small adjustments made to find my answer but i enjoyed working with the spatial tools. A great introduction.

 

 

mbogusz
9 - Comet
 
Nicholas_Bignell
8 - Asteroid

watch how I completed this one attached

DanielLing
8 - Asteroid
Spoiler
Spoiler

DanielLing_0-1573556185625.png

Nice challenge, took me a while to get the full requirements but pleased to finish eventually

razziagafur
Alteryx Alumni (Retired)

Got stuck with the drop-down only going to 100 miles, until I read the comments on here that you can manually enter a number! 

 

Solution attached.

serenahandel
6 - Meteoroid
Spoiler
serenahandel_0-1573577517163.png
JamesFo
8 - Asteroid
 
SueDonim
8 - Asteroid

Coming back to do some spatial stuff.  Not bad at all.  Cool feature

 

Spoiler
Process:
- Create points for the the stores and warehouses based on Lat and Lon
- Append data to match each store with each warehouse
- Calculate distance from each store to each warehouse
- Sort by Store and by Distance (ascending) from store to warehouse
- Select every third record (since there are 3 warehouses, given the sort from above, this will give the warehouse closest to each store
- Join results with list of items to be shipped to each store
- Calculate miles for every item (Distance * number of items)
- Group by item, sum miles per item

MySolution.PNG
AmeliaG
Alteryx
Alteryx
Spoiler
15_screenshot.png
MFish
8 - Asteroid