In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Adding row numbers to sorted data

WonderHog
7 - Meteor

Is there an easy (or complicated) way to add row numbers to a sorted data table?

3 REPLIES 3
Dynamomo
11 - Bolide

@WonderHog

Use the RecordID tool to add an ID to each record.

vmiller
5 - Atom

What if you want the row ID to be sorted by date? (1 = wk. 1 2019, 2=wk 2 2019...... 55 = wk. 3 2020)

Dynamomo
11 - Bolide

@vmiller 

It might be easier if I saw some data but if you have a field containing the week and year, you could sort by this first and then add a rowid once the data is sorted.

Labels
Top Solution Authors