Hi, thank you for dropping by this topic.

I’m trying to use KPI Format as Start of MOVING_SUM.

`MOVING_SUM(COUNT_TABLE("_CEL_SD_ACTIVITIES_CASES"), KPI("Number of process variants") *-1,0)`

This KPI returns me an error: that start parameter should be an integer, which I firmly believe I am giving it integer. Using COUNT DISTINCT instead has not solved this situation btw.

This should show the same result as the formula below.

`MOVING_SUM(COUNT_TABLE("_CEL_SD_ACTIVITIES_CASES"), -2,0)`

Best