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.
Announcement | Get certified today - take the Alteryx Designer Core and Advanced exams on-demand now!

Challenge #68: Elapsed Classroom Times

Asteroid

This was a great lesson on using DateTimeParse function!

Alteryx Partner

Here is my solution:

 

Spoiler
challenge_68_gm_image.PNG
Alteryx Partner

I took quite a lot of steps. multiple formula tools to reach to the result. Find the solution file below!

 
Asteroid
Spoiler
MILITARY BEGIN_TIME  =  right("0" + [MILITARY BEGIN_TIME], 4)

TimeBegin  = TrimLeft ([TimeBegin], "0")
Asteroid

I made that way messier than it needed to be. Excited to see if it could be done with one formula tool (maybe one select tool too).

Spoiler
Spoiler.PNG
Alteryx Certified Partner

Picked up something useful on this one!

Meteor
Spoiler
Leveraged 1 Formula tool for bulk of the logic

challenge68_viveknshah.JPG
Alteryx Partner

Done with using only

Spoiler
one formula tool and a select tool

68.png

Of note my solutions gives a final solution of 4:30 as a time (as was described by TS) and not 04:30 (as is the output in the workflow)

Meteor

Still finding dates and times to be the most challenging in Alteryx from a parsing perspective. Need to do a deep dive and practice like this helps.

Spoiler
challenge_68_solution_justindavis.PNG