I'm struggling with some aggregations on a particular report. I'm counting employee involvement in certain aspects, grouping by department and employee. In the Department footer, I have 4 aggregates. 1 is the number of records for the department, one is the number of different employees submitting records for that department, one is the department's percentage of records in respect to all departments' submissions.
What I need is the number of employees that submitted records (which I have ) DIVIDED BY the total number of employees in that department.
So I made an unbound text box and I'm attempting to Dcount the number of employees in each department. But it's not working.
I have the control set to
=DCount("[Name]","tblEmployees","[Department =' " & [Department] & "' ")
The textbox is showing #error when the report is run.
Here's a pic of the report to demonstrate the grouping.