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 #280: Weather Permitting

Alteryx

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

Marie lives in Toronto (Canada). As soon as the weather permits it, she will take her bike to go to work. Her workplace is about 15 km away from her home if she drives her car and 12 km if she bikes.

On Tuesday and Thursday, Marie works remotely. On Monday, Wednesday and Friday, she has to go to her workplace.

When the temperature gets to 28 degrees, she will drive to work.

Use the dataset to find out:

- How many days of biking and driving Marie has done over April, May, and June 2021
- How many kilometers of biking and driving Marie has done over April, May, and June 2021

Use the “Max Temperature” information provided in the data set.

For this challenge, 2 solutions will be posted next week.

11 - Bolide

Great day for a bike ride!

Spoiler
8 - Asteroid

Here is my submission.

Spoiler
9 - Comet

Fun and easy challenge to start the week!

Spoiler
12 - Quasar

280 is in the books!

Spoiler
17 - Castor
Spoiler

10 - Fireball

Another one down.

Spoiler

15 - Aurora

Solution attached,

Spoiler

And in the Python Tool,

Spoiler

18 - Pollux
Spoiler

13 - Pulsar

Here is my solution!

I do have a couple concerns about the logic of when she'd ride her bike verses drive. For example, a Max temp of 4.7 degrees means that it will reach that temp around 3pm, but her morning commute would actually be around -4.2 degrees. We are also completely ignoring days when its rainy or that have wind speeds in excess of 40 kmph.

Spoiler

Cheers!

Phil