Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
raju_salmon
Creator II
Creator II

OR Condition in SetExpression

Hi,

I have gone through existing threads and understand that we can use + sign in set analysis to achieve OR condition. But however i am not how to write a expression for below sql query.

WHERE

[Type] IN ('PN','CT')

AND

(Store In ('DL A','RCS') OR [SType] != 'N Support')

Can anyone help me?

Regards,

Raju S

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Sum(

{<Type={'PN', 'CT'}>*(<Store={'DL A','RCS'}>+<SType-={'N Support'}>)}

Sales)

View solution in original post

1 Reply
tresesco
MVP
MVP

Try like:

Sum(

{<Type={'PN', 'CT'}>*(<Store={'DL A','RCS'}>+<SType-={'N Support'}>)}

Sales)