K
ken
I am needing some help finding the average duration time is spent on a
specific task.
I am using the query below to generate the month and the average duration
with success. What I now need is the avg duration of time spent for specific
calls. I am tryimg to get some thing like this
Month/Year Sev1 Sev2 Question Other Total
Marchl 2004 0:00 4:00 4:00 0:00 4:00
The average duration of severity1 will be under Sev1, Avg Sev2 under.... and
the Total being the average of all calls.All data is stored in the same
table with the following fields: ID, opendate,ClosedDate,Sev1, Sev2 and
Calltyp. Question and Other
are two items that are in the CallTyp field.
SELECT Format(Calls.OpenDate,"yyyy-mm") AS Expr1,
Format(Avg([Opendate]-[Closeddate]),"Short Time") AS Duration
FROM calls
GROUP BY Format(Calls.OpenDate,"yyyy-mm"), Month([OpenDate])
ORDER BY Month([OpenDate]);
Thanks for all the help
Ken
specific task.
I am using the query below to generate the month and the average duration
with success. What I now need is the avg duration of time spent for specific
calls. I am tryimg to get some thing like this
Month/Year Sev1 Sev2 Question Other Total
Marchl 2004 0:00 4:00 4:00 0:00 4:00
The average duration of severity1 will be under Sev1, Avg Sev2 under.... and
the Total being the average of all calls.All data is stored in the same
table with the following fields: ID, opendate,ClosedDate,Sev1, Sev2 and
Calltyp. Question and Other
are two items that are in the CallTyp field.
SELECT Format(Calls.OpenDate,"yyyy-mm") AS Expr1,
Format(Avg([Opendate]-[Closeddate]),"Short Time") AS Duration
FROM calls
GROUP BY Format(Calls.OpenDate,"yyyy-mm"), Month([OpenDate])
ORDER BY Month([OpenDate]);
Thanks for all the help
Ken