Free Trial

Alteryx Designer Desktop Discussions

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

Display all results of my vlookup

rchua
6 - Meteoroid

Hello. Good day everyone. Can I get advice on how I can get the results below. I tried find and replace but I only get 1 result. I used join tool as well but I wanted to show the result for DEF to be blank. Is there any way this is possible? Also, if there is a way to get the highest value in Column 5 on the Output table and being reduced back to the original Table 1. Thank you in advance! Would really appreciate anybody looking into this :)

 

Table 1

Column1Column2
ABC123
DEF456
GHI789

 

Table 2

Column1Column2Column3
ABC1235
ABC1596
ABC75312
ABC4563
ABC1354
GHI1477
GHI1238
GHI1599
GHI47810
GHI23645

 

Output

Column1Column2Column3Column4Column5
ABC123ABC1235
ABC123ABC1596
ABC123ABC75312
ABC123ABC4563
ABC123ABC1354
DEF456   
GHI789GHI1477
GHI789GHI1238
GHI789GHI1599
GHI789GHI47810
GHI789GHI23645

 

Highest value in Column 5

Column1Column2Column3Column4Column5
ABC123ABC75312
DEF456   
GHI789GHI23645
4 REPLIES 4
alexnajm
18 - Pollux
18 - Pollux

Use a Summarize tool on Table 2, grouping by Column 1 and 2 and getting the Max of Column 3. That can go into the Join then!

 

If you want to bring back the records that drop out, use a Union tool after your Join to bring them back.

alexnajm
18 - Pollux
18 - Pollux

Alternatively, you could use the Find Replace: VLookUps with Designer - Alteryx Community

MelGibson
10 - Fireball

Hope this helps - - input both tables - add a join (join column 1) in the join tool - rename right column 1 to Column 3, right column 2 to Column 4, right column 3 to Column 5 - add a union tool and union join and left output (left over from table 1) - add a sort tool Column 1 ascending and Column 5 descending - add a sample tool select first N rows  with N = 1 and group by Column 1Column.png

binuacs
21 - Polaris

@rchua another option

image.png

Labels
Top Solution Authors