Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Duplicated records from Join tool due to slightly different field between L and R inputs

oracleoftemple
9 - Comet

See attached file.  I joined on the first three fields.  I would have included the 4th field as well, but I would not quite get a match.  The record from source 2 that I DO want to join is the one whose INVC_NUM is more similar to the INVC_NUM from source 1.

 

I know there's a solution, but I just can't see it.

 

Joel

2 REPLIES 2
treepruner
9 - Comet

I looked at your spreadsheet and I was unclear if it was a rule that you omit the 1st and last 2 positions to make the match. If it is a rule, just add a Formula tool to create a new field, use the appropriate string functions to select the portion of the field you need and use the new field in a 4 field join.

 

If the position isn't fixed and you want something close, these might help:

 

 

Sarah

RobertOdera
13 - Pulsar

Hi, @oracleoftemple 

 

Are you (ultimately) trying to avoid duplicate counts for invc_ship_qty?

 

RobertOdera_0-1604072189360.png

Cheers!

Labels
Top Solution Authors