community
cancel
Showing results for 
Search instead for 
Did you mean: 
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.
Announcement | Get certified today - take the Alteryx Designer Core and Advanced exams on-demand now!

Challenge #173: Tour de France - Crow Edition

Meteor

A solution to last week's challenge can be found here!

 

The Tour de France is one of the most grueling competitions on the planet. Each year, incredibly fit athletes push the limits of human endurance to traverse some 3000+ kilometers (2000 miles) over about a three-week period ON A BIKE. Just finishing the race is an incredible achievement. But what do birds think about all this?


In this challenge, use Designer and data from the 2017 Tour de France to determine how long the race was, as the crow flies. That’s right, calculate how far the race would be for a bird flying all stages of the race.


This solution treated race days that started and ended in the same city as 0 km covered. Travel outside of racing was not included either (i.e. if the destination of one leg did not match the next leg’s origin, that distance was not included.

 

 

Asteroid
Spoiler
Solution-Challenge 173.PNG
Alteryx Certified Partner

Here's my solution..

 

Spoiler
Screenshot 2019-07-22 at 17.03.26.png

My solution!

Spoiler
Took me longer than it should have to realize that calculations were in km not miles. Doh!

WeeklyChallenge173.JPG
Alteryx Certified Partner

My solution

Spoiler
22-07-_2019_18-34-22.png
Alteryx Partner

Solution is below

 

Spoiler

Pretty straightforward.  Interestingly the bike distance in the solution remained in miles, while the bird distance was in km. @danilang - yep miles was something I totally created and then "solved for" in my workflow. Updated workflow accordingly




challenge_173.png

 

Pulsar
Pulsar
Spoiler
I couldn't even ride my bike the bird's distance in 3 weeks!


Capture.PNG

If the birds didn't fly to the next leg's origin, when the destination of the previous leg was different, then did they ride in the teams' vans?

 

Spoiler
173.png
Aurora

What's a "Bike" and how many horsepower does it have!

 

@David-Carnes .  Maybe they take the Train

 

Spoiler
Slightly different tack than those before me.  Transpose to minimize the joins


WF.png

@john_miller9 :  I think the Bike distance in the input was already in KM.


 

 

Dan

Asteroid

Here is my solution