In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Assigning Dates a Value in the ascending order

Kirtana
5 - Atom

Hello - I have a column which has 4 or 5 dates in it (these dates will change every time). I need to add a column which tags the first (earliest) date as 1, the second (next) as 2 and so on. 

Appreciate your help!

 

Thank you 🙂

5 REPLIES 5
wwatson
12 - Quasar

Try something like this:

 

wwatson_0-1596446525013.png

 

Kirtana
5 - Atom

Oh thank you! I actually forgot to mention that the dates would be repetitive. 

 

Eg: 50 rows with the 3 dates below:

2nd Apr

5th Apr

6th Apr

 

I would need everything under 1st April as 1, All lines under 5th April as 2 and so on! More like a grouping! 

Is that possible?

wwatson
12 - Quasar

you would have to define how you want the grouping to work, but i am sure it can be done in the formula.

wwatson
12 - Quasar

here is another option to cope with repeating dates:

wwatson_0-1596454002205.png

 

Kirtana
5 - Atom

This worked! Thank you 🙂

Labels
Top Solution Authors