Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Filter Across Multiple Columns

bsolove123
5 - Atom

Attached is an example of my dataset. I want to filter on records where the values of all the companies data, by state and by category, are equal. The last column is what I would expect to be the output of the filter. Is there a way to do this?

3 REPLIES 3
Kenda
16 - Nebula
16 - Nebula

Hi @bsolove123 

 

If there are too many company names to include in a filter, you could consider using the Transpose tool to transform your data first, grouping by state and category. From there, use a Summarize tool to again group by these two fields and count the distinct values in the Value field. Lastly, use a Filter to keep just the records where the unique count is 1

nagakavyasri
12 - Quasar

Screenshot 2023-06-15 141730.png

hlee36
8 - Asteroid

You can use "filter" tool and make a formula.

 

In the formula, use "AND" operator to make multiple conditions. 

 

So, this can be done with a single tool.

 

hlee36_0-1686853693961.png

 

Labels