In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Match Inconsistent Data between 2 Inputs

tahertalib
7 - Meteor

Hi 
I have 2 datasets which i need to merge:

 

Input 1:

 

DescriptionIDA-Loc IDZ-Loc ID
Bose123ABC12TAT456
Surface874TTT543BGKKK134

 

Input 2(This input has the address for the Loc ID's in Input 1)

 

IDUseAddress
ABC123456HeadphonesNew York
TAT456X12LaptopLos Angeles
AATTT54378TestSeattle
BGKKKTest1Denver

 

 

Output i need:

 

DescriptionIDActual A-Loc IDMathced A-Loc IDActual Z-Loc IDMatched Z-loc IDA-AddressZ-Address
Bose123ABC12ABC123456TAT456TAT456X12New YorkLos Angeles
        

 

I tried using Find Replace tool for the above, but that doesn't seem to work.

 

The 'Find Replace' tool only works fine when i use it for A-Location. But when i use the output of A-Loc as an input to find match for Z-loc, it doesn't work.

Is there any better way to do this?

 

Thanks

1 REPLY 1
AngelosPachis
16 - Nebula

Hi @tahertalib ,

 

What you might have to do is use a transpose tool after your number 1 input because you want to look for both values contained in columns A-Loc ID and Z-Loc ID

 

AngelosPachis_0-1617999078241.png

 

Then you can create the new column headers in a formula tool and pivot the table as necessary to get the required output.

 

Hope that helps, let me  know if that worked for you.

 

Regards,

 

Angelos

 

Labels
Top Solution Authors