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

Counting the number of times an employee's ID appears in another field

alexisjensen
8 - Asteroid

Hi All,

 

I am working with a set of employee data and I need to be able to count how many direct reports each employee has.  I am pretty sure this will work by having a new column with a count of the number of times that ID number appears in the manager ID field.  eg: in the example data, for employee 520529, the return would be 12, because 520529 appears 12 times in the manager ID field.

 

I appreciate your help.

 

Regards,

Alexis Jensen

3 REPLIES 3
ramatp30
7 - Meteor

HI @alexisjensen

 

Is the attached workflow are you looking for?

 

Let me know if your looking for something else.

 

Thanks,

Ramana

Inactive User
Not applicable

Correct - Group by Manager field and then count. Can be done with 1 summarise tool.

alexisjensen
8 - Asteroid

Thanks.  Works perfectly

 

Alexis

Labels