Skip to main content

Celonis Product Documentation

Formatting custom KPIs

To use custom formatting, a KPI must be defined with that property:

kpis:
 - id: TEST_KPI
   displayName: test kpi
   pql: "600"
   filterIds: []
   unit: "@"
   format: .0%
   breakdowns: []
   aggregations: []
   parameters: []
   targets: []
   type: KPI

Then, the KPI needs to be referenced in the process explorer kpiViews as any other KPI would normally be:

 kpiViews:
   - id: NEW_KPI_VIEW
     displayName: New kpi view
     description: A custom kpi
     icon: science
     eventLogKpis:
       - id: NEW_KPI
         displayName: New kpi
         eventLogId: A
         nodeKpiIds:
           - TEST_KPI
         edgeKpiIds:
           - TEST_KPI 

The end result will allow for this new KPI view to have custom formatting out of the box when selecting, In the following example, KPIs are formatted to have an @ suffix.

60362592.png