Alteryx Designer Desktop Discussions

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

join two excel spreadsheet then using outer join to update/replace reference spreadsheet

ashamluo
7 - Meteor

Hello Alteryx Community,

 

I have been searching on the community for this topic, but could not find any. Not sure if this is possible to do, I would really appreciate if you could help.

 

I have two spreadsheet (#1 and #2) and i joined them together, if there is new data then I would get rows in my right/outer join (which is the data that I am concern of).

 

Then I have a spreadsheet call reference,

what I want to do is to look at the rows from reference spreadsheet and replace entire row that matches two records (country and holiday) from the result of the joined spreadsheet. 

 

#1

countryholidaydatedayschoolbank
Argentinanew year01-01-2022Saturdaycloseclose
ArgentinaPublic Sector Holiday01-13-2022Thursdayopenopen
ArgentinaPublic Sector Holiday01-14-2022Fridayopenopen

 

#2

countryholidaydatedayschoolbank
Argentinanew year01-01-2022Saturdaycloseclose
ArgentinaPublic Sector Holiday01-13-2022Thursdayopenopen
ArgentinaPublic Sector Holiday01-14-2022Fridayopenopen
Brazillabor day05-01-2022Sundaycloseclose

 

Outer Join of #1 and #2

countryholidaydatedayschoolbank
Brazillabor day05-01-2022Sundaycloseclose

 

Reference

countryholidaydatedayschoolbank
Argentinanew year01-01-2022Saturdaycloseclose
ArgentinaPublic Sector Holiday01-13-2022Thursdayopenopen
ArgentinaPublic Sector Holiday01-14-2022Fridayopenopen
Brazilnew year01-01-2022Saturdaycloseclose
Brazillabor day05-01-2021Mondayopenopen
ColombiaEpiphany01-06-2022Thursdaycloseclose

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------

Outcome that I want (entire brazil/labor day being updated from this reference table)

countryholidaydatedayschoolbank
Argentinanew year01-01-2022Saturdaycloseclose
ArgentinaPublic Sector Holiday01-13-2022Thursdayopenopen
ArgentinaPublic Sector Holiday01-14-2022Fridayopenopen
Brazilnew year01-01-2022Saturdaycloseclose
Brazillabor day05-01-2022Sundaycloseclose
ColombiaEpiphany01-06-2022Thursdaycloseclose

 

Thank you so much!

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@ashamluo 
I think it is basically Join and Union as below

0503-ashamluo.PNG

ashamluo
7 - Meteor

Oh my goodness! I don't know this just did not come to my mind! thank you!

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