I'm trying to go by step now. For the moment I try to insert values in table. I have 1st column with dates and I'm looking for insert how many rows when date is the same value like the first column. Just this I don't manage to do.
I tried to use Aggr, RangeSum and above to compute accumulate counters. This is strange becase values are inconsistent and sometime value decrease.