Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

How do I make the "latest" record = 1?

dlee9
6 - Meteoroid

I have a field in my data set named "Latest" where when a new record is entered it will be = to 1 and the newest one prior to that will be = 2 and so on. Is there a way to do this? It sounds similar to record ID but reverse if that makes sense.

2 REPLIES 2
echuong1
Alteryx Alumni (Retired)

Kind of a backward process, but I suggest assigning each record with a record ID going down by using the Record ID tool. After that, use the Sort tool to sort the records by the record ID, descending. After that, you can use another Record ID tool to assign the proper values. 

 

echuong1_0-1598896442810.png

 

 

Hope this helps!

dlee9
6 - Meteoroid

That's perfect. Thanks so much!

Labels
Top Solution Authors