Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Group Nr, sequence in group

jeffv
8 - Asteroid

I have a simplified table as follows:

cat1   cat2   recid

a       1        1

a       3        2

b       6        3

b       2        4

c       0        5

 

What I would like to get is:

cat1   cat2   recid   grpnr  seqnr

a       1        1        1        1

a       3        2        1        2

b       6        3        2        2

b       2        4        2        1

c       0        5        3        1

 

It seems like it would be simple but I must be missing it.   I've tried with tile tool and multirow but can't seem to get grpnr (group number) and seqnr (sequence within group).   I have reviewed the articles but am missing how either tool will get me this info.   Any insight?

 

Thanks,

Jeff

1 REPLY 1
binuacs
21 - Polaris

@jeffv something like this

binuacs_0-1675465022252.png

 

Labels