ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Assigning Dates a Value in the ascending order

Kirtana
Átomo

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 RESPUESTAS 5
wwatson
Cuásar

Try something like this:

 

wwatson_0-1596446525013.png

 

Kirtana
Átomo

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
Cuásar

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

wwatson
Cuásar

here is another option to cope with repeating dates:

wwatson_0-1596454002205.png

 

Kirtana
Átomo

This worked! Thank you 🙂

Etiquetas
Autores con mayor cantidad de soluciones