7 Creating KPIs
This chapter explains how to create Key Performance Indicators (KPIs) in Oracle Business Activity Monitoring (BAM).
This chapter includes the following sections:
Understanding KPIs
There are two major types of performance indicators: outcome metrics and driver metrics. KPIs are outcome metrics that compare performance measures to specific business goals that roll up into larger organizational strategies requiring monitoring, improvement, and evaluation.
Outcome metrics, sometimes called lagging indicators, measure business activity that a strategy is designed to achieve, such as return rate per month or average call processing time for the last moving hour. Driver metrics, sometimes called leading indicators, measure business activity that influences the outcome metrics.
KPI values vary with time, have targets to determine performance status, include dimensions to allow for more specific analysis, and can be compared over time for trending purposes and to identify performance patterns.
You can define two types of KPIs in BAM: Realtime KPIs and Scheduled KPIs. A Realtime KPI collects data and performs incremental calculations of a measure continuously. For example, a call center might update the number of waiting calls every time a new call arrives. A Scheduled KPI collects data and recalculates the aggregation from a specific time at a regular interval. For example, a call center might update the number of unresolved customer complaints every week.
A KPI's status is determined by comparing its value against high and low thresholds that you define. For example, for a KPI that measures product sales in thousands of units, you can define the ranges described in Table 7-1.
Table 7-1 Sample Thresholds and Statuses
Evaluation Range | Threshold | Status |
---|---|---|
Values exceeding 120 indicate superior performance |
121 and above |
High |
Values between 80 and 120 indicate good performance |
80 - 120 |
Medium |
Values less than 80 indicate poor performance |
79 and below |
Low |
Risk indicators are driver metrics that provide early warning signs to identify events likely to jeopardize KPIs. For example, a risk indicator for sales might be the number of units in stock, which can block completion of sales if it is too low. You can associate a risk indicator with a Realtime KPI.
KPI Prerequisites and Uses
KPI prerequisites are a list of tasks you must complete to ensure that all KPIs you create function smoothly.
Before you can create a KPI, you must do the following:
-
Add to your project the data object containing the measure the KPI will analyze. For more information about projects, see Planning and Creating Projects. For more information about data objects, see Working with Data Objects.
-
If you are creating a Scheduled KPI, create a Group SQL Query with no dimensions on which to base the KPI. For more information about group queries, see Creating a Group SQL Query.
-
If you need to associate a risk indicator with a Realtime KPI, create a Continuous Query for the risk indicator. For more information about continuous queries, see Creating a Continuous Query.
After you create KPIs, you can use them in the following ways:
- In a KPI Watchlist
-
You can create a special view called a KPI Watchlist that uses a group of related KPIs. After you save it, you can add it to dashboards. For more information about KPI Watchlists, see Creating KPI Watchlist Business Views. For more information about dashboards, see Creating Dashboards.
Although you cannot use a KPI directly in any other view, you can use the Group SQL Query on which a Scheduled KPI is based in a Gauge type view. Creating Gauge Business Views.
- To trigger alert actions
-
You can use the values of a KPI measure (high, medium, low) to initiate different alert actions. For example, you can define an action that notifies you when the value of an Internal Costs KPI exceeds a certain dollar amount. These alert actions are specific to the KPI and do not appear in the left panel navigator under Alerts. For more information about alert actions, see Alert Actions.
Creating a Realtime KPI
This section outlines the procedure to create a Realtime KPI.
To create a Realtime KPI:
Creating a Scheduled KPI
This section outlines the procedure to create a Scheduled KPI.
To create a Scheduled KPI:
Editing a KPI
When you edit a KPI, the changes propagate to all KPI watchlists that include the KPI and all dashboards that include these KPI watchlists.
Use the following procedure to open, edit, and save a KPI.
Note:
If you edit the group query upon which a Scheduled KPI is based, do not add a dimension, or the KPI will not work.
To edit a KPI:
Renaming a KPI
This section outlines the procedure to rename a KPI.
Use the following procedure to change the Display Name of a KPI.
The Display Name is case sensitive and may contain any characters except the forward slash (/
), which indicates a folder path. It may have up to 128 characters. It can be changed at any time.
To rename a KPI:
When you edit the KPI, the new Display Name is displayed on the tab. However, the internal Name remains unchanged. When you edit the KPI, this name is displayed on the left in the header.
Deleting a KPI
This section outlines the procedure to delete a KPI.
Use the following procedure to delete a KPI. The KPI is removed from any views or dashboards that reference it.
To delete a KPI:
Securing a KPI
A KPI inherits security settings from the project in which it is created.
For more information about projects, see Planning and Creating Projects.
To change security settings for a KPI:
-
In the left navigation pane, click the arrow to the left of KPIs.
All saved KPIs in the current project are displayed in a list.
-
Right-click the KPI and select Security Settings from the pop-up menu.
The security tab for the KPI opens.
-
To add a role or group to whom you can explicitly grant or deny permissions, follow these steps:
-
Click the Add icon in the Grant Permissions or Deny Permissions table.
The Add Application Roles, Groups, and Users dialog opens.
See Managing Oracle BAM Users for information about how to add users to roles and groups.
-
Type a Name for the role or group you are adding.
-
Select from the drop-down List: Application Role or Group.
-
Click Search to populate the Available Members list.
-
To add a member to the Selected Members list, select the member and click the single right arrow.
-
To add all members to the Selected Members list, select the member and click the double right arrow.
-
To remove members from the Selected Members list, use the single and double left arrows.
-
When the Selected Members list is final, click OK.
The Add Application Roles, Groups, and Users dialog closes, and the Name you specified appears in the table.
-
-
To remove a role or group, select the table row and click the Remove icon.
-
To grant permissions, select Read, Write, Remove, or Security for the users, roles, and groups listed in the Grant Permissions table.
-
To deny permissions, select Read, Write, Remove, or Security for the users, roles, and groups listed in the Deny Permissions table.
-
Click Save.