Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Check values in a Referenced Table

tjamal1
8 - Asteroid

Hello,

We have a column which contains 1000 records with a column name 'country'

 

I need to check whether each of this column value value match our reference country table which contains only two values

 

United States 

Canada

 

Note: Matching should not case sensitive 

3 REPLIES 3
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @tjamal1,

 

So the first step would be to convert the country fields in both tables to upper or lower case just in a formula tool and then join both tables together on the country field using a join tool. Those records which come out of the "J" output anchor match the reference table, those which fall out of the "L" or "R" output anchors do not appear. You can then remove the added column using a select tool if you need.

 

If this solves your issue please mark the answer as correct, if not let me know! If you attach some sample data i'll put up an example for you.

 

Regards,

Jonathan

 

tjamal1
8 - Asteroid

Thanks for reply.

I want to keep both un match and unmatch records together and create another column which says matched record and unmatched record

Jonathan-Sherman
15 - Aurora
15 - Aurora

So after the join you would want a formula tool connecting to output anchors to create a new "Matched / Unmatched" column and union both results together

 

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow using some mocked up data for you to download if needed.

 

Regards,

Jonathan

Labels