I have 3 fields from a table PS_JOB. They are emplid, deptid and empl_status.
Creating the crosstab is pretty easy. I list the deptids and the total number of employees in each deptartment.
However, I also need the following.
1). Total active employees in each department.
2). Total terminated employees in each department.
3). Percentage of terminated employees in each department.
I thought I could create 3 macros, based on empl_status of A and T.
But not sure how to do it.
Thanks!
Jeff
Creating the crosstab is pretty easy. I list the deptids and the total number of employees in each deptartment.
However, I also need the following.
1). Total active employees in each department.
2). Total terminated employees in each department.
3). Percentage of terminated employees in each department.
I thought I could create 3 macros, based on empl_status of A and T.
But not sure how to do it.
Thanks!
Jeff