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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Running Total In Script

Hai,

I'm trying to get the running in total in script.Please refer my atatchment.Also i 've tried with the following script:

IF(ACCOUNT=PEEK(ACCOUNT), ([AMOUNT] + PEEK(RAMOUNT)),[AMOUNT]) AS RAMOUNT

Please do the needul..

Thanks in Advance..

Labels (1)
1 Reply
cotiso_hanganu
Partner - Creator III
Partner - Creator III

It works, reading from your file.

Beware: field names are case sensitive !

Sempre fi,
Cotiso

load *,
I
F ([Account Code]=peek([Account Code]), (Amount + peek(RAMOUNT)),Amount) AS RAMOUNT;

LOAD [Account Code], Yearmm, Amount, [What I want]
FROM
.\Data.xls (biff, embedded labels, table is Sheet1$);