Can AF have rollup analysis which counts upwards and never sets value to zero even if pi point receives value of 0.
for ex: If pi point has value of 100, 105,110,0,20 ..i want my rollup calculation to give me result as 130 instead of 20.
I think you will need to use a two step process to do this. The rollup calculation isn't an accumulator, so it's only going to return the current value of the inputs at the time of execution. I would use a simple expression analysis to perform the actual non-resetting accumulation.
Step 1 - Rollup calculation (Sum, or whatever your required summary calculation is)
Step 2 - Expression analysis that accumulates the rollup values. This analysis would be event triggered on the output attribute of the rollup calculation.
A simple Expression analysis might as well do the trick:
LastCounter = 'YourOutput'
ValCurrent = 'YourInput'
// Test if the input values are good
IsGood = IF BadVal(ValCurrent) THEN False ELSE True
// Test if the we are in good conditions
IF IsGood = False THEN LastCounter
ELSE LastCounter + ValCurrent > Map to YourOutput
Retrieving data ...