We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

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
14 - Magnetar

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
14 - Magnetar

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

 

Happy Solving!!!

Labels
Top Solution Authors