Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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 ?

1 Solution

Accepted Solutions
Gysbert_Wassenaar

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

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.