Building Groups Based on Relations

Building Groups Based on Relations

Grouping is not necessarily a very unusual task - customer groups always come to my mind spontaneously. Common characteristics are often used, such as sales, and often also socio-demographic characteristics.

But relationships can also be the starting point for grouping, for example, to identify influences that may not be directly measurable.?Relationships can also provide interesting insights for analyzing cooperation in teams (watching a soccer match you can sometimes immediately notice that collaboration doesn't really work, in companies it's often a bit more difficult to spot something like that).

The basic principle of this kind of grouping is very simple: if there is a relationship between two elements and one of these elements also has a relationship with another, then they belong to a group.?In the following example you can see very well that in many cases there is only one connection (e.g. between "A" and "B" or "D" and "H"), but that all orange elements are connected at least by "detours". However, there is no connection to "Blue" and "Green" in the example.

Es wurde kein Alt-Text für dieses Bild angegeben.

With a limited number of elements, it is no problem to recognize something like this, but with an increasing number of elements, it's getting more difficult.

However, if you want to investigate relationships in organizations or even in social networks, for example, it might be too complicated to do it by using this "visual" method.

At this point Alteryx is helping us again.?I have represented the "relationships" from the image in a small table:

Es wurde kein Alt-Text für dieses Bild angegeben.

??The "starting point" is not always uniform - "A" is, for example, once the sender (call, e-mail), in other cases the recipient. In practice, such a list will probably contain many more entries.

To derive groups from this list, we can use the MAKE GROUP tool. The configuration is very simple - we just specify the relevant fields:

Es wurde kein Alt-Text für dieses Bild angegeben.

The tool then returns the corresponding classification:

Es wurde kein Alt-Text für dieses Bild angegeben.

As manually assigned before, the elements A, B, C, D and H end up in a group named according to the first element found (here "A"), F, G and I form the second group, while E is not assigned to any group due to missing relations.

In the example shown here, this is probably not very impressive - it could have been done manually. With a few thousand entries, however, it certainly looks different!

The MAKE GROUP tool will probably not be used in many workflows, but it can save a lot of work for specific applications. And as you know, that is always very important to me ...

要查看或添加评论,请登录

Roland Schubert的更多文章

  • Time For Summary

    Time For Summary

    When I receive a new table or file, I always try to first get an overview. Usually by bringing an INPUT DATA tool onto…

  • A Little Bit More: Oversampling

    A Little Bit More: Oversampling

    When selecting data records, it is often simply a matter of selecting only the first (or last) data from a table…

    1 条评论
  • Different Types of Correlation

    Different Types of Correlation

    I have to admit it - I intuitively tend to look for relationships between different data. And indeed, I often recognize…

  • Grouping Data

    Grouping Data

    Grouping data in some way is an essential part of day-to-day business for data analysts. Many people immediately think…

  • Comparing To Lists

    Comparing To Lists

    Long years ago, a DIY chain in Germany launched a discount campaign entitled "20% discount on all items - except pet…

  • Famous (or Not-So-Famous) Last Words

    Famous (or Not-So-Famous) Last Words

    Sometimes you just have to have the last word - the last word from a text field, of course. When it comes to "breaking…

    1 条评论
  • Break on Error

    Break on Error

    An error has occurred in a workflow and it continues to run anyway? Sometimes that's all right, but only sometimes…

  • Year-To-Date Calculations

    Year-To-Date Calculations

    If you are working in Finance/FP&A/Controlling, calculating "Year to Date" (YTD) values is an essential part of your…

  • Compare Date and Time

    Compare Date and Time

    We often need data only for a specific period of time - a year, a month or a week, sometimes just a few hours, but the…

  • Sample or Random Sample?

    Sample or Random Sample?

    In Alteryx there are some tools that can be used for very different tasks and whose name can sometimes be confusing…

社区洞察

其他会员也浏览了