I can do an summary averages of the duration of calls with the following formula:
Local Numbervar TotalSec := Average ({@duration})*60;
Local NumberVar Hours := Truncate(Truncate(TotalSec/60)/60);
Local NumberVar Minutes := Remainder(Truncate(TotalSec/60),60);
Totext ( Hours, '0', 0,'') + ':'+
Totext ( Minutes,'00', 0,'')
Now, I'd like it to average by the CallLog.CallType field. How would I do that? The summary fields don't allow me to convert the information into the hours:minute format.
Thanks,
Sandy
Local Numbervar TotalSec := Average ({@duration})*60;
Local NumberVar Hours := Truncate(Truncate(TotalSec/60)/60);
Local NumberVar Minutes := Remainder(Truncate(TotalSec/60),60);
Totext ( Hours, '0', 0,'') + ':'+
Totext ( Minutes,'00', 0,'')
Now, I'd like it to average by the CallLog.CallType field. How would I do that? The summary fields don't allow me to convert the information into the hours:minute format.
Thanks,
Sandy