Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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)