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.

Fuzzy Match with ISO Country Code

faiqz
8 - Asteroid

Hi,

 

I am trying to match my dataset (that contain correct and wrong ISO country code) with the correct dataset of ISO country code (let's call it country_lookup). However, it matches the wrong one. For example, if the country code from my dataset is MYS(which is correct), the fuzzy match will match it with country_lookup ISL. It should be matched with country MYS too. 

 

And there are also the incorrect ISO country code in my dataset which is CIN (I purposely wrote it CIN instead of CHN to see if it match or not) but the fuzzy match do not match that code with any thing. I'm afraid that I have wrong understanding in fuzzy match, thus that's why it match it with the wrong one. If any of you have any solution for this one, please drop it below. 

 

P/S: pls ignore the null value in the shipping_country field.

 

Thank you.

1 REPLY 1
SPetrie
13 - Pulsar

You have your match score set to 100, so only exact matches will be output.

The other problem you will run into is that CIN is a close match for 2 items in your lookup list. CHN and CAN.

How you want to deal with items that don't have a prefect match is up to you. I altered your flow and played with the match settings a bit to get you closer.

I have it flag CIN as no good match being found so you can decide what you want to do with those items.

 

 

Labels
Top Solution Authors