Free Trial

Alteryx Designer Desktop Discussions

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

Joining or Merging Two Datasets - Common ID, Update Data

pgrigora
5 - Atom

Hi all, I have been trying to find a solution to this but my search has not been fruitful. I have an excel file, that I need to update weekly with new data. Downstream users update this master file and I need to include their input with every update. If there are new claims, I need to add them to the master file with a specific format. 

 

New Data comes in this format.  Data comes from upstream DBs and user input from downstream users.       

AClaim idB     C
data11data2data3
data12data2data3
data13data2data3
data14data2data3
data15data2data3
data16data2data3
data17data2data3

 

 Current Data are in this format

AClaim idBCDE
data11data2data3user input1user input2
data12data2data3user input1user input2
data14data2data3user input1user input2
data16data2data3user input1user input2
data17data2data3user input1user input2

 

My end result should look like this.

 

AClaim idBCDE
data11data2data3user input1user input2
data12data2data3user input1user input2
data13data2data3NULLNULL
data14data2data3user input1user input2
data15data2data3NULLNULL
data16data2data3user input1user input2
data17data2data3userinput1user input2

 

Basically I need a way to check if the ID is in the current data and if yes, import the data and user input from the current master file. And if the ID is not in the current master file, import the back end data and add some empty columns for user input. I used the union and join tools, but I can't get the output I need. 

2 REPLIES 2
ShankerV
17 - Castor

Hi @pgrigora 

 

One way of doing this.

 

ShankerV_0-1676559470783.png

 

Many thanks

Shanker V

pgrigora
5 - Atom

That works like a charm! Thanks ShankerV!

Labels
Top Solution Authors