Pardon our dust - Alteryx Academy is under construction. Lessons and courses completed on Community from now until January 20th will not be recorded.
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 #68: Elapsed Classroom Times

SidSaythongphet
8 - Asteroid
Spoiler
Challenge 68 Solution.jpg

alfredcsy
8 - Asteroid

image.png

asultanov
8 - Asteroid

Solution attached.

Inactive User
Not applicable

#solution 68

SanjeevDosanjh
7 - Meteor
Spoiler
Screenshot 2024-01-15 120534.png

LorraineF
7 - Meteor

Practicing the date tool

a640687
8 - Asteroid
Spoiler
Capture.PNG

Inside the formula tool:

Spoiler
Capture1.PNGCapture2.PNG
Capture3.PNG
hpt
7 - Meteor

Here's my solution. This challenge is a difficult time for me. As I'm not efficient with tools and configurations yet, the formulas I wrote are long and error prone.

Sivashankaran
7 - Meteor

Hi Everyone, 

Attaching the solution file for Challenge #68

Sivashankaran_0-1706960857672.png

 

  1. Created Begin_Date and End_Date column using below formula,

if([MILITARY BEGIN_TIME] = 'TBA'

or [MILITARY BEGIN_TIME] = ''

or [MILITARY BEGIN_TIME] = Null()) THEN

Replace([MILITARY BEGIN_TIME], Null(), '')

ELSEIF (Length([MILITARY BEGIN_TIME]) = 3 )

THEN

[START_DATE]

+' 0'

+ Substring([MILITARY BEGIN_TIME],0,1)

+":"

+ Substring([MILITARY BEGIN_TIME],1)

ELSE

[START_DATE]

+" "

+Substring([MILITARY BEGIN_TIME],0,2)

+ ":"

+Substring([MILITARY BEGIN_TIME],2)

ENDIF

  1. Use below formula to Calculate Elapsed Time

DateTimeDiff([End_Date],[Begin_Date],'minutes')

 

  1. To met objectives used Below­ format formula to display Begin Time and End Time appropriately.Sivashankaran_1-1706960857674.png

     

 

Feedbacks open!

 

Thanks,

Siva

MMC15
8 - Asteroid
Spoiler
68 MMC15.png