I would want to create a column whose value would increase if the value of another column changes. Here is an example:
Party sequence
ABC 1
ABC 1
ABC 1
OOO 2
OOO 2
PIM 3
AAW 4
ABC 5
TOM 6
TOM 6
TOM 6
What I have tried is
update sequence: ?[party=prev party;prev sequence;(prev sequence) + 1]
However, what I keep getting is an error: "Correction hint: length" How can I achieve this task?