Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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