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.

How to label and rank various weeks by oldest to newest

jarrazolo2
6 - Meteoroid

Hello,

 

I will be feeding the workflow new data each week so i need the formula to be dynamic.

 

I have a data set that has a week of column. I would like to find a way to create a new column called 'Week #' that ranks the weeks by oldest to newest. can anyone help please?

 

 

RecordWeek OfWeek #
129-May1
222-May2
315-May3
48-May4
3 REPLIES 3
smoosh
8 - Asteroid

Sorting will do what you need. biggest trick for you will be getting the date values into the proper format. See attached as an example. 

Dina
9 - Comet

Once the you covert the Week of to a date, you should be able to sort the way you like. 

Dina_1-1685643301053.png

 

geraldo
13 - Pulsar

@jarrazolo2 

 

a couple example every year

Labels
Top Solution Authors