Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
suzel404
Creator
Creator

Lagging_Evol

Hi,

How can I calculate the lagging evolution: The evolution between H19 and H20 in % into crossTable.

H19vsH20 %

H20vsH21 %

H21vsH22 %

H22vsH23 %

H23vsH0 %

H0vsH1 %

H1vsH7 %

Thanks for your help.

Labels (1)
1 Solution

Accepted Solutions
Anil_Babu_Samineni
MVP
MVP

May be like this?

Script:

CrossTable(CalHour, HourSales)

LOAD Name,

     [19],

     [20],

     [21],

     [22],

     [23],

     [0],

     [1],

     [7],

     [10]

FROM

(biff, embedded labels, table is Sheet1$, filters(

Remove(Col, Pos(Top, 2))

));

Report:

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni
MVP
MVP

May be like this?

Script:

CrossTable(CalHour, HourSales)

LOAD Name,

     [19],

     [20],

     [21],

     [22],

     [23],

     [0],

     [1],

     [7],

     [10]

FROM

(biff, embedded labels, table is Sheet1$, filters(

Remove(Col, Pos(Top, 2))

));

Report:

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful