<?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: LOAD Max(DateFile) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547441#M688381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your adviced script loads regrettably all Files !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="48368" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/48368_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need only the last 2 days listet. Actually today (30.10.2013) and yesterday(29.10.2013)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 13:54:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-30T13:54:29Z</dc:date>
    <item>
      <title>LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547438#M688372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13831399421412798 jive_macro_code" jivemacro_uid="_13831399421412798"&gt;
&lt;P&gt;TEMP_PICKER_QMCLog:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD Distinct FilePath() AS FileName, FileTime() AS DateFile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM D:\Qlikview11\DistributionService\1\Log\Root_201*.txt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INNER JOIN (TEMP_PICKER_QMCLog) LOAD max(DateFile) as DateFile RESIDENT TEMP_PICKER_QMCLog;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET PointerToQMCLogfile = peek('FileName',-1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //DROP TABLE TEMP_PICKER_QMCLog;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;QMCLogfile:&lt;/P&gt;
&lt;P&gt;LOAD @1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @4&lt;/P&gt;
&lt;P&gt;FROM '$(PointerToQMCLogfile)' (txt, utf8, no labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am loading the latest file in qlikview.&amp;nbsp; Nowadays the day before should also additionally be loaded in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it with&amp;nbsp; &lt;STRONG&gt;max(DateFile,2). &lt;/STRONG&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;But unfortunately,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;only one file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will be loaded&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;How do I implement&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;so that&lt;/SPAN&gt; only &lt;SPAN class="hps"&gt;the last two&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;days&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will be&lt;/SPAN&gt; loaded &lt;SPAN class="hps"&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547438#M688372</guid>
      <dc:creator />
      <dc:date>2013-10-30T13:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547439#M688376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13831402644636439 jive_macro_code" jivemacro_uid="_13831402644636439" modifiedtitle="true"&gt;
&lt;P&gt;TEMP_PICKER_QMCLog:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="keyword"&gt;LOAD &lt;SPAN class="keyword"&gt;Distinct&lt;/SPAN&gt; FilePath() &lt;SPAN class="keyword"&gt;AS&lt;/SPAN&gt; FileName, FileTime() &lt;SPAN class="keyword"&gt;AS&lt;/SPAN&gt; DateFile&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="keyword"&gt;&lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;FROM D:\Qlikview11\DistributionService\1\Log\Root_201*.txt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="keyword"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="keyword"&gt;Temp2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;First 2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="keyword"&gt;load * resident &lt;/SPAN&gt;TEMP_PICKER_QMCLog&lt;/P&gt;
&lt;P&gt;order by DateFile desc;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;let vLatestFile = peek('FileName',0,'Temp2');&lt;/P&gt;
&lt;P&gt;let vSecondLatestFile = peek('FileName',1,'Temp2');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * from '$(vLatestFile)' (txt, utf8, &lt;SPAN class="keyword"&gt;no labels, delimiter &lt;SPAN class="keyword"&gt;is&lt;/SPAN&gt; &lt;SPAN class="string"&gt;','&lt;/SPAN&gt;, msq); &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD * from '$(vSecondLatestFile)' (txt, utf8, &lt;SPAN class="keyword"&gt;no labels, delimiter &lt;SPAN class="keyword"&gt;is&lt;/SPAN&gt; &lt;SPAN class="string"&gt;','&lt;/SPAN&gt;, msq); &lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547439#M688376</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-30T13:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547440#M688379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you truly run reloads daily and the max() works why not do max()-1 for the previous day?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547440#M688379</guid>
      <dc:creator>andrewpettit</dc:creator>
      <dc:date>2013-10-30T13:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547441#M688381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your adviced script loads regrettably all Files !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="48368" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/48368_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need only the last 2 days listet. Actually today (30.10.2013) and yesterday(29.10.2013)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547441#M688381</guid>
      <dc:creator />
      <dc:date>2013-10-30T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547442#M688382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried it with &lt;STRONG&gt;LOAD max(DateFile)-1&lt;/STRONG&gt; but it did not works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 14:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547442#M688382</guid>
      <dc:creator />
      <dc:date>2013-10-30T14:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547443#M688383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats most likely because your doing an inner join and using the max function the max will always only return a single result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not use the max and the peek to get the latest date minus one and store it into a variable.&amp;nbsp; Then inner join the table to itself with just the distinct PK and use a where condition to say date &amp;gt;= $(#maxDateMinus1) or something like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 14:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547443#M688383</guid>
      <dc:creator>andrewpettit</dc:creator>
      <dc:date>2013-10-30T14:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547444#M688384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Onur Civelek wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Gysbert,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;your adviced script loads regrettably all Files !&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG __jive_id="48358" alt="" class="jiveImage" height="310" src="https://community.qlik.com/legacyfs/online/48358_pastedImage_3.png" style="width: auto; height: auto;" width="185" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I need only the last 2 days listet. Actually today (30.10.2013) and yesterday(29.10.2013)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could you double check this? I doubt that all files are loaded when using Gysbert's script snippet.&lt;/P&gt;&lt;P&gt;Your DateFile values will still show all available file dates, because you haven't inner joined nor dropped this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you check which files are loaded e.g. by posting the document log?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 14:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547444#M688384</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-30T14:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547445#M688385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Hello again, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;maybe&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;my script&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;suitable&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for my project&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;The QMC generates the following logs. I want to load only the last 2 days. In this case today and yesterday:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Root_20131030.txt&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Root_20131029.txt&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/48369_pastedImage_0.png" style="width: 620px; height: 284px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Is there a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;more appropriate way &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;or&lt;/SPAN&gt; an example &lt;SPAN class="hps"&gt;script&lt;/SPAN&gt; to do this &lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Thank you very much !&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547445#M688385</guid>
      <dc:creator />
      <dc:date>2013-10-30T15:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547446#M688386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do still assume that Gysbert's script works or can be made working easily, have you already checked my above statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are lots of examples how you can load a list of available files into QV, then filter by date or extension and loop through the remaining set to load the data files in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/89640"&gt;Load file based on timestamp&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547446#M688386</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-30T15:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD Max(DateFile)</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547447#M688387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi togehter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got a solution from Clever. Many t&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;hanks &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; him. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13833061862045611" jivemacro_uid="_13833061862045611"&gt;
&lt;P&gt;SET PATH='D:\Qlikview11\DistributionService\1\Log';&amp;nbsp; &lt;/P&gt;
&lt;P&gt;LET TwoDays=date(today()-2,'YYYYMMDD');&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;for each file in FileList('$(PATH)\Root_*.txt')&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; let filebasename =subfield('$(file)','\',-1);&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; if '$(filebasename)' follows 'Root_$(TwoDays).txt' then&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; QMCLog:&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD &lt;/P&gt;
&lt;P&gt;&amp;nbsp; @1 AS QMCLogDate, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; @3 AS QMCLogType, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; @5 AS QMCLogTask, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; @6 AS QMCLogApp, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; @7 AS QMCLogInfo1, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; @8 AS QMCLogInfo2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;
&lt;P&gt;(txt, utf8, no labels, delimiter is spaces, msq, no eof);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; end if&amp;nbsp; &lt;/P&gt;
&lt;P&gt;next&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script load only the last two days and works perfectly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class="ita-kd-inputtools-div"&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 11:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-Max-DateFile/m-p/547447#M688387</guid>
      <dc:creator />
      <dc:date>2013-11-01T11:47:40Z</dc:date>
    </item>
  </channel>
</rss>

