<?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: where clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711963#M1053568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go for set analysis&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;TYPE ={'A','B'}, ID ={'1','2'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means Provide Sum of sales where TYPE = A,B and ID=1,2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 17:34:50 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2014-10-28T17:34:50Z</dc:date>
    <item>
      <title>where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711954#M1053559</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;I need to know how to use WHERE clause in expression.&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711954#M1053559</guid>
      <dc:creator />
      <dc:date>2014-10-28T13:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711955#M1053560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try SET ANALYSIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa=" title="http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa="&gt;Set Analysis Wizard for QlikView | qlikblog.at&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711955#M1053560</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2014-10-28T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711956#M1053561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry this will be use in backend(script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Match instead of where clause.&lt;/P&gt;&lt;P&gt;suppose country is ind,aus,usa we need then we use match(country,'ind','aus','usa')&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using set analysis instead of where clause&lt;/P&gt;&lt;P&gt;this will use in expression&lt;/P&gt;&lt;P&gt;sum({&amp;lt;country={'ind','aus','usa'}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711956#M1053561</guid>
      <dc:creator />
      <dc:date>2014-10-28T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711957#M1053562</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;you can use Set analysis to use where clause in expressions.&lt;/P&gt;&lt;P&gt;For eg: Sales where Country = India.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Country={'India'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711957#M1053562</guid>
      <dc:creator />
      <dc:date>2014-10-28T13:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711958#M1053563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use set analysis for Where clause in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711958#M1053563</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-10-28T13:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711959#M1053564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain what your exact requirement is&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711959#M1053564</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-10-28T13:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711960#M1053565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A "WHERE clause" is scripting terminology, to be used in SQL SELECT and LOAD script statements only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions in UI objects like charts and text boxes can limit the range of data they operate/aggregate on by using one or more of the following techniques:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use dimensions to separate groups of values. The expression will operate only on the field values associated with that particular dimension value&lt;/LI&gt;&lt;LI&gt;Use IF () functions to explicitly select the values you want the expression to operate on. An IF () function call can be embedded anywhere a value, a field or a parameter is expected. The evaluation of IF functions can be costly when aggregating a large data set.&lt;/LI&gt;&lt;LI&gt;Use set analysis to limit the scope of an expression before the aggregation is performed. Very powerful, but can be complex and difficult to master. Punctuation is king.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV Desktop Help is your friend for more details about set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711960#M1053565</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-10-28T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711961#M1053566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;agree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711961#M1053566</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2014-10-28T14:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711962#M1053567</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;Where clause is not used in the expression it is load script functions and use there you can use it in load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;City&lt;/P&gt;&lt;P&gt;Berlin&lt;/P&gt;&lt;P&gt;London&lt;/P&gt;&lt;P&gt;Rio&lt;/P&gt;&lt;P&gt;Spain&lt;/P&gt;&lt;P&gt;] Where Match(City,'Berlin','London');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expression you can use it with SET expression or with any If conditions&lt;/P&gt;&lt;P&gt;With SET &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count( {&amp;lt;City = {'Berlin','London'}&amp;gt;} City )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;With IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count( If( Match(City,'Berlin','London'),&amp;nbsp;&amp;nbsp; City )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711962#M1053567</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-28T14:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: where clause</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause/m-p/711963#M1053568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go for set analysis&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;TYPE ={'A','B'}, ID ={'1','2'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means Provide Sum of sales where TYPE = A,B and ID=1,2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 17:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause/m-p/711963#M1053568</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-10-28T17:34:50Z</dc:date>
    </item>
  </channel>
</rss>

