Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Data Manipulation

EvansM
9 - Comet

Hello everybody,

 

Please refer to the attached documents

 

Document LOCTYPE is a data sample 

EvansM_0-1635273776644.png

 

 

Document EXPETED RESULT LOCTYPE is how the data should look like when is done 

EvansM_0-1635278756666.png

 

 

 

Thanks  

5 REPLIES 5
chukleswk
11 - Bolide

What is it you're trying to accomplish here. I can see the example dataset and the expected output....but what rules are you trying to apply? If there's multiple of the "Name" then the consecutive ones "LOCTYPE_ID" change to a 2? Some more information would be helpful to see what it is that you're trying to do.

chukleswk
11 - Bolide

The attached workflow produces your expected results using a multi-row formula of: if [Row-1:NAME] = [NAME] then 2 else 1 endif

Capture.PNG

EvansM
9 - Comet

@chukleswk Please refer "LOCTYPE_ID on the document 2

chukleswk
11 - Bolide

@EvansM Please see the above solution this produces the expected output.

EvansM
9 - Comet

@chukleswk  Thanks a lot 

Labels