Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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