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

Three conditional expression

Hello,

I am struggling with something that seems relatively easy.

I need to use in my expressions three conditions:

A = 0

B <> 1

C <>2

Each condition comes from different table. I do not want to use list boxes for selection. I would like to have the conditions applied in the code.

What should be the expression for example for sum like =sum (conditions A,B,C) sales ?

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try sum({<A={0},B-={1}>,C-={2}>}sales)


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
ariel_klien
Specialist
Specialist

hi,

Try Sum({<A={"0"},B={">1<1"},C={">1<1"}>}Sales)

BR

Ariel

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try sum({<A={0},B-={1}>,C-={2}>}sales)


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you guys. Those two seem to work.