<?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: Filtering is not happening in the load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-is-not-happening-in-the-load-script/m-p/558939#M1144319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a Ton Miguel. Now its working &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2013 13:50:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-05T13:50:25Z</dc:date>
    <item>
      <title>Filtering is not happening in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-is-not-happening-in-the-load-script/m-p/558937#M1144317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The below one is&amp;nbsp; my excel source data. I want to extract only the incremental data which is above 27/08/2013, in that case only 2 records (28/08/2013) to be extracted whereas &lt;SPAN style="font-size: 10pt;"&gt;my load script extracts all the records from this source file. Please refer my load script below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;CustID&lt;/TD&gt;&lt;TD width="64"&gt;CustName&lt;/TD&gt;&lt;TD width="64"&gt;Location&lt;/TD&gt;&lt;TD width="64"&gt;Last_upd&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD&gt;Ashok&lt;/TD&gt;&lt;TD&gt;Chennai&lt;/TD&gt;&lt;TD&gt;27/08/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;20&lt;/TD&gt;&lt;TD&gt;Madhu&lt;/TD&gt;&lt;TD class="xl63"&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;28/08/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;30&lt;/TD&gt;&lt;TD&gt;Shankar&lt;/TD&gt;&lt;TD&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;27/08/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;40&lt;/TD&gt;&lt;TD class="xl63"&gt;Jane&lt;/TD&gt;&lt;TD class="xl63"&gt;Bangalore&lt;/TD&gt;&lt;TD class="xl63"&gt;28/08/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD&gt;Ashok&lt;/TD&gt;&lt;TD&gt;Chennai&lt;/TD&gt;&lt;TD&gt;26/08/2013&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMD=peek('Last_upd',-1,'Obt_maxdt');&lt;/P&gt;&lt;P&gt;Trace $(vMD) --&amp;nbsp;&amp;nbsp; ( this one shows 27/08/2013) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta:&lt;/P&gt;&lt;P&gt;LOAD CustID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustName, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last_upd&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;E:\Downloads\Customer.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Delta)&lt;/P&gt;&lt;P&gt;where Last_upd &amp;gt; $(vMD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the value stored in $(vMD) the above Load script should extract only the records greater than 27/08/2013 whereas it fetches all the 5 records and store it in a qvd file. ??/&amp;nbsp; Not sure , why is that fetching all the records instead of fetching only 2 records ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me to find out where am making mistake here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 13:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-is-not-happening-in-the-load-script/m-p/558937#M1144317</guid>
      <dc:creator />
      <dc:date>2013-08-05T13:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering is not happening in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-is-not-happening-in-the-load-script/m-p/558938#M1144318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the date is a literal value here, try instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13757101769825679" jivemacro_uid="_13757101769825679"&gt;&lt;P&gt;where Last_upd &amp;gt; '$(vMD)'; // using single quotes&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make sure the contents in vMD has the same format that the values stored into field "Last_upd"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 13:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-is-not-happening-in-the-load-script/m-p/558938#M1144318</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2013-08-05T13:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering is not happening in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-is-not-happening-in-the-load-script/m-p/558939#M1144319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a Ton Miguel. Now its working &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 13:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-is-not-happening-in-the-load-script/m-p/558939#M1144319</guid>
      <dc:creator />
      <dc:date>2013-08-05T13:50:25Z</dc:date>
    </item>
  </channel>
</rss>

