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 #21: Date Reformatting

Bluemoon
8 - Asteroid
Spoiler
clipboard_image_0.png

A nice little challenge

JennyMartin
9 - Comet
Spoiler
AWC21.PNG

Nice quick challenge.

Daryna
Alteryx
Alteryx

I guess my solution is the biggest one 🙂 

At least I tried) 

 

Spoiler
KaRnwy2
SueDonim
8 - Asteroid
Spoiler
Solution.PNG
- Grabbed month letter by taking left character of string
- Created Year field by noting if length is 3, then take rightmost 2 characters, otherwise Null
- If Year is Null, take value of record above
- Set Month Number by numbering field, grouped by year
- Converted month number to month using formula I found in a post from MarqueeCrew - it creates a dummy date (year and day don't matter), then extracting Month using %b
- Eliminated extraneous MonthNum columns

Lessons learned:  Learned left and right functions, how to insert a Null, a clever date formula courtesy of MarqueeCrew

jusdespommes
8 - Asteroid

Went down the rabbit-hole with this one - but it's done 🙂

 

Spoiler
WeeklyChallenge21.PNG
AbbieRoss-Carter
8 - Asteroid
Spoiler
 
ArnavS
Alteryx
Alteryx
 
BSilverblatt
8 - Asteroid

Thanks for the challenge! This is my solution.

aazimh
8 - Asteroid

Fairly simple but good to see other solutions to the problem.

kmbutterfield
7 - Meteor