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: 
louise119
Creator III
Creator III

Cumulative value for each date.

I want to output the result of the formula below as a cumulative value for each date.
What should I do?
How can I write a formula to calculate the cumulative value for each date?

count(if(Region_ID=3, Region_ID))

1 Reply
Somasundaram
Creator III
Creator III

Try this,


Load
Date,
if(Date<>previous(Date),Value,Rangesum(peek('Cum_Value'),Value)) as Cum_Value

from table


-Somasundaram

If this resolves your Query please like and accept this as an answer.