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

The SLA function calculates what percentage of calls must be answered within a target answer time, or service level agreement (SLA).

For example, you can use this function to ensure that enough calls are answered within a target answer time to fulfil an SLA.

## Syntax

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

## Arguments

 Argument Data type Description Number of servers Number The number of servers (for example, call center agents) available to process requests. Target response time Number The time after which each request must start to be processed. Arrival rate Number The interval between the arrival of each request. Average duration Number The average duration it takes to process each request.

The SLA function returns a number, which is the percentage of calls answered within the Target response time.

### How SLA is calculated

The SLA is the solution to this equation:

1- ERLANGC(x,a)e(a-x)t/z, where SLA ≠ 1

In this equation:

• x is the Number of servers
• a is the Arrival rate multiplied by the Average duration
• t is the Target answer time

## Constraints

### Time unit for arguments

The Target response time, Arrival rate, and Average duration 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.

## 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 SLA function for each call center:

• The scheduled number of servers to process requests
• The target response time to begin processing requests within
• The interval between each request arriving
• The average duration it takes to complete requests

The fifth line item uses the SLA function to calculate what percentage of calls begin to be processed within the target response time.

The sixth line item enables you to adjust the target response time. The formula in the seventh line item uses the adjusted target response time. This enables you to see what response time it would be possible to begin processing requests in while maintaining an SLA (in this case, 95%).

Both of the line items that contain formulas use the Percentage format with two decimal places to display the possibility as a percentage.

 Call Center 1 Call Center 2 Call Center 3 Call Center 4 Scheduled Number of Servers 17 23 36 24 Target Response Time 15 18 17 12 Request Arrival Rate 0.7684 0.9358 1.426 1.2194 Average Duration 18.67 23.25 24.87 17.39 Service Level Agreement SLA(Scheduled Number of Servers, Target Response Time, Request Arrival Rate, Average Duration) 95.22% 72.50% 37.83% 93.39% Amended Target Response Time 15 50 135 14 Updated SLA with amendment SLA(Scheduled Number of Servers, Amended Target Response Time, Request Arrival Rate, Average Duration) 95.22% 95.03% 95.10% 95.21%

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.