We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

using text input to reorder record IDs

Ksisterhen
8 - Asteroid

Hi -

 

needing help on how to use the text input tool so that I can reorder my records based on a unique recordID line up.

 

i.e recordIDs currently show in numerical order and I would like to change it to 1, 2, 4,6, 3,5

4 REPLIES 4
alexnajm
18 - Pollux
18 - Pollux

You could use a Multi-Row Formula tool to assign a RecordID based on the logic of your choice - unsure what the logic is beyond the first six rows but this tool should help!

BS_THE_ANALYST
15 - Aurora
15 - Aurora

@Ksisterhen 
I'd do it like this:
Original data on the top stream

BS_THE_ANALYST_0-1679864079215.png

 

New ids on the bottom stream:

BS_THE_ANALYST_1-1679864094325.png

Use the Join tool with Record Position:

BS_THE_ANALYST_2-1679864124032.png


It will create that manual matchup, then you can sort on the id column after.

 

All the best,
BS

All the best,
BS

LinkedIN

Bulien
Ksisterhen
8 - Asteroid

Still having issues, it is sorting in the wrong order see screenshots

alexnajm
18 - Pollux
18 - Pollux

@Ksisterhen follow the configuration of @BS_THE_ANALYST above - for example you are still using a RecordID tool and joining on key fields which would not work for this solution!

Labels
Top Solution Authors