SOLVED
List all distinct values grouped by column
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
felipeecst
7 - Meteor
‎02-23-2017
06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi everyone,
What would be the best way to list all the distinct values of my input data grouped by column?
I know I can achieve that by setting a Unique tool for each of my columns, but I have lots of columns, and it would be better if I could automate that.
Thanks in advance.
Solved! Go to Solution.
2 REPLIES 2
20 - Arcturus
‎02-23-2017
06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If you TRANSPOSE the data and uncheck any columns that have know discrete values (e.g. Acct number, address, sales amount) then you can use the UNIQUE tool on Name & Value to see your list.
Alteryx ACE & Top Community Contributor
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
DultonM
11 - Bolide
‎02-23-2017
06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @felipeecst! Try downloading and using the "List Field Values" macro I saved out here in the Alteryx Analytic Gallery (you'll need to be signed in...same credentials as the Community). I made it for exactly what you are talking about. Each field's list of unique values are listed side by side in the output. Let me know if you experience troubles!
