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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

sum between two range in expression

I want to do summation something like sum(Actual) but with condition "company >= 12001 and company <= 12099"

How to write this in expression, such thing possible in QlikView

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Either use Sum(if(company >= 12001 and company<=12099, Actual))

or, Sum({$<company={'>=12001<=12901'}>} Actual)

View solution in original post

3 Replies
Not applicable
Author

Sum({<company = {">= 12001 <= 12009"}>} Actual)

Anonymous
Not applicable
Author

Either use Sum(if(company >= 12001 and company<=12099, Actual))

or, Sum({$<company={'>=12001<=12901'}>} Actual)

Not applicable
Author

Thanks Johan