Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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