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.
Getting started with Designer? | Start your journey with our new Learning Path!

Challenge #192: Crane Leasing

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

Asteroid

My solution attached.

Spoiler
192.png

 

Alteryx Partner
Spoiler
ss192.jpg
Quasar

Here is my solution. 

 

Spoiler
sol.PNG
Magnetar
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

Alteryx Partner

Great practice parsing and manipulating dates with Alteryx!

Spoiler
192_AH.PNG
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. 

Bolide

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

 

Asteroid

Probably could be done smoother, but hey it works.  

Spoiler
Capture.PNG
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