In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

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
15 - Aurora
15 - Aurora

One way to do this:

BS_THE_ANALYST_0-1675359411821.png

 

All the best,
BS

LinkedIN

Bulien
FinnCharlton
13 - Pulsar

Hi @Data_Alter , I would approach it like this:

FinnCharlton_0-1675359457316.png

 

binu_acs
21 - Polaris

@Data_Alter One way of doing this

 

binuacs_0-1675362255778.png

 

Labels
Top Solution Authors