<?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 where claus in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800453#M537018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i want to execute this query in qlikview:&lt;/P&gt;&lt;P&gt;select count(field) where field='value1' or field='value2'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Nov 2014 13:06:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-10T13:06:40Z</dc:date>
    <item>
      <title>where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800453#M537018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i want to execute this query in qlikview:&lt;/P&gt;&lt;P&gt;select count(field) where field='value1' or field='value2'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800453#M537018</guid>
      <dc:creator />
      <dc:date>2014-11-10T13:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800454#M537019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through set analysis try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;field={'value1,value2'}&amp;gt;}field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(wildmatch(field,'value1','value2'),field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800454#M537019</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-11-10T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800455#M537020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have forgotten the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select .... FROM TABLE where ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800455#M537020</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-11-10T13:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800456#M537021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;COUNT({&amp;lt;field = {'value1','value2'}&amp;gt;}Distinct field)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;field = {'value1','value2'}&amp;gt;}field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800456#M537021</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T13:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800457#M537022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataTable:&lt;/P&gt;&lt;P&gt;LOAD Count(field) as numberfield&lt;/P&gt;&lt;P&gt;FROM yoursource&lt;/P&gt;&lt;P&gt;WHERE field='value1' or field='value2';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800457#M537022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-10T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800458#M537023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to execute these requests in text object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field where field='value1' and 'value2'&lt;/P&gt;&lt;P&gt;and also:&lt;/P&gt;&lt;P&gt;select count(VAR1) where field='value1' and 'value2'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800458#M537023</guid>
      <dc:creator />
      <dc:date>2014-11-10T13:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800459#M537024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sql is correct except "From Table" as mentioned by Alessandro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to know how to connect to database and execute the sql?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800459#M537024</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-10T13:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800460#M537025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;field={'value1','value2'}&lt;/SPAN&gt;&amp;gt;}VAR1) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800460#M537025</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-10T13:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800461#M537026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the table is not a problem for me, i want just to execute those request in qlik, that's all,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800461#M537026</guid>
      <dc:creator />
      <dc:date>2014-11-10T13:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800462#M537027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank the second request works, but how i can execute the first one:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;select field where field='value1' and 'value2'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800462#M537027</guid>
      <dc:creator />
      <dc:date>2014-11-10T13:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800463#M537028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Concat(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field={'value1','value2'}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;}Field1,',')&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800463#M537028</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-10T13:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: where claus</title>
      <link>https://community.qlik.com/t5/QlikView/where-claus/m-p/800464#M537029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use if statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(wildmatch(field,'value1') and wildmatch(field,'value2'),field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-claus/m-p/800464#M537029</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-11-10T13:37:09Z</dc:date>
    </item>
  </channel>
</rss>

