Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try like:

Sum(

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

Sales)

View solution in original post

1 Reply
tresB
Champion III
Champion III

Try like:

Sum(

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

Sales)