Avatar of deedub84
Flag for United States of America

asked on 

Access 2007 SQL Subquery help

I have a table of hours by month by person by project: i.e.

Person1  Project1  Month1Hrs   Month2Hrs .... Month12Hrs
Person1 Project2  Month1Hrs  Month2Hrs ... Month12Hrs
Person1 BeneLeave Month1Hrs  Month2Hrs ... Month12Hrs

I need a query that will show the percent of the total by person where the top number in the percent is the sum of all projects but one (called Beneleave) and the bottom number is the total of all the projects including Beneleave

The query results will have one line per person with a percent for each month (I'm after what percent of work time (all the projects except beneleave) is of all time recorded (which includes the leave time in Beneleave)

Microsoft Access

Avatar of undefined
Last Comment
Patrick Matthews

8/22/2022 - Mon