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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hi

    i have one pivot table with one month dimension and two measrures (sales1 and sales2like this

       jan  feb  mar  april  may  jun  july  aug  sep  oct  nov  dec

sales1    10   20     20    10    30  40     10   20     20   30   10   20

sales2   30    20     20     50   60   70     80    10    80   20   20  90

so here i need a column at right side which adds last 3 months values for both sales1 and sales2 like this

            jan  feb  mar  april  may  jun  july  aug  sep  oct  nov  dec     latest_3_months

sales1    10   20     20    10    30  40     10   20     20   30   10   20         60

sales2   30    20     20     50   60   70     80    10    80   20   20  90       130

could u please tel me...

5 Replies
tresesco
MVP
MVP

Where do you want this? In the script or UI?

Not applicable
Author

thanku for your response... UL only (QLIKVIEW)

Not applicable
Author

UI only (qlikview)

tresesco
MVP
MVP

What is the dimension name for sales1, sales2 ? Could you post a sample qvw?

trdandamudi
Master II
Master II

With out sample app it is very difficult to give a suggestion. Any have I just created a sample app for you and attached here. So please take a look and hope this helps...