Alteryx Designer Desktop Discussions

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

Create Table Summary

Thess_Luck
5 - Atom

Hi community!

 

I'm pretty new to Alteryx and need some help with getting an overview of my datasets. My data consists of multiple columns containing different tags respectively. I want to count the occurences of each unique entry in each column and get ONE overview table.

I just created some random data Excerpt.xls.

I achieve to get the summary for each single column very easily with using the GROUP BY and COUNT actions within the SUMMARIZE tool. What I want to get as an output is a table as follows with exactly this count statistic for every column (I just show this here for the first random data columns). I struggle with this. So far I tried some things with transposing the table and using TILE afterwards. But I always run into the problem of counting the entries. Can anybody help me with this? 

 

Cheers, Thess

 

amenitycountfruitcounthighwaycount
t2apple 1tertiary54
a10banana 13secondary61
c4orange12residential229
z2strawberry2living_street17
k7  pedestrian13
    primary77
    service14
    path3
    footway4
    unclassified23
    primary_link1
    trunk_link1
    tertiary_link1
3 REPLIES 3
WesCannon
Alteryx
Alteryx

Hi Thess,

 

You can use a 'Join Multiple Tool' and select the 'Join by Record Position' option to achieve your desired outcome. I've attached a a workflow using your Excerpt.xlsx file that creates the desired summary table.

WesCannon_0-1670256191004.png

 

I hope this helps!

 

Thanks,


Wes

 

Thess_Luck
5 - Atom

Thanks for your answer. Your solution solves one part of the problem, I get the table in the layout I wanted it to be. I am just wondering if there is a possbility to run the SUMMARIZE tool iteratively for every column in the dataset without configuring it by hand. Let's say I have a dataset with not only 5 or 6 columns, but 20. Is that somehow feasible?

WesCannon
Alteryx
Alteryx

Hi Thess, it is possible to count the records dynamically for every column in the dataset by using a batch macro. I've created a batch macro that achieves this functionality and layout however one thing to note is the output will have more null values as the batch macro will stack each summarized column. 

 

I hope this helps!

Labels