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: 
arpit1508
Contributor
Contributor

RangeSum and above

Hey Guys,

So I'm using RangeSum and above functions to calculate the sum of data for current year till current month. But i also have to show the data for last year upto current month in a Kpi. I'm using below expression but not sure how to calculate data of last year till current month. The expression is giving data upto whole year.

Exp:

Rangesum(above(sum({<conditions>}if((Year='Preyearvariable'),data)),0,Rowno()))

Any suggestion?

 

Labels (1)
0 Replies