Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

How do I update new data?

etcbiz
5 - Atom

Hello,

 

I have a data set that I'd like to update for only one specific field. I'm having trouble using the Find/Replace and Join tool and thought I'd ask. So the overall goal I'd like to accomplish and append Table 2 to Table 1 but then replace the row that has an updated and new finish date. As you can see below. I can add in the new data from Table 2 to Table 1 but it ends up creating a new instance for Sarah. I'd like to be able to update the Sarah/Client2/Project2 to update with the new finish date and the new billing type. Table 3 is what i'd like to be able to produce. Any help would be much appreciated!

 

Table 1 (Original):

 

ClientProjectStaff MemberStart DateFinish DateBilling Type
Client1Project1

Joe

1/1/20226/5/2022Hourly
Client2Project2Sarah10/5/20213/5/2022Weekly
Client3Project3Billy9/15/20229/1/2023Weekly

 

Table 2(New Data):

 

ClientProjectStaff MemberStart DateFinish DateBilling Type
Client4Project4

Barry

1/1/20236/5/2024Hourly
Client2Project2Sarah10/5/20218/5/2022Hourly
Client5Project5John4/15/20239/1/2024Weekly

 

Table 3 (Final output):

 

ClientProjectStaff MemberStart DateFinish DateBilling Type
Client4Project4

Barry

1/1/20236/5/2024Hourly
Client2Project2Sarah10/5/20218/5/2022Hourly
Client5Project5John4/15/20239/1/2024Weekly
Client1Project1

Joe

1/1/20226/5/2022Hourly
Client3Project3Billy9/15/20229/1/2023Weekly
4 REPLIES 4
binuacs
21 - Polaris

@etcbiz one way of doing this

image.png

etcbiz
5 - Atom

In the Join tool, would I have to set all the Fields that I want to be joined at (except for finish date and billing type)?

etcbiz
5 - Atom

In the Join tool, would I have to set all the Fields that I want to be joined at (except for finish date and billing type)?

binuacs
21 - Polaris

@etcbiz You can join with any unique fields in the join tool. In this case you can use client as the key

Labels