Alteryx Designer Desktop Discussions

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

Replace Column Value With Data From Another File's Column

shaheer
8 - Asteroid

I have two sets of data that are similar to this:

 

File A

NameHeightColourTPMManager
Amy6Red10Kris
Bob6Green10Yuri
Carl6Blue10Wendy
Derrick5Purple10Anna

 

File B

NameAgeAPRTPMDirector
Amy20310Jeffrey
Elay21510Manny
Carl22310Tiago
Fred20210Veronica

 

Wherever a name from file A occurs in file B, I want to replace the manager in file A with the one in file B. For example, an output here would be: 

 

NameHeightColourTPMManager
Amy6Red10Jeffrey
Bob6Green10Yuri
Carl6Blue10Tiago
Derrick5Purple10Anna

 

As you can see, Amy and Carl's managers have been updated. (EDIT) Note; In one file, the column name is Manager whereas in the other it is Director (EDIT) How do I go about doing this? 

1 REPLY 1
Felipe_Ribeir0
16 - Nebula

Hi @shaheer 

 

One way of doing this, just be careful with duplicated names. If you have any ID field related to these names to use as join key, it would be better.

 

Felipe_Ribeir0_0-1669914265905.png

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels