Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Multiple Record Matches across Users

JordyMicheal
11 - Bolide

Hey All, long time no see!!

 

Back to your regular scheduled altering!!

I have a large datasheet of users with their first names and last names.

I want to match every user by last name, but in a mesh.


EXAMPLE: SMITH

Joe Smith
Jane Smith

Fred Smith

 

Fred joins to Joe and Jane

Jane joins to Joe and Fred

Joe joins to Jane and Fred

 

I used a multi row to grab matches above and below, which gives me close to what I am looking for:

 

2019-02-22_9-02-03.jpg

 

What I would like to be seeing is this:

2019-02-22_9-04-58.jpg

 

Any help on how to get all the matches across multiple rows would be amazing! I can consolidate them into the Source and Target example without a problem!

 

Thanks so much!!

Jordan

2 REPLIES 2
Kenda
16 - Nebula
16 - Nebula

Hey @JordyMicheal!

 

I'm not exactly sure how your input looks or how many different last names you'll have, but try the attached workflow, and see if that works for you. 

 

In case there are multiple last names in your input file, I accounted for that in the workflow, so you will see two extra names in the input and output.

 

Let us know if this works for you! The key is using the Append Fields tool then a Filter.

 

Capture.PNG

JordyMicheal
11 - Bolide

@Kenda you're a rockstar!!!!

Append Fields tool saved the day all day.


Thanks so much - I love this community

Labels