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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
JoseGarcia
Creator III
Creator III

Cumulative assistance

Hi there, 

I need to display cumulative values for field 'BTC'.
The cumulative value is for the Finish period (Period must be displayed April-20, May-20 and so on.
using formula:

aggr(rangesum( above( sum(BTC),0,rowno())),[Finish])

I am struggling adding Month and year functions to 'Finish' formula. 
Could anyone assist?

Here is a snapshot of the data file.

JoseGarcia_0-1616563052870.png

thanks a million.

Jose

Labels (1)
1 Solution

Accepted Solutions
MayilVahanan
MVP
MVP

Hi @JoseGarcia 

Are you looking for cumulation based on Month-Year?

If so, try like below

LOAD Finish,
MonthName(Finish) as MonthYear,
[WBS Name],
BTC,
EVC,
ATC
FROM
[D:\Qlik\Com\Copy of temp1.2.xlsx]
(ooxml, embedded labels, table is Sheet2);

Dim: MonthYear, WBS Name

Exp: rangesum(above(sum(BTC),0,rowno(Total)))

MayilVahanan_0-1616578119911.png

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

5 Replies
MayilVahanan
MVP
MVP

Hi @JoseGarcia 

Can you provide the sample file instead of image?

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
JoseGarcia
Creator III
Creator III
Author

Hi Mayil, 

here is the file.
Let me know if you need more details.

Jose

 

MayilVahanan
MVP
MVP

Hi @JoseGarcia 

Are you looking for cumulation based on Month-Year?

If so, try like below

LOAD Finish,
MonthName(Finish) as MonthYear,
[WBS Name],
BTC,
EVC,
ATC
FROM
[D:\Qlik\Com\Copy of temp1.2.xlsx]
(ooxml, embedded labels, table is Sheet2);

Dim: MonthYear, WBS Name

Exp: rangesum(above(sum(BTC),0,rowno(Total)))

MayilVahanan_0-1616578119911.png

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
JoseGarcia
Creator III
Creator III
Author

Mayil, 

you are a genius! it works great! 
Thanks a million for your support.

Jose

MayilVahanan
MVP
MVP

You are welcome

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.