Adding KPIs

This page provides a description of how we can add a KPI. The techniques employed are generic examples that can be extended, adapted and repeated for any use case that we need. In all cases, we make minimal changes to the Accelerator Reference Implementation.

Cube Qualifier
Var-ES Cube kpiVaRESCube
VaR-ES Summary Cube kpiVaRESSummaryCube
Sensitivity Cube kpiSensitivityCube
Sensitivity Summary Cube kpiSensitivitySummaryCube
PLCube kpiPLCube
PL Summary Cube kpiPLSummaryCube
Combined Cube kpiMRACombinedCube

A KPI can be defined as a bean with the following format:

        @Bean
        @Qualifier("kpi[...theCubeName...]")
        public IKpiDescription myKpiTest() {
        return StartBuilding.kpi()
            .withName(...)
            ...
            .build();
        }

Pre-defined KPIs are located on the class KpiProviderConfig within /risk-starter/src/main/java/com/activeviam/risk/starter/cfg/pivot/impl

search.js