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
Alteryx
Alteryx

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

 

In this week’s challenge, a handyman and local television star needs your assistance assessing his business using date/time analyses.

 

Bob, whose profession had been builder, decided to transition his business towards leasing construction equipment. Among other equipment, he has two cranes that he has been leasing for a while. He wants to get a better idea how his crane leasing business has been going.

 

Create a workflow that will show how many days both of his cranes have been leased at the same time during the years 2016-2018, the only years where he has a full set of data for both cranes.

 

Bob the Builder with Crane.jpg

Source: GIPHY

Highlighted
8 - Asteroid

My solution attached.

Spoiler
192.png

 

Highlighted
Alteryx Certified Partner
Spoiler
ss192.jpg
Highlighted
13 - Pulsar

Here is my solution. 

 

Spoiler
sol.PNG
Highlighted
14 - Magnetar
14 - Magnetar

My solution! 

 

Spoiler
Pro Tip: Read ALL the instructions and understand what is in your data... Crane Status is apparently an important piece of information

WeeklyChallenge192.JPG

Cheers!

NJ

Highlighted
Alteryx Certified Partner

Great practice parsing and manipulating dates with Alteryx!

Spoiler
192_AH.PNG
Highlighted
8 - Asteroid

Yes we can!!! 

Spoiler
challenge_192_shvive.png

My DateTime field ended up being in String when I applied the formula initially and was getting so close yet no cigar till I debugged and switched the format. 

Highlighted
13 - Pulsar

Got a slightly different result until I looked at the data and realized that a crane could be both leased and something else on a given day.

 

Spoiler
Workflow 192.JPG

 

Highlighted
8 - Asteroid

Probably could be done smoother, but hey it works.  

Spoiler
Capture.PNG
Highlighted
16 - Nebula
16 - Nebula
Spoiler
I love using the dateTimeParse inside a multi-field tool to handle multiple conversions and changing the field to a date type.
Annotation 2019-12-02 145033.jpg