We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Identifying matches based on combination of three columns

arundaka02
8 - Asteroid

Hi everyone

 

I have a data set (A) I need to overlay with another data set (B). Data set A has Case number, theme and issue data. Data set B has this too, but a fourth column which includes a 'fix'.

 

I need to identify which records in dataset A can have a fix applied to it, based on a match between case numbers, themes and issues. Example below:

 

Data set A (my data)

Case RefThemeIssue
001AffordabilityAffordability not assessed
001ComplaintComplaint not identified
002FeesExcessive fees
003FeesHigh interest

 

Data set B (has the fix)

 

Case RefThemeIssueFix
001AffordabilityAffordability not assessedFix_001
001ProbingInsufficient probingFix_002
002FeesExcessive feesFix_003
003FeesHigh interestFix_004

 

How might I identify instances where case ref, theme and issue match, unlocking a fix for data set A?

As you can see, there may be instances where data set B has different themes and issues and combinations, so I will need to identify those too?

 

Can anyone help?

 

Thanks!

KA

6 REPLIES 6
rkapoor
Alteryx
Alteryx

@arundaka02 have a look at how you can use the 'Join' to help you here in Alteryx Designer.

Emil_Kos
17 - Castor
17 - Castor

Hi,

 

Did you tried join tool?

 

Emil_Kos_0-1607960089727.png

 

Output:

 

Emil_Kos_1-1607960131507.png

 

If this is something that you wanted achieve?

 

arundaka02
8 - Asteroid

Hey @Emil_Kos 

 

I've joined the data sets using the reference number which is great. 

 

However (failed to mention this in my post) but I have c500 records and now need to identify where "theme" and "issue" match and where they don't?

Emil_Kos
17 - Castor
17 - Castor

Hi,

 

The left anchor and right anchor will show you the positions that don't match. This is the left anchor and showed positions what didn't matched from the first input:

 

Emil_Kos_0-1607960401447.png

 

messi007
15 - Aurora
15 - Aurora

@arundaka02,

 

In case no match between A and B, what you will put in fix column?

 

messi007_1-1607960541734.png

 

Attached the workflow,

 

Hope that helps,

Regards

messi007
15 - Aurora
15 - Aurora

@arundaka02,

 

If the answers solves your issue please mark the answer as correct, it will help others 🙂

 

Best Regards,

Labels
Top Solution Authors