Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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