Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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

Robinvm
8 - Asteroid

Solved

jumansky
7 - Meteor

Solution to Challenge 21

jon_amanrich
8 - Asteroid

My solution for the week 21 challenge, I may have taken a long route 😅

Spoiler
jon_amanrich_0-1638284436826.png

Multirow to fill in the year field. 
summarize: group by year, count year
generate row to get month number
formula: month+'/'+year
convert datetime: string to date
convert datetime: date to string in format 'Monyy'
add record Id on original dataset and output and join on recordID

DSinnett
Alteryx Alumni (Retired)

Used DateTimeFormat and DateTimeParse to get the required Month output.

Watermark
12 - Quasar
12 - Quasar
Spoiler
MT Solution 21.png

jestinejoseph
8 - Asteroid

jestinejoseph_0-1638905734487.png

IF [RegExOut1] IN ("F","S","O","N","D") THEN Switch([RegExOut1],Null(),"F","Feb","S","Sep","O","Oct","N","Nov","D","Dec")

ELSEIF [RegExOut1] = "J" AND [Row+1:RegExOut1] = "F" THEN "Jan"

ELSEIF [RegExOut1] = "J" AND [Row-1:RegExOut1] = "M" THEN "Jun"

ELSEIF [RegExOut1] = "J" AND [Row-1:RegExOut1]= "J" THEN "Jul"

ELSEIF [RegExOut1] = "M" AND [Row-1:RegExOut1]= "F" THEN "Mar"

ELSEIF [RegExOut1] = "M" AND [Row-1:RegExOut1]= "A" THEN "May"

ELSEIF [RegExOut1] = "A" AND [Row-1:RegExOut1]= "M" THEN "Apr"

ELSEIF [RegExOut1] = "A" AND [Row-1:RegExOut1]= "J" THEN "Aug"

ELSE Null()
ENDIF

Tubalady
8 - Asteroid

Here is my solution.  There has to be a better way to convert a Month # to a Month Name...

benjamin_feuchter
8 - Asteroid
Spoiler
benjamin_feuchter_0-1639384843801.png

 

dYoast
11 - Bolide

This took a little thinking.

Spoiler
dYoast_0-1639517398104.png

 

r_manju02
8 - Asteroid

Here is my solution