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

Filtering grouped data based on multiple row properties

Jawwad_Adel
5 - Atom

Hi, I have a table that looks like the one below. I wish to filter for Employees that have had more than 1 job title. 

 

IDNamePositionTitleDate
1001Allen P4005HR Manager20210601
1001Allen P4005HR Manager20201201
1001Allen P4005HR Manager20200601
1003Peter S3470Sales Manager20210601
1003Peter S3460Sales Associate20201201
1003Peter S3460Sales Associate20200601
1006Sam B5030Data Analyst20210601
1006Sam B5030Data Analyst20201201
1006Sam B5030Data Analyst20200601

 

The output should look like this:

IDNamePositionTitleDate
1003Peter S3470Sales Manager20210601
1003Peter S3460Sales Associate20201201
1003Peter S3460Sales Associate20200601

 

Is there a way to do this? Any help will be appreciated 🙂 Thanks!

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Jawwad_Adel 

 

You can do something like this. 

 

atcodedog05_0-1626095901478.png

1. Using summarize to get distinct position count for person.

2. Using join to add distinct postion back to data.

3. Filtering distinct position more than 1.

 

Hope this helps : )

Jawwad_Adel
5 - Atom

Hey, that works perfectly! Thanks a lot! 🙂

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Jawwad_Adel 

Labels