Hello All,
Could anyone help me to accomplish this. I've being assigned a task to do a Dept wise Employee Productivity Report.
The scenario is I have a table which contains details of employees assigned to each project, which may vary time to time, but a employee will be assigned to only one project at a time. How do i get department wise count of employees( employee's latest assignment and not old ones ) assigned to each project. I should get Depts as rows and projects on the column and count of employees in the body. One more thing I should be able to do the report for a given period because the management might look to see the productivity for a given month or as on date. The sample source data looks like this
Dept ID Emp ID Emp Name Assign No Assign Date Proj ID Proj Desc
Fin 100 Michael 1 10/01/01 1 Proj1
Fin 100 Michael 2 20/02/01 2 Proj2
IT 200 Drum 1 04/03/01 2 Proj2
IT 200 Drum 2 14/05/01 2 Proj3
Cas 300 Jack 1 15/01/01 1 Proj1
Now i want to display Department wise no of employees working in each project.
---------------------------------------------------------------------------------------------------------
Dept Proj1 Proj2 Proj3
---------------------------------------------------------------------------------------------------------
Fin 0 1 0
IT 0 0 1
Cas 1 0 0
I don't know how to create the measure for Proj1, Proj2, Proj3 as count(Emp ID) with these projects as the latest assignments. The rest seems to be ok.
Your replies will be very much appreciated
thanks
coggykid
Could anyone help me to accomplish this. I've being assigned a task to do a Dept wise Employee Productivity Report.
The scenario is I have a table which contains details of employees assigned to each project, which may vary time to time, but a employee will be assigned to only one project at a time. How do i get department wise count of employees( employee's latest assignment and not old ones ) assigned to each project. I should get Depts as rows and projects on the column and count of employees in the body. One more thing I should be able to do the report for a given period because the management might look to see the productivity for a given month or as on date. The sample source data looks like this
Dept ID Emp ID Emp Name Assign No Assign Date Proj ID Proj Desc
Fin 100 Michael 1 10/01/01 1 Proj1
Fin 100 Michael 2 20/02/01 2 Proj2
IT 200 Drum 1 04/03/01 2 Proj2
IT 200 Drum 2 14/05/01 2 Proj3
Cas 300 Jack 1 15/01/01 1 Proj1
Now i want to display Department wise no of employees working in each project.
---------------------------------------------------------------------------------------------------------
Dept Proj1 Proj2 Proj3
---------------------------------------------------------------------------------------------------------
Fin 0 1 0
IT 0 0 1
Cas 1 0 0
I don't know how to create the measure for Proj1, Proj2, Proj3 as count(Emp ID) with these projects as the latest assignments. The rest seems to be ok.
Your replies will be very much appreciated
thanks
coggykid