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 #192: Crane Leasing

Highlighted
8 - Asteroid

Nice refresher in using

 

Spoiler

 

the Generate Rows tool with dates

challenge192.PNG

 

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

My solution.

 

Spoiler
03-12-_2019_07-29-29.png
Highlighted
Alteryx Certified Partner
Spoiler
Sebenius_0-1575357893122.png

Generate Rows:
DateTimeParse([Start Date], '%m/%d/%y')
[LeasedDate] <= DateTimeParse([End Date],'%m/%d/%y')
DateTimeAdd([LeasedDate],1,'days')​

Filter:
DateTimeYear([LeasedDate]) > 2015
AND
DateTimeYear([LeasedDate]) < 2019
Highlighted
12 - Quasar

My solution:

 

Spoiler
Capture.JPG
Highlighted
8 - Asteroid

My Effort

 

Spoiler
JamesCameron_0-1575360332819.png
Highlighted
8 - Asteroid

It's harder than it seems (for me sure) 😄

 

Spoiler
Kucsi_0-1575365385725.png
Highlighted
Alteryx Certified Partner

Here's my effort:

Spoiler
Challenge 192.png
Highlighted
Alteryx Certified Partner

Caveat: if a crane is leased and maintained on the same day, it is leased nontheless 🙂

 

Spoiler
192.jpg
Highlighted
7 - Meteor
Spoiler
cdavis19_0-1575370719393.png
Highlighted
8 - Asteroid
Spoiler
Note to self: check work in the DateTimeParse formula better because it doesn't give an error whether you use "%d/%M/%Y" (first attempt when trying to go off memory on the Date Time functions syntax), "%M/%d/%Y" (second attempt after reviewing solutions and changing mine in haste), or "%m/%d/%Y" (final working solution).

2019-12-03 07_31_44-Greenshot.png