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.

Finding shared values in two files

45179902
8 - Asteroid

I have manually entered Addresses in two files. These files will be used to output letters. Before that, I must make sure there're no duplicate addresses. If there're are, I want to keep only one of those records. These files have a shared column but has different number of records. Using a Join would leave the ones that don't match off. I will need to send out letters for all records. Hope that you can come up with something using this hilarious example data:

 

File 1

Property NameProperty OwnerProperty Address
Apple HouseAppleR101 NO 18 Apple Rd
Orange HouseOrangeR301 NO 17 Orange St
Grape HouseGrapeR101 NO15 Grape Ave

 

File 2

Property NameProperty OwnerProperty Address
Apple HouseAppleR102 NO 18 Apple Rd
Orange HouseOrangeR301 No. 17 Orange Street
Banana HouseBananaR100 NO.15 Banana Ave

 

Results should be

Property NameProperty OwnerProperty Address
Apple HouseAppleR101 NO 18 Apple Rd

 

Orange HouseOrangeR301 NO 17 Orange St
Apple HouseAppleR102 NO 18 Apple Rd
Banana HouseBananaR100 NO.15 Banana Ave
3 REPLIES 3
saveeshkumar
9 - Comet

Hi GeorgeL,

You can the Join tool to get the below output.

 

L-[#1] - > Gives you Unmatched Records from Left Table

 

J-[#2]->  Gives you Unique records

 

R-[#3]-> Gives you unmatched records from Right Table 

 

Union Tool give you desired output.

 

saveeshkumar_3-1643093191325.png

 

 

 

saveeshkumar_0-1643092717074.png

 

saveeshkumar_1-1643092914495.png

 

Hope this helps you.

 

Thank you.

 

45179902
8 - Asteroid

Hi, @saveeshkumar Thank you for your response. But your output is different from my expectation. If there're duplicates, I need to keep at least one of the records as shown in my desired output. There should be two Apple.

saveeshkumar
9 - Comet

Hi @45179902 ,

 

Oops,my mistake in understanding it right..

I have made some changes for property address column using formula.

Hope this help you.

 

saveeshkumar_0-1643105969264.png

 

thanks.

Labels
Top Solution Authors