Alteryx Designer Desktop Discussions

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

Sequencing

alexlyle
8 - Asteroid

I have a set of codes that will appear on multiple rows. How can I number their occurrences?

Ex: take

CODE1
CODE2
CODE3

and make

CodeSeq
CODE10
CODE11
CODE12
CODE20
CODE21
CODE22
CODE30
CODE31
CODE32
4 REPLIES 4
bpatel
Alteryx
Alteryx

hi @alexlyle ,

 

is this what you are looking for?

 

bpatel_0-1592412556238.png

 

RobertOdera
13 - Pulsar

Hi, @alexlyle 

 

Try this.

Leverage Multi-Row Formula Tool to auto generate Sequence for every group of Code (i.e. Code1, Code2, etc.,)

 

Please mark as solution + like, if this works for you.

RobertOdera_0-1592428056459.png

 

The workflow is attached.

Cheers!

RobertOdera
13 - Pulsar

You're most welcome @alexlyle !

Cheers.

ScottG
Alteryx Alumni (Retired)

Don't forget the sometimes-overlooked Tile Tool.  This is useful for automatically providing a sequence number without having to use the Multi-row Formula Tool.  If you configure the tool for Tile Method "Unique Value", then there will be a sequence number for all records that have the same value.  The sequence will be output in a new field named "Tile_SequenceNum".

Scott Gurney
Strategic Sales Engineer
Alteryx, Inc.
Labels