<?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 script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487242#M181985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard code the x value into the QV script and change it there manually rather than on the excel sheet? Otherwise you could make the x value its own column in the excel sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2013 20:12:41 GMT</pubDate>
    <dc:creator>TKendrick20</dc:creator>
    <dc:date>2013-07-16T20:12:41Z</dc:date>
    <item>
      <title>where clause in script</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487241#M181984</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need Month condition for a WHERE clause in QV script. Month value is stored in a excel sheet. How can I use Month value from a excel sheet? Thanks.&lt;/P&gt;&lt;P&gt;the script is like this:&lt;/P&gt;&lt;P&gt;Load Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;from table1&lt;/P&gt;&lt;P&gt;where Month &amp;gt; x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x is a value stored in the excel sheet,which is changed manually monthly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487241#M181984</guid>
      <dc:creator>newhere2014</dc:creator>
      <dc:date>2013-07-16T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in script</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487242#M181985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard code the x value into the QV script and change it there manually rather than on the excel sheet? Otherwise you could make the x value its own column in the excel sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487242#M181985</guid>
      <dc:creator>TKendrick20</dc:creator>
      <dc:date>2013-07-16T20:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in script</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487243#M181986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard code is not an option for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, x value is stored in excel as a column. But how to use it in script? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487243#M181986</guid>
      <dc:creator>newhere2014</dc:creator>
      <dc:date>2013-07-16T20:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in script</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487244#M181987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide a sample of how data is loaded into table1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes a huge difference if the Month values are January, February, March or 01, 02, 03.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487244#M181987</guid>
      <dc:creator>TKendrick20</dc:creator>
      <dc:date>2013-07-16T20:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in script</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487245#M181988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my code, but it can not run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CloseMonth:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month_1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vMonth=Month_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 45&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 63&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 232&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 445&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7, 34&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, 65&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load Month as M,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;where Month&amp;gt;$(vMonth);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table T1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487245#M181988</guid>
      <dc:creator>newhere2014</dc:creator>
      <dc:date>2013-07-16T20:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in script</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487246#M181989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;BR /&gt;LOAD Month&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(biff, embedded labels, table is [Sheet1$]);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET VTest=Peek('Month');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD Name, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(biff, embedded labels, table is [Sheet1$])&lt;BR /&gt;WHERE(Month &amp;gt; $(VTest) );&lt;BR /&gt;DROP Table temp;&lt;/C&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487246#M181989</guid>
      <dc:creator />
      <dc:date>2013-07-16T20:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: where clause in script</title>
      <link>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487247#M181990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code works.&amp;nbsp; Peek function solved my problem.&lt;/P&gt;&lt;P&gt;Thanks all of you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-clause-in-script/m-p/487247#M181990</guid>
      <dc:creator>newhere2014</dc:creator>
      <dc:date>2013-07-16T20:33:54Z</dc:date>
    </item>
  </channel>
</rss>

