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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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