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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Condition Problem

Hello,

Im currently using some sums if the account balance is on some account that accumulate values.

Currently i use this expression:

RangeSum(Above(SUM({$< Account={'0',

'1',

'2',

'3',

'4',

'6',

'7',

'8',

9',

'10',

'11'}

>} [MXN_Amount BSEG])

,0, RowNo(TOTAL)))

I was wondering if its possible to do something like:

RangeSum(Above(SUM({$< Account >= '1' and Account <= '1000'

>} [MXN_Amount BSEG])

,0, RowNo(TOTAL)))

I havent been able to make this work

Any ideas?, comments?

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Maybe like this

RangeSum(Above(SUM(

{$< Account = {">=1<=1000"} >}

[MXN_Amount BSEG])

,0, RowNo(TOTAL)))

View solution in original post

2 Replies
MayilVahanan
MVP
MVP

Try like this

RangeSum(Above(SUM({<Account  {">= 1 <= 1000">} [MXN_Amount BSEG]),0, RowNo(TOTAL)))

For Set analysis, please refer this

Set Analysis: syntaxes, examples

Its useful to learn abt set analysis

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
swuehl
Champion III
Champion III

Maybe like this

RangeSum(Above(SUM(

{$< Account = {">=1<=1000"} >}

[MXN_Amount BSEG])

,0, RowNo(TOTAL)))