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

Add a column of one table to another table.

KrishnaChithrathil
11 - Bolide

Hello Community!

KrishnaChithrathil_2-1659602025202.png

 

 

I have to compare 2 tables. Table A & Table B. 

Need to check if all Order ids in Table A is present in the Table B. If present, take the matching Product Category from Table B, and add another column in Table A as Product Category (Populate Table A with one more column Product Category, which is from Table B). 

For unmatched order id, populate Product Category as N/A.

 

 

Thanks,

Krishna

3 REPLIES 3
NataliaElias
7 - Meteor

Hi, 

You can use the 'Find Replace' Tool with the following settings (Make sure your Order ID column is a string):  Capture.PNG

Unmatched items will have a null product category. You can use a formula tool to replace null rows with N/A. 

Best, 

Natalia

davidskaife
14 - Magnetar

Hi @KrishnaChithrathil 

 

Here is an example for you:

 

DavidSkaife_0-1659602616920.png

 

KrishnaChithrathil
11 - Bolide

@davidskaife 

That was neat. Thanks.

Labels
Top Solution Authors