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

Clustering

FabioP
8 - Asteroid

Hello,

I got the following scenario (image attached), I'm working on a code/algorithm that help me to get the number of groups (3 in the example) in a matrix array, I dont know how to make it on alteryx.

The constraints are:

  • To be considered a group the objects must match in 2 or more columns (example object 5 and 6 are no group with 7 and 8 becouse they only match on column 6)
  • One object can only be part of only one group then it sould be discarded
  • Object Ids and column names are unique
  • There can be 0 to n number of groups

Thank you in advance!

 

download.png

2 REPLIES 2
OllieClarke
15 - Aurora
15 - Aurora

@FabioP 

Here's my approach with this:

OllieClarke_0-1665755066026.png

It definitely works with your sample, and I think that it will scale, but test it on your actual data...

OllieClarke_1-1665755132975.png

 

 

cpvacab
5 - Atom

How can solve it with Predictive Grouping - Clusters?

Labels
Top Solution Authors