Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filtering for where one column has multiple entries in another column

Robotomation
5 - Atom

I have an extract as follows. I want to filter my extract for entries where one supplier has multiple G/L accounts. How would I get go about doing this? At first I thought of combining the the strings in Supplier and G/L Account together and then using the unique tool, but can't think of the solution (e.g. what if there are multiple entries where the wrong account was used)  

 

Extract

Journal Entry #AmountSupplierGL Account
1$100Microsoft123
2$150Apple127
3$200Microsoft234
4$100Google235
5$50Google900
6$75Apple127
    

 

Output Expected 

Journal Entry #AmountSupplierGL Account
1$100Microsoft123
3$200Microsoft234
4$100Google235
5$50Google900
2 REPLIES 2
Cremo
7 - Meteor

Hi @Robotomation 

You can try the attached workflow. It basically counts the distinct GL account for each supplier and exclude those having only one distinct account (Apple in your example). Let me know if it helps.

SPetrie
13 - Pulsar

Not sure if there is a better way, but one solution would be to use a summarize tool. Group by the Supplier and have a count distinct for GL Account. That will tell you if there are multiple GL accounts for the supplier.

filter.PNGfilter2.PNG

Labels
Top Solution Authors