Rank: Member
Groups: Registered, Registered Users Joined: 9/15/2006(UTC) Posts: 24
Was thanked: 1 time(s) in 1 post(s)
|
hi
Here is the perfect solution for the query i had posted this gives the same results and also for the period where data is not there it gives me zero instead of rejecting in the filter.
Col A:
M:=Mov(C,LastValue(Min(3,Cum(1))),S);
If(Cum(1)<3,0,M);
Col B:
M:=Mov(C,LastValue(Min(9,Cum(1))),S);
If(Cum(1)<9,0,M);
Col C:
M:=Mov(C,LastValue(Min(12,Cum(1))),S);
If(Cum(1)<12,0,M);
Col D:
M:=Mov(C,LastValue(Min(20,Cum(1))),S);
If(Cum(1)<20,0,M);
Col E:
M:=Mov(C,LastValue(Min(50,Cum(1))),S);
If(Cum(1)<50,0,M);
Col F:
M:=Mov(C,LastValue(Min(200,Cum(1))),S);
If(Cum(1)<200,0,M);
Filter enabled Yes
Periodicity Daily Records required 250
|