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
13 - Pulsar

Hi @KrishnaChithrathil 

 

Here is an example for you:

 

DavidSkaife_0-1659602616920.png

 

KrishnaChithrathil
11 - Bolide

@DavidSkaife 

That was neat. Thanks.

Labels