Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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
18 - Pollux
18 - Pollux

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
18 - Pollux
18 - Pollux

Happy to help!

Labels
Top Solution Authors