Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!

Alteryx Designer Desktop Discussions

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

Fuzzy match - Only keep record with highest match score

YanishDewan
7 - Meteor

Hi 

 

I have ran a fuzzy match process (Merge mode) which compares company name from source 1 to a master company table (source 2) and my output after elimination duplicates contains the following:

 

Invoice NumberCompany NameMatch score
1ABC (UK) Ltd100
1ABC (IE) Ltd91
2XYZ Ltd92
3DEF Ltd93

 

How can I use Alteryx to eliminate the duplicate on Invoice 1 to keep only the match with highest score? The desired output table is:

Invoice NumberCompany NameMatch score
1ABC (UK) Ltd100
2XYZ Ltd92
3DEF Ltd93
1 REPLY 1
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @YanishDewan,

 

You could use the sample tool to group by invoice number and keep the first record:

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

Labels
Top Solution Authors