1. Calculation functions
  2. All functions
  3. Call center planning functions
  4. AVGDURATION

The AVGDURATION function calculates the required average duration of calls in order to answer a certain percentage of calls, or service level agreement (SLA).

Syntax

AVGDURATION(Number of servers, SLA, Target response time, Arrival rate)

Arguments

ArgumentData typeDescription
Number of servers (required)NumberThe number of servers (for example, call center agents) available to process requests.
SLA (required)NumberThe percentage of requests that need to be processed within the Target response time.
Target response time (required)NumberThe time after which each request must start to be processed.
Arrival rate (required)NumberThe interval between the arrival of each request.

The AVGDURATION function returns a number. This is the average duration it takes to process requests, using the same time unit as the Target response time and Arrival rate arguments. 

Constraints

Time unit for arguments

The Target response time and Arrival rate arguments do not have to use a specific time unit. For example, they can be seconds or minutes. However, each argument must use the same time unit.

Maximum number of servers

The maximum number you can use for the Number of servers argument is five million.

Calculation engine functionality differences

Call center planning functions are unavailable in Polaris. Learn more about the differences between Anaplan calculation engines.

Related Anaplan functions

Examples

In this example, the Call Centers list is on columns, and line items on rows. The first four line items contain the data for the AVGDURATION function for each call center:

  • The scheduled number of servers to process requests
  • The percentage of calls that must be responded to within the target response time, or SLA
  • The target response time to begin processing requests within
  • The arrival rate, or interval between each request arriving

The fifth line item uses the AVGDURATION function to calculate what the average duration of call is given the number of servers, SLA, target response time, and arrival rate of calls.

The sixth line item enables you to adjust the SLA. The formula in the seventh line item uses the adjusted SLA. This enables you to see how the average duration of calls changes given a different SLA.

Both of the line items that contain SLAs use the Percentage format with two decimal places.


Call Center 1Call Center 2Call Center 3Call Center 4
Scheduled Number of Agents16223723
SLA85.00%87.00%92.00%85.00%
Target Response Time15181712
Arrival Rate0.76730.96211.4281.213

Average Duration

AVGDURATION(Scheduled Number of Agents, SLA, Target Response Time, Arrival Rate)

18.67212417.34
Amended SLA90.00%92.00%97.00%90.00%

Amended Average Duration

AVGDURATION(Scheduled Number of Agents, Amended SLA, Target Response Time, Arrival Rate)

18.2620.623.3517.04

Disclaimer

We may update our documentation occasionally, but will only do so in a way that does not negatively affect the features and functionality of the Anaplan service.