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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
mphekin12
Specialist
Specialist

Total Profit by Year

Hello,

I'm trying to get a figure out how to create the column 'Total Profit by Year' in QlikView.  Can someone please explain how it can be done?

Thank you!ProfitByYear.JPG

Labels (1)
1 Solution

Accepted Solutions
morganaaron
Specialist
Specialist

RangeSum(Above(Sum(Profit), 0, Num(Month)))

Assuming your field is called Profit and your Month-Year has been created from a master calendar including Month and Year...alternatively use the Num(Month(MonthYear)) if not..

View solution in original post

3 Replies
Not applicable

Hi,

You can use this expression.

rangesum(above( sum( field name ), 12 ))

morganaaron
Specialist
Specialist

RangeSum(Above(Sum(Profit), 0, Num(Month)))

Assuming your field is called Profit and your Month-Year has been created from a master calendar including Month and Year...alternatively use the Num(Month(MonthYear)) if not..

mphekin12
Specialist
Specialist
Author

Aaron,

The solution you provided worked perfectly.  Thanks so much for your help!