Hi,
Thanks for doing this. Its not working though :0)
Im getting this syntax error as soon as I try to change the queries to SUM.
A syntax error has occurred.
data=select hsplit.STARTTIME,(sum(hsplit.ABNTIME/sum(hsplit.ABNCALLS) **ERROR** ),hsplit.ACDCALLS,(hsplit.ACDTIME/hsplit.ACDCALLS),(hsplit.ACWTIME/hsplit.
ACDCALLS),hsplit.ABNCALLS,hsplit.MAXOCWTIME,hsplit.INFLOWCALLS,hsplit.
OUTFLOWCALLS,((hsplit.ACWOUTCALLS+hsplit.AUXOUTCALLS)),((hsplit.ACWOUTTIME
+hsplit.AUXOUTTIME)/(hsplit.ACWOUTCALLS+hsplit.AUXOUTCALLS)),hsplit.
DEQUECALLS,hsplit.DEQUETIME / hsplit.DEQUECALLS,(100*((hsplit.I_ACDTIME+hsplit.I_ACWTIME)/hsplit.
I_STAFFTIME)),(100*(hsplit.ACDCALLS/hsplit.CALLSOFFERED)),(hsplit.
I_STAFFTIME/(hsplit.INTRVL*60)),((60*hsplit.INTRVL*hsplit.ACDCALLS)/hsplit
.I_STAFFTIME)from hsplit where ((ROW_DATE>=38806 and ROW_DATE<=38812)) and ((STARTTIME>=0800 and STARTTIME<=2000)) and SPLIT=440 and ACD=4 group by STARTTIME, hsplit.ACDCALLS, hsplit.AVG_ACD_TALK_TIME, hsplit.AVG_ACW_TIME, hsplit.AVG_ACD_TALK_TIME, hsplit.AVG_ACW_TIME, hsplit.ABNCALLS, hsplit.MAXOCWTIME, hsplit.EXT_CALL_OUT, hsplit.AVG_TALK_TIME_OUT, hsplit.INFLOWCALLS, hsplit.OUTFLOWCALLS, hsplit.PERCENT_ACD_TIME, hsplit.PERCENT_CALL_ANS, hsplit.AVG_POS_STAFF, hsplit.CALLS_PER_POS
I tried changing numerous ones to sum and it gives errors on them all. i also tried putting _SUM at the end of the query.
Once I press the Where key this is what i have on totals and data
ACD=$acd and SPLIT=(SPLIT / SKILL

and ROW_DATE=(DATES

and STARTIME=(TIMES

GROUP BY STARTTIME
I also get a "the column must be in GROUP BY List" error
Did it total the colums on your report for the week then?
If it worked on yours its got to work hasnt it?
Thanks so much again... :0)
natalie