Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

replacing a Initial value by last value of last row

Hello all,

I am using a pivot table and I have to replace Initial Value by Last value of the previous row at front end?

Any function?

Example:

Date         Initial Value     Sales          ClosingValue

Apr-14        50                   10                 60

May-14        60                  30                 90

June-14       90                  -20                70

like this.......at front end

Regards,

Balraj

6 Replies
Anonymous
Not applicable
Author

?????

anbu1984
Master III
Master III

Can you explain your requirement with sample data?

Anonymous
Not applicable
Author

already mentioned in example, What I need to get?

anbu1984
Master III
Master III

Do you want to calculate ClosingValue (= Initial value + sales)?

maxgro
MVP
MVP

above(ClosingValue)

or look for chart inter record functions in Qlik online help

MarcoWedel

Hi,

one possible solution:

QlikCommunity_Thread_135272_Pic1.JPG.jpg

QlikCommunity_Thread_135272_Pic2.JPG.jpg

QlikCommunity_Thread_135272_Pic3.JPG.jpg

tabSales:
LOAD Date#(Date, 'MMM-YY') as Date,
Sales
Inline [
Date, Sales
Jan-14, 20
Feb-14, 10
Mar-14, 20
Apr-14, 10
May-14, 30
Jun-14, -20
Jul-14, 10
Aug-14, 40
Sep-14, 30
]
;

hope this helps

regards

Marco