$ 0 0 Thanks for your answer....but I guess I was not clear in my requirement. I want to calculate average even at the start of the time we see data:-