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
1 Solution

Accepted Solutions
tresesco
MVP
MVP

Sum({<[Claim No]={"=sum(Amount)<25000"}>}Amount)

View solution in original post

10 Replies
sushil353
Master II
Master II

Hi,

You can simply use dimension limit functionality:

chart property>DimensionLimit

check for show only value that are > Less than > 25000 >exact amount

HTH

Sushil

avinashelite

try like this :

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

Kushal_Chawda

Expression:

Sum({<[Cliam No] ={"=sum(Amount)<25000"}>}Amount)

upaliwije
Creator II
Creator II
Author

It is not working

tresesco
MVP
MVP

Sum({<[Claim No]={"=sum(Amount)<25000"}>}Amount)

avinashelite

its working for me !!! need to check your data once , can you please share your app.

Pleas find the attachment

upaliwije
Creator II
Creator II
Author

Thanks

Is does not give desired results. Can u pls test this and reply with the sample QV doc

Kushal_Chawda

I had modified it

upaliwije
Creator II
Creator II
Author

Thanks all of u