In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter Across Multiple Columns

bsolove123
6 - Meteoroid

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
Top Solution Authors