calculate KPIpoints dynamically