Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need Help with IF AND statement

Hi All,

I need some help with an IF AND statement for my chart expressions . I have two
fields where I want to sum the amount if it meets the criteria. To put it in
words, IF Description=”EMV” AND Amount=0, then  Sum everything in the Amount field  Else Description=”EMV” AND Amount >0, Sum
just the SELL field.

See below example.

#1

DescriptionAmount
Buy-1,000
Sell600
Interest260
EMV0
-140

Want to return the sum of amount -140

#2

DescriptionAmount
Buy-1,000
Sell600
Interest260
EMV500
360

Want to return just the Sell for 600

Any inputs will be greatly appreciated.

Thanks,

Frank

10 Replies
Anonymous
Not applicable
Author

Digvijay , Ankit , and Andrei. Thanks all for the help!.