ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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 #46: Formatting a Date from an Integer

jrobiso2
8 - Asteroid

I think the biggest difference between the given solution and the one-liner DateTimeParse(Switch(Left([date],1),'','0','19','1','20')+Right([date],6),'%Y%m%d') is in readability.  It's going to take some effort to parse my way through DateTimeParse(Switch(Left([date],1),'','0','19','1','20')+Right([date],6),'%Y%m%d') and figure out what the heck it is doing, even if it is more "efficient".

dbAlfa
8 - Asteroid

Below, my solution.

Brian32
8 - Asteroid

Challenge Solution:

Spoiler

Brian32_0-1660048772789.png

 

KalpanaM
7 - Meteor

KalpanaM_0-1660238244242.png

 

CMWalsh
8 - Asteroid
Spoiler
CMWalsh_0-1660296258355.pngCMWalsh_1-1660296275648.png

 

Abiramm1
8 - Asteroid

simple challenge with a pretty simple solution (normally I overcomplicate everything) :)

 

Spoiler
Abiramm1_0-1660317942622.png

 

mbcoar
7 - Meteor

Challenge 46 Complete

 

mbcoar_0-1660319570928.png

 

AndrewHoData
8 - Asteroid

Feels good to get this done!

Spoiler
completed workflow.png

lkim524
8 - Asteroid

lot of formula string edits.

umeshsiyak
5 - Atom

Did with Formula