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

Sequential Numbers on Field Change with Start Number

Feastie
7 - Meteor

Hi,

 

I hope you experts can assist (I know you can!). I'm pretty new to Alteryx and need a little help.

I require a sequential numbering system based on two field changes, which I can achieve by using a multi row tool but, I need it to start from a specific point from an input text tool [Table A]. i.e. I am given a starting reference of 123456, which is the ref for the first group and the subsequent groups will just be +1.

From the input text tool [Table A], how do I place the start ref into the first Ref: cell of the second table [Table B]? Thanks in advance for any help.

 

Table A                            Table B

SeqRef.PNG

3 REPLIES 3
alexnajm
19 - Altair
19 - Altair

Join tool, joining on Record Position, would work well if you just want it on the first record! This is probably the option I'd do - workflow attached

 

Otherwise an Append Fields tool would work well to add it to every row 

Feastie
7 - Meteor

I never thought about joining on record position and then using Union to bring the non-matches back in. Elegant, efficient and a fab solution. Thanks! @alexnajm

alexnajm
19 - Altair
19 - Altair

Happy to help!

Labels
Top Solution Authors