KPI

Tracking — Define measurable metrics from external data sources
🎯 Purpose

The KPI (Key Performance Indicator) module defines the specific metrics that measure contract performance. Each KPI maps a field from a Data Connector to a measurable target — such as uptime percentage, response time, or delivery count. KPIs are the building blocks of SLAs; they provide the raw measurements that SLA rules evaluate to produce RAG indicators.

👤 Roles & Access
RoleAccess
AdminFull access — create, edit, delete KPIs. Map connector fields.
Super UserCreate and edit KPIs.
End UserView KPI values on contracts they can see.
CustomerNo access.
SupplierNo access.
🔗 Dependencies
Upstream (requires)
Data Connector must exist — KPIs reference connector fields for data. Organisation and Catalogs for KPI types.
Downstream (feeds into)
SLA — SLAs contain KPIs and evaluate them against targets.
Performance Tracker — Trackers display KPI trends over time.
Data Visualisation — KPIs appear as leaf nodes in hierarchy graphs.
🚀 Related Flows
SLA & RAG Tracking — Step 2 — KPI is defined with connector field and target.
Performance Tracking — Step 2 — KPI provides the metric to track.

1. Overview

The KPI (Key Performance Indicator) module allows administrators to define measurable metrics sourced from external databases via Data Connectors. Each KPI maps to a specific column (metric field) in a connected database table, creating a reusable metric definition that can be tracked over time.

KPI Data Flow

External System Database / API Data Connector maps field KPI target + unit SLA (RAG status) Performance Tracker

KPIs are not used in isolation — once created, they serve as building blocks for two key modules:

Prerequisites

Important: The banner "Please add Data Connector before adding KPI!" appears at the top of the Add KPI form if no Data Connectors exist. Create and test a Data Connector first.

2. KPI Listing

  1. In the left navigation, under Tracking, click KPI.
  2. The KPI List shows all defined KPIs with their Name and Data Connector Name.
  3. Use the filter dropdowns and Search button to locate a KPI.
  4. Click Add KPI to create a new KPI.
KPI Listing

KPI Listing

2.1 Listing Columns

ColumnDescription
NameThe KPI name.
Data Connector NameThe Data Connector this KPI reads from.

3. Adding a KPI

  1. On the KPI List page, click Add KPI.
  2. Enter a Name (required) — a descriptive name for this KPI (e.g. "External Archiving", "Gas Bottles delivery", "Consumed").
  3. Select a Data Connector (required) — the Data Connector that provides the data source. This determines which database table the KPI reads from.
  4. Select a Metric Field (required) — the specific column from the connected database table that this KPI measures. The dropdown is populated dynamically from the columns available in the Data Connector's configured table.
  5. Select a KPI Type (required) — the KPI category, sourced from Organisation → Catalogs (Type = KPI Type).
  6. Tick Record Count if this KPI should count records rather than aggregate the metric field value.
  7. Enter a Description — optional notes about what this KPI measures and its purpose.
  8. Click Save.
KPI Add Form

KPI Add Form

3.1 Form Fields

FieldRequiredDescription
NameYesA descriptive name for the KPI.
Data ConnectorYesDropdown listing all Data Connectors configured in Platform Config → Connectors. Determines the database table to read from.
Metric FieldYesDropdown of columns from the Data Connector's table. This is the field whose values the KPI measures.
KPI TypeYesCategory of the KPI, from Organisation → Catalogs (Type = KPI Type).
Record CountNoCheckbox — when ticked, the KPI counts the number of records instead of aggregating the metric field value.
DescriptionNoFree text description of the KPI.

3.2 Filtering Data (Optional)

The KPI form includes optional filter fields to narrow down which records from the database table are included in the KPI calculation.

Single Filter:

Adding a Second Filter (AND):

When both filters are set, only records matching both conditions are included in the KPI (i.e. Metric Field = Filter Value AND second Metric Field = Field Value).

Note: Filters are optional. Without filters, the KPI operates on all records in the connected database table. Use filters when you need to isolate a subset of data — for example, filtering delivery records by region or archiving records by type.

4. How KPIs Connect to Other Modules

KPIs are reusable metric definitions that feed into downstream modules:

ModuleHow KPI Is Used
SLA (Data type)When creating a Data type SLA, a KPI is selected as the metric to measure. The SLA defines targets (thresholds) against the KPI's value to determine pass/fail and drive the contract's RAG indicator.
Performance TrackerKPIs are tracked over time in the Performance Tracker, providing trend data and visualisations for ongoing monitoring.

5. Tips

6. Troubleshooting

IssueResolution
"Please add Data Connector" bannerNo Data Connectors exist. Create one in Platform Config → Connectors first.
Data Connector dropdown is emptyNo Data Connectors have been created or saved. Navigate to Connectors and create one.
Metric Field dropdown is emptyThe selected Data Connector may not have a valid table configured, or the connection may have failed. Check the connector's database, table, and connection status.
KPI Type dropdown is emptyNo KPI Type values exist in Catalogs. Add them in Organisation → Catalogs (Type = KPI Type).
KPI not appearing in SLAEnsure the KPI is saved. Check that the SLA is configured as a Data type SLA, which is where KPIs are selected.
KPI returning unexpected valuesCheck the Metric Field and filters. Verify the data in the source database table matches expectations. Test the Data Connector in the Connectors module.