Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Way to filter the data

k3pineapple
8 - Asteroid

Hi

 I would like to find a way to to generate 3 reports, sample below: (May need to design loop If or for, not sure which one i need to use.)

1. Find out the company which has Sales and Account in some IDs, but missing conditionally in accounts and sales column

2.Find out the company which never has Sales before, but can have account.

3. Find out the company which has neither of them,  but only has company and ID

 

IDCompanyAccountSales Person
10ABC12345aApple
11ABC12345b 
12ABC12345cBanana
13ABC  
14XYZ12345e 
15XYZ  
16TYU12345gCherry
17TYU12345h 
18FGH  
19BNM  

 

Expected out 

1. 

IDCompanyAccountSales Person
10ABC12345aApple
11ABC12345b 
12ABC12345cBanana
13ABC  
16TYU12345gCherry
17TYU12345h 

 

2.

14XYZ12345e 
15XYZ  

 

3..

IDCompanyAccountSales Person
18FGH  
19BNM  

 

Thank you for your help

 

5 REPLIES 5
Qiu
21 - Polaris
21 - Polaris

@k3pineapple 
In this case, I consider the column "Company" will be the key column.

0413-k3pineapple.PNG

binuacs
21 - Polaris
k3pineapple
8 - Asteroid

Really helps, thank you

Qiu
21 - Polaris
21 - Polaris

@k3pineapple 
Glad to be helpful. 😁

k3pineapple
8 - Asteroid

something new learning , advance version for me, thank you, 

Labels