Hi
I'm beginner in Alteryx and would like to seek expert's help.
In following table, if ID has Category = 'Passport', check if the same ID has any of following category ' Work permit' or 'Employment Visa' or 'Permanent Resident' or Null.
If yes, then the Passport row needs to be removed.
Can you please help how to set this up in Alteryx?
Input
| ID | Category | Gender | Salary |
| 61053 | Work permit | M | 5000 |
| 61053 | Employment Visa | M | 5000 |
| 61053 | Permanent Resident | M | 5000 |
| 61053 | Passport | M | 5000 |
| 3443 | Passport | F | 3000 |
| 3443 | | F | 3000 |
| 2222 | | M | 1500 |
Output
| ID | Category | Gender | Salary |
| 61053 | Work permit | M | 5000 |
| 61053 | Employment Visa | M | 5000 |
| 61053 | Permanent Resident | M | 5000 |
| 3443 | | F | 3000 |
| 2222 | | M | 1500 |