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.

Append Rows if new Column Values Else Replace

harshal98
8 - Asteroid

Want to Replace existing value for position  if id, date and number are same values existing in table.

If any of the 3 are new values append the row. 

Input 2 FilesInput 2 Files

 

Output File : 

Output FileOutput File

 

 

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @harshal98 

 

You can use a Union Tool to merge and Sample Tool Last 1 row groupby Id to get the desired output.

 

Hope this helps 🙂

atcodedog05
22 - Nova
22 - Nova

Hi @harshal98 

 

Something like this.

Here is a workflow for the task.

Workflow:

atcodedog05_0-1608030788733.png

 

Last 1 in configured to get the latest data.

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

rkapoor
Alteryx
Alteryx

@harshal98 check out this quick workflow.

grazitti_sapna
17 - Castor

Hi @harshal98 , you can do this using join tool as well.

grazitti_sapna_0-1608031217943.png

 

I hope this helps.

 

Thanks.

Sapna Gupta
Labels
Top Solution Authors