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

Generating a Frequency for All Columns

cmbarnett
6 - Meteoroid

I have a file that I'd like to run frequencies for every column in my data set. The Frequency Table tool will only get me counts for text columns but I have numeric columns. Is this the right tool to use or is there something else I should use?

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @cmbarnett you can do this in a number of ways I would suggest using a summasize tool and grouping by your column and then doing a count. Attached a workflow showcasing this way and a few others.

 

Frequencies.JPG

danilang
19 - Altair
19 - Altair

Hi @cmbarnett 

 

If you need the output of the Frequency tool including information like Cumulative percent, you can use a Multi-field tool right before the Frequency to force the fields to all be string fields

 

Dyn.png

 

If you need to retain the original field types, check the Copy output Field box.  If not, leave it unchecked to convert the fields in place

 

Dan 

cmbarnett
6 - Meteoroid

This worked perfectly! I had nearly 700 columns so changing their data type made this very easy!

VarunLakhwani
5 - Atom

Thanks a lot for this! This was a nice workaround to be able to use the Frequency Table Tool.

Since I wanted the frequencies for all the fields but retain the data types at the same time, I used this approach, along with the Frequency Table Tool and Dynamic Rename/Select tools to achieve this.

Labels