Defining report fields
Issue 3.0 May 2002
73
Sample Intrahour Split Table Data
min
The min aggregate function retrieves the lowest value for a calculation or database
item over the time frame of the report.
For example, using the previous example, if you entered
min(hsplit.ACDCALLS)
instead of
max(hsplit.ACDCALLS)
for the field and then ran the report for Split 1
for all intervals on 07/02/93, CMS would display only the value 394 which is the
smallest number of ACD calls in any single interval on 07/02/93.
sum
The sum aggregate function retrieves the sum of all values for a calculation or
database item over the time frame of the report.
For example, if the Intrahour Split table contained data (as shown in the previous
figure) and you enter
sum(hsplit.ACDCALLS)
for a field in a report, then for Split 1
and all intervals on 07/02/93, CMS would take the values for
hsplit.ACDCALLS
and add them up to display only the value 1611. Likewise, if you entered
sum(hsplit.ABhsplit.ACDCALLS)
for the field, CMS would display
only the value 1774, which is the total of all ACD calls and abandons for Split 1 on
07/02/93.
DATE
STARTTIME
SPLIT
ACDCALLS
ABANDONS
ACDTIME
ABNTIME
34
18
30
41
14
34
40
12
33
46
13
20
36
15
22
39
10
31
24
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
..
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
..
..
..
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
.
.
.
..
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
391
142
480
491
297
399
299
138
400
300
225
394
323
105
418
246
100
417
247
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1
2
1000
1000
1100
1100
1100
0800
0800
0800
0900
0900
0900
1000
1000
1000
1100
1100
1100
0800
0800
070193
070193
070193
070193
070193
070293
070293
070293
070293
070293
070293
070293
070293
070293
070293
070293
070293
070393
070393
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1299
1340
589
980
1256
704
1188
1322
367
1109
1745
2569
7616
1452
402
549
789
203
603
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
26308
37856
10281
21173
34819
12115
40002
29881
15628
24303
36178
11523
29602
37651
12530
26789
33389
9786
19768
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.