Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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.

17 Replies
Anonymous
Not applicable

and then perhaps:

sum({<Month={"<=$(=Max(Month))"}, Year={"$(= Year(Max(Month)))"} >}Sales)


and a Dimension that combines year and month.

But your Monthfield must be a dual value.

soniasweety
Master
Master
Author

can you share qvw?

stabben23
Partner - Master
Partner - Master

Here

soniasweety
Master
Master
Author

will chk nd update you

Anonymous
Not applicable

...

soniasweety
Master
Master
Author

thanks robin...  will check with original data and come back to you

MarcoWedel

Hi,

maybe one solution could be the usage of an The As-Of Table:

QlikCommunity_Thread_240192_Pic1.JPG

QlikCommunity_Thread_240192_Pic2.JPG

QlikCommunity_Thread_240192_Pic3.JPG

tabSales:

LOAD Year,

    Month(Date#(Month,'MMM')) as Month,

    MonthName(Date#(Month&Year,'MMMYYYY')) as MonthYear,

    Region,

    City,

    Money(Sales,'#,##0 €;-#,##0 €') as Sales

FROM [https://community.qlik.com/thread/240192] (html, codepage is 1252, embedded labels, table is @1);

tabAsOfMonth:

LOAD Distinct

    MonthYear,

    MonthName(MonthYear,IterNo()-1) as AsOfMonthYear

Resident tabSales

While MonthName(MonthYear,IterNo()-1) <= Today();

hope this helps

regards

Marco

soniasweety
Master
Master
Author

thank you. simple and nice solutions