Hi folks, hope you can help me work out the logic on a problem I have.
Average Speed of Answer (ASA) defined as Answer_Time * Handled_Calls.
Therefore, Answer_Time = ASA * Handled_Calls.
I receive my data in the following format:
Date ASA Calls_Handled
3/1/09 20 100
3/2/09 25 125
3/3/09 23 110
3/4/09 27 150
I want to compute the ASA for the time period of 3/1 - 3/4 therefore I need to do a weighted average of:
Answer_Time / sum(Handled_Calls) =
(20 * 100) + (25*125) + (23*110) + (27*150) / (100+125+110+150)
I'm passing a date range to my sub report in the form of a Start_Date and End_Date, they don't always start on the beginning of a month.
Can anyone think of a good way of looping thru the days computing the Answer_Time?
Crystal Reports version 11
Thanks much for any help!
Average Speed of Answer (ASA) defined as Answer_Time * Handled_Calls.
Therefore, Answer_Time = ASA * Handled_Calls.
I receive my data in the following format:
Date ASA Calls_Handled
3/1/09 20 100
3/2/09 25 125
3/3/09 23 110
3/4/09 27 150
I want to compute the ASA for the time period of 3/1 - 3/4 therefore I need to do a weighted average of:
Answer_Time / sum(Handled_Calls) =
(20 * 100) + (25*125) + (23*110) + (27*150) / (100+125+110+150)
I'm passing a date range to my sub report in the form of a Start_Date and End_Date, they don't always start on the beginning of a month.
Can anyone think of a good way of looping thru the days computing the Answer_Time?
Crystal Reports version 11
Thanks much for any help!