Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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 (2)
0 Replies