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: 
qlikviewaf
Creator
Creator

Where with multiple values

Hieveryvone, i'm loading a qvd file and i want to set a where clause with multiple values.

What is wrong in my statement below?

Thank you for your time.


where condition.PNG

Labels (1)
2 Replies
sunny_talwar
MVP
MVP

May be try like this

Where not WildMatch(SDDCTO, 'CR', 'SR', 'UK', ......)

prieper
Master II
Master II

You cannot add multiple expressions with a logical operator,

easiest would be to use Sunny's suggestion.

Simplified you may also write

WHERE SDDCTO <> 'CR' AND SDDCTO <> 'SR' AND SDDCTO <> 'UK' etc. (analogue to the second row of your where-clause).