<?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: SQL where Question. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020354#M345245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM table&lt;/P&gt;&lt;P&gt; WHERE YEAR IN (2015, 2016);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 08:43:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-26T08:43:37Z</dc:date>
    <item>
      <title>SQL where Question.</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020350#M345241</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 need to restrict&lt;/P&gt;&lt;P&gt;where YEAR = 2015 and 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this in qlikview. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 07:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020350#M345241</guid>
      <dc:creator>MuraliPrasath</dc:creator>
      <dc:date>2016-04-26T07:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where Question.</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020351#M345242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add it in script almost like SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;YourQVDHere.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;where(year = ('2015') or year = ('2016'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 08:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020351#M345242</guid>
      <dc:creator />
      <dc:date>2016-04-26T08:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where Question.</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020352#M345243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where do you want to restrict this? In a chart or with loading the data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 08:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020352#M345243</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-26T08:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where Question.</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020353#M345244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niklas. Might be he want, 2015 and 2016 data..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 08:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020353#M345244</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-04-26T08:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where Question.</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020354#M345245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM table&lt;/P&gt;&lt;P&gt; WHERE YEAR IN (2015, 2016);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 08:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020354#M345245</guid>
      <dc:creator />
      <dc:date>2016-04-26T08:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where Question.</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020355#M345246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If you want to restrict it while loading the data from database then do it like below&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FROM Tablename&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;where YEARFIELD IN ('2015','2016');&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;STORE Data into path\&lt;SPAN style="font-size: 13.3333px;"&gt;Tablename.QVD;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;DROP TABLE Data;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;if you want to restrict this in Qlikview script&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FROM Tablename.QVD(QVD)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;WHERE match(YEARFIELD,'2015','2016');&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you want to restrict at chart level use the below expression&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=sum({&amp;lt;YEAR ={'2015','2016'}&amp;gt;Value)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 08:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020355#M345246</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-04-26T08:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL where Question.</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020356#M345247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE match(YEARFIELD,'2015','2016');&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;This is worked.&amp;nbsp; thanks Kishal.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 09:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-where-Question/m-p/1020356#M345247</guid>
      <dc:creator>MuraliPrasath</dc:creator>
      <dc:date>2016-04-26T09:16:02Z</dc:date>
    </item>
  </channel>
</rss>

