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: 
upaliwije
Creator II
Creator II

sum

Hi

In my data model I have following records

Claim Noamount
1001000
1002500
10114000
1024500
1032000
1025000
10112000
100500

In my straight I want to sum amount by Claim No and show the results where Amount is<25000. I have written the following expression but it is not working

SUM(if(sum(amount)<25000,amount))

My expected result should be

 

Claim Noamount
1004000
1029500
1032000
10 Replies
qlikviewwizard
Master II
Master II

Hi

Please use the below expression.

if(sum(amount)<'25000',sum(amount))