Hi!
I need to generate a report about telephone calls which should look like this:
[tt]
incoming_calls outgoing_calls total
-------------- -------------- -----
number av_duration number av_duration number av_duration
------ ----------- ------ ----------- ------ -----------
123 207 13 304 136 256
[/tt]
I can create the total for number by ROW-TOTAL. Yet if I use it, of course the average call duration is summed up: 207+304=511. Which is not correct. I need to compute this field by summing up the length of the calls divided by the total sum of calls.
So my question is whether it is possible the make a calculation within the ROW-TOTAL statment and if not how I can solve this problem in another way.
Thanx for help.
Eva
I need to generate a report about telephone calls which should look like this:
[tt]
incoming_calls outgoing_calls total
-------------- -------------- -----
number av_duration number av_duration number av_duration
------ ----------- ------ ----------- ------ -----------
123 207 13 304 136 256
[/tt]
I can create the total for number by ROW-TOTAL. Yet if I use it, of course the average call duration is summed up: 207+304=511. Which is not correct. I need to compute this field by summing up the length of the calls divided by the total sum of calls.
So my question is whether it is possible the make a calculation within the ROW-TOTAL statment and if not how I can solve this problem in another way.
Thanx for help.
Eva