Adding New 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 kpiVaRESCube
Sensi kpiSensitivityCube
PNL kpiPLCube
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