Hi,
I have 1 main report which is grouped by time between 12:00 AM till 11:45PM (1 day).
I have another table which i placed in a subreport which requires get the averages based on agents in a call center.(im NOT using sql DB)
I have declared the calculated averages as a shared numbervar in the sub report and called them in the main report with that shared variable. since its a sum, i have placed the sub report in the groupfooter and supressed the section.
The following is the formula in the sub report for each field.
Average ACD
-----------
whileprintingrecords;
shared NumberVar SumACD:= Sum({iAgentByApplication.Talktime})/Sum({iAgentByApplication.CallsAnswered});
Average ACW
------------
whileprintingrecords;
shared NumberVar SumACW:= Sum({iAgentByApplication.PostProssingCalls})/Sum({iAgentByApplication.CallsAnswered});
Total TalkTime in hours
------------------------
whileprintingrecords;
shared NumberVar sumTalkTime:= Sum({iAgentByApplication.TalkTime})/(60*60)
formulas for each field in the main report to call(placed in the groupfooter section below the subreport )
sumACD
-------
whileprintingrecords;
shared NumberVar sumACD;
sumACW
----------
whileprintingrecords;
shared NumberVar sumACW;
sumAHT
-------
NumberVar sumAHT :={@sumACD} + {@sumACW};
sumTalkTime
------------
shared NumberVar sumTalkTime;
i'm getting 0.00 values for all the above mentioned fields in the mainreport.
i also need to find the averages of grand total for the fields. How do i go abt doin it?
thanks!
I have 1 main report which is grouped by time between 12:00 AM till 11:45PM (1 day).
I have another table which i placed in a subreport which requires get the averages based on agents in a call center.(im NOT using sql DB)
I have declared the calculated averages as a shared numbervar in the sub report and called them in the main report with that shared variable. since its a sum, i have placed the sub report in the groupfooter and supressed the section.
The following is the formula in the sub report for each field.
Average ACD
-----------
whileprintingrecords;
shared NumberVar SumACD:= Sum({iAgentByApplication.Talktime})/Sum({iAgentByApplication.CallsAnswered});
Average ACW
------------
whileprintingrecords;
shared NumberVar SumACW:= Sum({iAgentByApplication.PostProssingCalls})/Sum({iAgentByApplication.CallsAnswered});
Total TalkTime in hours
------------------------
whileprintingrecords;
shared NumberVar sumTalkTime:= Sum({iAgentByApplication.TalkTime})/(60*60)
formulas for each field in the main report to call(placed in the groupfooter section below the subreport )
sumACD
-------
whileprintingrecords;
shared NumberVar sumACD;
sumACW
----------
whileprintingrecords;
shared NumberVar sumACW;
sumAHT
-------
NumberVar sumAHT :={@sumACD} + {@sumACW};
sumTalkTime
------------
shared NumberVar sumTalkTime;
i'm getting 0.00 values for all the above mentioned fields in the mainreport.
i also need to find the averages of grand total for the fields. How do i go abt doin it?
thanks!