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.

All the data from the left table and only matching data from the right table

Kaish
8 - Asteroid

I have came across a task where I need to fill in the null values of the left table with the values present in the right table. Here I don't want additional values from the right table, the matching columns are there in both the table. I want a solution in which the lookup value matches the data in left table and fills the data in the output from the right table.

 

Table 1                                                                         Table 2 

A         B        C          D                                                 A         B           C             D

Sam    -          -           1                                                 Dan     21         32            5  

John    34       43        3                                                John     34         43            3 

Ravi     -          -          4                                                Johnny  65        45             7     

Dan      21       -          5                                                Sam      76         87            1

                                                                                     Ravi       65        92            4

                                                                                     Tom       56        23            9

                                                                                     Yen        843      45           12

 

OutPut:

A          B            C           D

Sam     76          87          1

John     34         43           3

Ravi      65         92          4 

Dan       21         32          5

 

 

 

This is the sample, as you can see the data from the left table and right table have common column which is A and D, if the data is matching in right table it should fill the data in the output which is blank. How can I achieve this ? kindly help me out Community members, i am new to alteryx and hence need your expertise. 

 

 

2 REPLIES 2
cjaneczko
13 - Pulsar

Join Table 1 to Table 2 via column A. Then Check Table 1's Column A, uncheck all other fields in Table 1. Check off Column B/C/D in Table 2, uncheck Column A in Table 2. This will give you all of the matches but only the data from Table 2. The J anchor will give you the output you are looking for with this configuration. 

Raj
16 - Nebula

@Kaish find the workflow attached
mark done if solved.

Labels
Top Solution Authors