
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Syntax for Multiple Where Clauses
I want to use two where clauses for the same table:
from...
Where Year("Oppo_Opened")>=2010
Where Field("Oppo_Type") = Record(Sales);
What is the correct syntax for this?
- Tags:
- new_to_qlikview
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where Year("Oppo_Opened")>=2010 AND Field("Oppo_Type") = Record(Sales);


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where Year("Oppo_Opened")>=2010 AND Field("Oppo_Type") = Record(Sales);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use only one Where and And between two conditions...
Something like
Where Customer = 'A' And Country = 'B'


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you talking about SQL selects, because your where clause does not seem to be QV script load syntax?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks guys!
Definitely on the right track, but my syntax is still off.
For the second one -- how do i do -- WHERE (Fieldname) contains RecordName.
I have several opportunity types, but I only want to load those that have 'Sales' in Oppo_Type field.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where Oppo_Type = 'Sales';
