QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!

Who Me Too'd this solution

Not applicable

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

View solution in original post

Who Me Too'd this solution