Calling all Alteryx customers: Refer your colleague to try Alteryx and receive a $50 gift card. Sign up now!
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 #312: Hours, Minutes and Seconds

jfissel
8 - Asteroid
Spoiler
challenge_312_jfissel.png

Not the most efficient route...

Pilsner
11 - Bolide

My solution:

Spoiler
312.png

Bennu
8 - Asteroid

Easy one tool solution @Qiu ! 😃

Although maybe I cheated (you tell me..) since I ignored the 2nd dataset and simply assembled the statement with one big formula.

 

Spoiler

iif(hours>0,ToString([hours])+ " Hours","")
+

iif([minutes]>0,iif([hours]>0, " "+ ToString([minutes])+ " Minutes", ToString([minutes])+ " Minutes") ,"")
+
iif([Seconds]>0,iif([hours]>0 or [minutes]>0, " "+ ToString([Seconds])+ " Seconds", ToString([Seconds])+ " Seconds") ,"")

Spoiler
WC_312.jpg
Qiu
21 - Polaris
21 - Polaris

@Bennu 
It seems that you are crashing all the weekly challenges. And nice approach you have taken for this one. 😃

Minanashat
8 - Asteroid

Screenshot 2025-03-09 095256.png

DylanBell
9 - Comet

Definitely more satisfying to see the time in this format 


Bulien
RebekaMazuchova
8 - Asteroid

:)