We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Cross-check one database against another

eleee3
8 - Asteroid

Hi there,

 

I have two databases (main and dictionary), and I want to check that all the classes in my main database are listed in my dictionary. An example of how the main database looks is:

 

Car DescriptionManufacturer CodeModel
Car No. 1TYCorolla 
Car No. 2MZCX-5
Car No. 3VVXC-90
Car No. 4MTEl Grande
Car No. 5VWGolf

 

And an example of the dictionary database looks like this:

 

Manufacturer CodeDescriptionManufacturer CodeDescriptionManufacturer CodeDescription
TYToyotaMZMazdaTSTesla
VVVolvoMTMitsubishiRRRolls Royce

 

So I want Alteryx to look at the Manufacturer Code column in my main database and check it against the three Manufacturer Code columns in my dictionary database. If there's a Manufacturer Code in my main database that doesn't appear in my dictionary database, I want it (and the associated information - car description, make, etc.) to be pulled into a separate spreadsheet.

 

So using the above as an example, as "VW" appears in my main database but not my dictionary database, I want the output to be:

 

Car Description Manufacturer CodeModel
Car No. 5VWGolf

 

Could someone please help me set this up?

 

Thanks in advance!

4 REPLIES 4
Raj
16 - Nebula

try using join tool.

By the time i am sharing workflow for same.

Raj
16 - Nebula

find the solution attached

ShankerV
17 - Castor

Hi @eleee3 

 

One way of doing this!!!

 

ShankerV_0-1676525281542.png

 

Many thanks

Shanker V

eleee3
8 - Asteroid

Thank you both very much, @Raj and @ShankerV !

Labels
Top Solution Authors