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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

Cummulative Data

Hi all,

I have small data I need cumulative sum of data in straight table.

I have attached excel with input data and output data please look into that.

1 Solution

Accepted Solutions
Anonymous
Not applicable

17 Replies
Anonymous
Not applicable

do you like to separate it by year or not?!?

soniasweety
Master
Master
Author

I need to separate  year also

Anil_Babu_Samineni

You may try like

Sum({<month = {">=getfieldselections(month) <=month(monthstart(max(year)))}>}sales)

-- Sent from iphone 7

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
soniasweety
Master
Master
Author

can u attach sample qvw?

Anonymous
Not applicable

if you select april 2015, what do you expect as output?

Anil_Babu_Samineni

I  don't have system at this time, I may sent once I got chance to machine.

--  Sent  from iphone 7

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
stabben23
Partner - Master
Partner - Master

Try this first, this will gives you all the month you want: sum({<Month={"<=$(=Max(Month))"}>}Sales)

soniasweety
Master
Master
Author

Hi,

If I select  aprl2014  in list boxes....  I need to get  output as

jan2014+ feb2104+mar2014 +aprl2014

stabben23
Partner - Master
Partner - Master

like this?

2016-11-17_1909.png