Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

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

Replace Values in Columns in a Table using a different Table

dmc141
6 - Meteoroid
 

I have two tables, Table 1 and Table 2 as listed below. Note that Table 1 and Table 2 have matching column names, but Table 1 has extra columns which are not in Table 2. Also, both Table 1 and Table 2 have matching values in all the "Key" columns.

 

 

Screenshot 2025-03-26 111959.jpg

 

 

Using the matching keys in both Table 1 and Table 2, I want to replace the values which match using the values in Table 2. As a result, the new updated Table 1 should look like this:

 

 

Screenshot 2025-03-26 112036.jpg

 

I tried to do something like find and replace, but it seems like a very inefficient way to do it, so if anyone could help me with this I would greatly appreciate it. I also added the test data below, thank you!

2 REPLIES 2
ntakeda
12 - Quasar

A common solution is to refer to columns from Table2 only when performing a JOIN.

I’ve created a workflow for your reference.

2025-03-26_11h36_21.png

 

Let me know if this doesn’t meet your requirements.

flying008
15 - Aurora

Hi, @dmc141 

 

Another way for you:

 

录制_2025_03_26_11_37_46_650.gif

Labels
Top Solution Authors