Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Sort Week Rows Chronologically

araquecastro
7 - Meteor

Hi people,

 

I have an output file with over 50000 results with several columns. One of the column headers is WEEK with the following result (this is an extract of the final results). 

I want all data to be organize chronologically like the right image. Thanks for the help you can provide.

 

PD: This is my first post and not acquainted with the way to post tables so far.

 

3 REPLIES 3
CoG
13 - Pulsar

This formula should give you a sorting field:

DateTimeFormat(DateTimeParse(GetWord([WEEK], 0),"%b"),"%m") + Right([WEEK],1)

araquecastro
7 - Meteor

Hi @AndrewDMerrill this works great!!!. Thank you!!!

CoG
13 - Pulsar

@araquecastroPlease also mark my response as a solution, in order to help others find the solutions that they are looking for!

 

Happy Solving!!!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels