B
Bill Sturdevant
I have a table of resource utlilization records.
Each record has an employee name, a project ID and 36
fields representing 3 years of monthly utilization in
percentages (an employee is going to work 90% of his time
on project X during October, 2004).
Each employee can be assigned to multiple projects, so
there will be one row for each employee/project
combination.
I want to be able to pull only those records where the SUM
of percentages for ANY given month of the 3 year span is
greater than 100% (to show projected over-utilization).
I can create a query to sum all the values for each
employee, and write code to loop through the results
isolating the ones where any month sum is greater than
100%, then go back and pull only those detail records for
those employees, but I would prefer to do this with a
single or combination of queries, if possible.
Any ideas on the simplest way to do this?
Each record has an employee name, a project ID and 36
fields representing 3 years of monthly utilization in
percentages (an employee is going to work 90% of his time
on project X during October, 2004).
Each employee can be assigned to multiple projects, so
there will be one row for each employee/project
combination.
I want to be able to pull only those records where the SUM
of percentages for ANY given month of the 3 year span is
greater than 100% (to show projected over-utilization).
I can create a query to sum all the values for each
employee, and write code to loop through the results
isolating the ones where any month sum is greater than
100%, then go back and pull only those detail records for
those employees, but I would prefer to do this with a
single or combination of queries, if possible.
Any ideas on the simplest way to do this?