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.
SOLVED

Data comparison between multiple fields

NiranjanK1
8 - Asteroid

Hi All,

 

i have below data how can i compare data and give true-ups. what is the best way to do the comparisons in Alteryx.
when i read article they are using Fuzzy Match. what are the other ways we can compare multiple columns.

Input            
             
NumEDateP Date T DateS Date RateCostS CostD Rate    
2293110/4/202210/6/202210/04/202210/06/2022171000-71,000.001.0    
10078410/4/202210/19/202210/04/202210/20/20220.91139700-1,139,700.000.9    
3910710/4/202210/6/202210/04/202210/06/202213700-3,700.001.0    
28074910/4/202210/19/202210/04/202210/20/20220.9125100-125,100.000.9    
             
             
             
Expected Output            
NumEDateT DateCompP Date S DateComp RateD RateCompCostS CostComp
2293110/4/202210/04/2022TRUE10/6/202210/06/2022TRUE11.0TRUE71000-71,000.00TRUE
10078410/4/202210/04/2022TRUE10/19/202210/20/2022TRUE0.90.9TRUE1139700-1,139,700.00TRUE
3910710/4/202210/04/2022TRUE10/6/202210/06/2022TRUE11.0TRUE3700-3,700.00TRUE
28074910/4/202210/04/2022TRUE10/19/202210/20/2022TRUE0.90.9TRUE125100-125,100.00TRUE
             

Thanks in Advance,
NR

3 REPLIES 3
OllieClarke
16 - Nebula
16 - Nebula

Hi @NiranjanK1 

 

I've tried to intuit your rules of comparison, although I'm a bit confused by 10/19/2022 and 10/20/2022 being the same

I don't think you want to fuzzy match here - you can write your rules in a formula tool like so:

OllieClarke_0-1664900565994.png

Then it's a relatively straightfoward workflow

OllieClarke_1-1664900645661.png

 

 

NiranjanK1
8 - Asteroid

@OllieClarke Thank you so much for your response, in which scenario will use fuzzy match. 

OllieClarke
16 - Nebula
16 - Nebula

@NiranjanK1 fuzzy match is where you have text data which is almost the same and you want to either unify or compare them. 

There's a lot of resources dedicated to it on the community, but I recommend checking out the tool mastery blog on it to start: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Fuzzy-Match/ta-p/45485

Labels
Top Solution Authors