Alteryx Designer Desktop Discussions

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

Adjacent rows in a field should not be same

Data_Alter
8 - Asteroid

Hi I am building a larger workflow where I don't want adjacent rows for the account number column should not be same

 

Basically if the dataset looks like this

Document NumberAccount NumberAmount
d1000         5.00
d1000-       5.00
d2000-       5.00
d2000         5.00
e8000       10.00
e8000-     10.00
e8000       10.00
e8000-     10.00
e9000-     10.00
e9000       10.00
e9000-     10.00
e9000       10.00

 

It should look like this

 

Document NumberAccount NumberAmount
d1000         5.00
d2000-       5.00
d1000-       5.00
d2000         5.00
e8000       10.00
e9000-     10.00
e8000-     10.00
e9000       10.00
e8000       10.00
e9000-     10.00
e8000-     10.00
e9000       10.00

 

3 REPLIES 3
BS_THE_ANALYST
14 - Magnetar

One way to do this:

BS_THE_ANALYST_0-1675359411821.png

 

FinnCharlton
13 - Pulsar

Hi @Data_Alter , I would approach it like this:

FinnCharlton_0-1675359457316.png

 

binuacs
20 - Arcturus

@Data_Alter One way of doing this

 

binuacs_0-1675362255778.png

 

Labels