<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: script Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/script-Query/m-p/472981#M694247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try rhis&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;load * from test.qvd(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;where&amp;nbsp; match(country,'AU','GB','US','CA') and not match(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;currency ,'USD','EUR','GBP');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 07:38:47 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2013-06-14T07:38:47Z</dc:date>
    <item>
      <title>script Query</title>
      <link>https://community.qlik.com/t5/QlikView/script-Query/m-p/472978#M694244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a qvd and in script i need to write&amp;nbsp; a where clause on 1 column with multiple selections. what is the shortest way to write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * from test.qvd(qvd) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;country in ('AU','GB','US','CA')&lt;/P&gt;&lt;P&gt;and currency not in ('USD','EUR','GBP')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise the right syntax for the above where clauses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 07:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-Query/m-p/472978#M694244</guid>
      <dc:creator />
      <dc:date>2013-06-14T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: script Query</title>
      <link>https://community.qlik.com/t5/QlikView/script-Query/m-p/472979#M694245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;test.qvd (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;where &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(country&amp;nbsp; = 'AU' or country&amp;nbsp; = 'GB' or country&amp;nbsp; ='US' or country&amp;nbsp; ='CA') and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(currency &amp;lt;&amp;gt; 'USD' and currency &amp;lt;&amp;gt;'EUR' and currency &amp;lt;&amp;gt;'GBP')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 07:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-Query/m-p/472979#M694245</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-06-14T07:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: script Query</title>
      <link>https://community.qlik.com/t5/QlikView/script-Query/m-p/472980#M694246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this answer i know but its a long cut.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a shortcut code as the list of countries i have is 25 and then teh where cluase really becomes messy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 07:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-Query/m-p/472980#M694246</guid>
      <dc:creator />
      <dc:date>2013-06-14T07:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: script Query</title>
      <link>https://community.qlik.com/t5/QlikView/script-Query/m-p/472981#M694247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try rhis&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;load * from test.qvd(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;where&amp;nbsp; match(country,'AU','GB','US','CA') and not match(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;currency ,'USD','EUR','GBP');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 07:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-Query/m-p/472981#M694247</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-14T07:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: script Query</title>
      <link>https://community.qlik.com/t5/QlikView/script-Query/m-p/472982#M694248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNfortunately the "in" clause doesn't work ... you can use a workaround that is add two fields to use as flags so for example, on the same row of counties or currencies you need&amp;nbsp; set 1 in the new fields.&lt;/P&gt;&lt;P&gt;(this can be done even with a new table to join)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way the final where clause&amp;nbsp; only check new fields values 1 or 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 07:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-Query/m-p/472982#M694248</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-06-14T07:40:03Z</dc:date>
    </item>
  </channel>
</rss>

