Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Discussion Board for collaboration related to QlikView App Development.
try this:
tmp:
LOAD * INLINE [
Period, Week
1, w1
1, w2
1, w3
1, w4
2, w5
2, w6
2, w7
2, w8
2, w9
3, w10
4, w11
4, w12
];
data:
load if(Period=Previous(Period),Peek(Counter)+1,1) as Counter,
Period,
Week
resident tmp;
drop table tmp;
Regards