Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Matching values in different rows and columns

lolwat00000
5 - Atom

Hello, I have a dataset that looks like this, there is a matching key that goes in zig-zag pattern, there could be more than 3 changes

 

Input:

SourceTarget
aaabbb
111222
bbbccc
cccddd
+++---

 

Output needed:

SourceTarget
aaaddd
111222
bbbddd
cccddd
+++---

 

I have done it using Join tool, but would like to see if there's a better way to solve it

 

I have tried Make Group tool but it seems it will fail if the combination is like below, where it outputs 777 - 999 instead of 999 - 777:

SourceTarget
999777

 

Thanks!

0 REPLIES 0
Labels
Top Solution Authors