ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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

dhtay
アステロイド

Nice refresher in using

 

スポイラ

 

the Generate Rows tool with dates

challenge192.PNG

 

 

RolandSchubert
16 - Nebula
16 - Nebula

My solution.

 

スポイラ
03-12-_2019_07-29-29.png
Sebenius
アステロイド
スポイラ
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
ddiesel
13 - Pulsar
13 - Pulsar

My solution:

 

スポイラ
Capture.JPG
JamesCameron
アステロイド

My Effort

 

スポイラ
JamesCameron_0-1575360332819.png
Kucsi
アステロイド

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

 

スポイラ
Kucsi_0-1575365385725.png
OllieClarke
16 - Nebula
16 - Nebula

Here's my effort:

スポイラ
Challenge 192.png
RWvanLeeuwen
ボリード

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

 

スポイラ
192.jpg
cdavis19
メテオール
スポイラ
cdavis19_0-1575370719393.png
mbogusz
コメット
スポイラ
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