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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Add Backload Field

Hay,

I Need to add field to a table who calculate the incremental valua of othe field,

for example i have that table:

YearSale
2011100
2012200
2013300
2014400
2015500

And i want to make here like that:

YearSaleIncremntalField
2011100100
2012200300
2013300600
20144001000
20155001500

Regards Lavi

3 Replies
sunny_talwar

Try the following script:

Table:

LOAD *,

  Alt(Peek('IncrementalField'), 0) + Sale as IncrementalField;

LOAD Year,

    Sale

FROM

[https://community.qlik.com/thread/166201]

(html, codepage is 1252, embedded labels, table is @1);

Output in a table box object:


Capture.PNG

Hope this will help

Best,

Sunny

Not applicable
Author

It's work Thank You Very Much.

sunny_talwar

No problem

If you got what you were looking for, I would suggest closing this thread by marking the answer as correct.

Best,

Sunny