Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
r_vdbraak
Contributor III
Contributor III

Create table with substrackt values

Hello all,

I'm having a table with date (Datum) and a value (Stand).

DatumStand Verbruik
31-12-20131883
28-2-20142281

398

30-4-20142577296
24-6-20142767190

What I need is to add a column named Verbruik, containing the difference between Stand and Stand of the Previous Datum.

I hope sombody can help me.

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

order by datum then use this expression

sum(Stand)-Above(Stand)

View solution in original post

1 Reply
alexandros17
Partner - Champion III
Partner - Champion III

order by datum then use this expression

sum(Stand)-Above(Stand)