Free Trial

Alteryx Designer Desktop Discussions

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

Creating households

Nsantana
7 - Meteor

What would be the best way to create households?

I have a list of customer ids and addresses but the addresses can vary a bit. 

How can I group customers with almost identical addresses into a household?

5 REPLIES 5
BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@Nsantana Have you got some sample data?

 

All the best,
BS

LinkedIN

Bulien
Nsantana
7 - Meteor

Please see attached. The HH column is the desired output.

Nsantana
7 - Meteor

Please see attached. The HH column is the desired output. 

danilang
19 - Altair
19 - Altair

Hi @Nsantana 

 

Here's one way you can do it.

 

danilang_0-1678550463741.png

 

Use a formula tool to build the complete address without the zip code.  Perform a Fuzzy Match on address and zip and then use a Make Groups tool to extract the chains of connected items in the fuzzy match output.  Join to the original data and add in the HH# calculated using the Summarize and Record ID tools.

 

danilang_1-1678550668148.png

I added an extra row to add a second resident to the group 2.

 

Dan  

 

Nsantana
7 - Meteor

This is perfect! Thank you!!

Labels
Top Solution Authors