<?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: For each in Filelist - only selects the first file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315777#M408547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for each File in filelist ('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;lib://QlikData/*.qvd&lt;/SPAN&gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Files:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load '$(File)' as Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; FileTime( '$(File)' ) as FileTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; autogenerate 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next File&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LatestFile:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;first 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; FileTime,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 1 as dummy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Files&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By FileTime DESC;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;drop table Filed;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2017 02:07:46 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-06-06T02:07:46Z</dc:date>
    <item>
      <title>For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315776#M408546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I appreciate if you help me solve this issue,&lt;/P&gt;&lt;P&gt;I am trying to fetch a list of qvd file names, then based on the date (YYYY-MMM) in their names, only select the last one (the most recent one)&lt;/P&gt;&lt;P&gt;Table names are like:&lt;/P&gt;&lt;P&gt;MyTable_2017-Jan&lt;/P&gt;&lt;P&gt;MyTable_2016-Dec&lt;/P&gt;&lt;P&gt;,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I'm here:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;for each vFile in FileList('lib://QlikData/*.qvd')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Files:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *, FileBaseName() as FileName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From $(vFile);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMaxFile=Max(Date((SubField(FileName,'_',-1)),'YYYY-MMM'));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from [&lt;SPAN style="font-size: 13.3333px;"&gt;'lib://QlikData/TsbleName_$(vMaxFile).qvd'](qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am expecting this to load the last qvd, but it doesn't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 01:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315776#M408546</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-06T01:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315777#M408547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for each File in filelist ('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;lib://QlikData/*.qvd&lt;/SPAN&gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Files:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load '$(File)' as Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; FileTime( '$(File)' ) as FileTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; autogenerate 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next File&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LatestFile:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;first 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; FileTime,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 1 as dummy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Files&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By FileTime DESC;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;drop table Filed;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 02:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315777#M408547</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-06T02:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315778#M408548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil, &lt;/P&gt;&lt;P&gt;But I really need to use the date in the fileName. The modified date of these files are not reliable and I need to use that date later in my code. &lt;/P&gt;&lt;P&gt;Isn't there any way to resolve that ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 02:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315778#M408548</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-06T02:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315779#M408549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to test, I used your script as below :&lt;/P&gt;&lt;P&gt;for each vFile in FileList('lib://QlikData/*.qvd')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Files:&lt;/P&gt;&lt;P&gt;Load '$(vFile)' as FName,&lt;/P&gt;&lt;P&gt;FileTime( '$(vFile)' ) as FileTime&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;next vFile&lt;/P&gt;&lt;P&gt;LatestFile:&lt;/P&gt;&lt;P&gt;first 1&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;FName,&lt;/P&gt;&lt;P&gt;FileTime,&lt;/P&gt;&lt;P&gt;1 as dummy&lt;/P&gt;&lt;P&gt;Resident Files&lt;/P&gt;&lt;P&gt;Order By FileTime DESC;&lt;/P&gt;&lt;P&gt;drop table Files;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMaxFile=FName;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Consignments:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Load * from [lib://QlikData/'$(vMaxFile)'](qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't load any file, the error&amp;nbsp; is : &lt;/P&gt;&lt;P&gt;The following error occurred:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; background: rgba(255, 38, 38, 0.2); color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;Cannot open file: 'lib://QlikData/'''&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 03:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315779#M408549</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-06T03:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315780#M408550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's clearly telling related your files are not located in QlikData folder. Can you cross check that and connect manually those filed by help of guide then have a look and consider my script to get latest one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 04:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315780#M408550</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-06T04:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315781#M408551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anli, &lt;/P&gt;&lt;P&gt;I checked the logs, it reads all the files and pick the maximum, but on below step, it fails to load it with a variable&lt;/P&gt;&lt;P&gt;I think the issue is there..do you have any suggestion? &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Load * from [lib://QlikData/&lt;STRONG&gt;$(vMaxFile)&lt;/STRONG&gt;](qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 04:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315781#M408551</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-06T04:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315782#M408552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use NoConcatenate on your last statement like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Consignments:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;NoConcatenate &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * from [lib://QlikData/'$(vMaxFile)'](qvd);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;remove the single colon on your variable while loads statement like below&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Load * from [lib://QlikData/$(vMaxFile)](qvd);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 04:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315782#M408552</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-06T04:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315783#M408553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you think, normally it's ok to use variables inside the lib address? &lt;/P&gt;&lt;P&gt;This is the first time that I want to load that qvd file and using NoConcatenate doesn't change anything, I tried &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 04:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315783#M408553</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-06T04:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315784#M408554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I realized what the issue is, &lt;/P&gt;&lt;P&gt;when using for each vFile, it actually stores the whole link into this variable. &lt;/P&gt;&lt;P&gt;For instance, vFile becomes &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;lib://QlikData/MyTable_2016-Aug.qvd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;But it should only contain "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MyTable_2016-Aug.qvd"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;do you have any suggestion? &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 05:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315784#M408554</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-06T05:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315785#M408555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to select the file based on the year/month in the filename, then you can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vMaxDate = 0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vFinalFile ='';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For Each vFile in FileList('lib://QlikData/*.qvd')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vDate = Date#(TextBetween(vFile, 'Table_', '.qvd'), 'yyyy-MMM');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vFinalFile = If(vDate &amp;gt; vMaxDate, vFile, vFinalFile);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vMaxDate = RangeMax(vMaxDate, vDate);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Consignments:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load * from [$(vFinalFile)] (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set vMaxDate =;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set vFile =;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set &lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;vFinalFile&amp;nbsp; =;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is based on the details in your original post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 05:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315785#M408555</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-06-06T05:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315786#M408556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Jon&lt;/P&gt;&lt;P&gt;I think the issue must be clarified, I have a couple of qvd files in a folder with the structure that I already mentioned:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MyTable_2017-Jan.qvd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MyTable_2016-Dec.qvd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, ....&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to dynamically select the last qvd file. Please let me know if I could give any more information&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What I don't understand in your script is that whether it needs me to give some MaxDate or FinalFile ?&amp;nbsp; because there is no maxDate or FinalFile...the files are automatically created and are supposed to be continued forever &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 05:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315786#M408556</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-06T05:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315787#M408557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's true, It will store as full link only. And, I would read few articles when you need separate file names you must include by help of SubField() to fetch the data initially then we can fetch max / latest number.&lt;/P&gt;&lt;P&gt;May be helps you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 06:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315787#M408557</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-06T06:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315788#M408558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I want to dynamically select the last qvd file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;And that is precisely what this script does.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What I don't understand in your script is that whether it needs me to give some MaxDate or FinalFile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Uhm, no. The script is self-contained. The only thing required is the file path in the FileList()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 06:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315788#M408558</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-06-06T06:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315789#M408559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, &lt;/P&gt;&lt;P&gt;I am deeply grateful for your help&lt;/P&gt;&lt;P&gt;Would you please also check my script on below link? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/262832"&gt;Incremental Loading on monthly Partitioned QVDs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 01:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315789#M408559</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-08T01:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315790#M408560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, &lt;/P&gt;&lt;P&gt;Sorry to interrupt you, but I've been trying to fix this script for 3 days and no success yet. I'll appreciate if you could take a look at it and let me know what is wrong with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;// Selecting the last qvd file (this part works like a charm)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;vMaxDate = 0;&lt;/P&gt;&lt;P&gt;vFinalFile ='';&lt;/P&gt;&lt;P&gt;For Each vFile in FileList('lib://QlikData/Consigments/*.QVD')&lt;/P&gt;&lt;P&gt;&amp;nbsp; vDate = Date#(TextBetween(vFile, 'Consigments_', '.QVD'), 'yyyy-MMM');&lt;/P&gt;&lt;P&gt;&amp;nbsp; vFinalFile = If(vDate &amp;gt; vMaxDate, vFile, vFinalFile);&lt;/P&gt;&lt;P&gt;&amp;nbsp; vMaxDate = RangeMax(vMaxDate, vDate);&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consignments:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load * from [$(vFinalFile)] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vMaxDate =;&lt;/P&gt;&lt;P&gt;Set vFile =;&lt;/P&gt;&lt;P&gt;Set vFinalFile&amp;nbsp; =;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Finding the last updated date &lt;/P&gt;&lt;P&gt;ConsDate: &lt;/P&gt;&lt;P&gt;Load max(Created) as MaxDate&lt;/P&gt;&lt;P&gt;resident Consignments;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vCDate=Date(Peek('MaxDate',0,'ConsDate'),'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Consignments;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'DB';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IncrementalCons: &lt;/P&gt;&lt;P&gt; Load *;&lt;/P&gt;&lt;P&gt; SQL &lt;/P&gt;&lt;P&gt; select * from &lt;/P&gt;&lt;P&gt; DB.dbo.Consignments where Created&amp;gt;'$(vCDate)' or Edited&amp;gt;'$(vCDate)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearData: &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;DISTINCT Date(Created,'YYYY-MMM') AS YrMonth//(Year(Created)&amp;amp;'-'&amp;amp; Month(Created))&amp;nbsp; AS YrMonth // Formatting the Date&lt;/P&gt;&lt;P&gt;Resident IncrementalCons;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 0&amp;nbsp; to NoOfRows('YearData')-1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vYrMonth = Peek('YrMonth',$(i),'YearData');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalTable:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Resident IncrementalCons&lt;/P&gt;&lt;P&gt;WHERE Date(Created,'YYYY-MMM')='$(vYrMonth)';// (Year(Created)&amp;amp;'-'&amp;amp; Month(Created)) = '$(vYrMonth)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//If the qvd already exists, it should be updated, but if it's a new month data we should create a new qvd file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ($(vYrMonth)&amp;lt;=$(vMaxDate)) then &lt;/P&gt;&lt;P&gt;Concatenate &lt;/P&gt;&lt;P&gt;Load * from [$(vFinalFile)](qvd) where not Exists(Id);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE FinalTable into '$(vPathStore)/Consigments/Consigments_$(vYrMonth).QVD'(QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;STORE FinalTable into '$(vPathStore)/Consigments/Consigments_$(vYrMonth).QVD'(QVD);&lt;/P&gt;&lt;P&gt; end if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table FinalTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next i;&lt;/P&gt;&lt;P&gt;drop Table IncrementalCons,YearData,ConsDate;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 04:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315790#M408560</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-09T04:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315791#M408561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be easier to help you if you described in detail what is wrong. I see no major issues by eyeballing it. Are you getting an error? if so, what? Or are you getting incorrect results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest that you start a new thread for this as the original question in the thread has been answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 05:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315791#M408561</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-06-12T05:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: For each in Filelist - only selects the first file</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315792#M408562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jon,&lt;/P&gt;&lt;P&gt;I really appreciate your help&lt;/P&gt;&lt;P&gt;I already created another thread for this: &lt;SPAN style="font-size: 13.3333px;"&gt;the problem is in writing the slice of data in its related QVD files. The part I wrote down an IF. The selected data could be related to different QVDs (Since data in last months could be edited) but we store it in QVD based on Created data. So, imagine a scenario in which the selected data in the last window is related to the last 3 months QVDs. We should update the first 2 QVDs and create another QVD file for the current month (let's assume the month just changed and now we have a new month) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/262832"&gt;Incremental Load on monthly Partitioned QVDs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3778c7; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-----------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let me give you an example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact Columns&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Edited&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Created &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxxxxxxxxxxx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017-06-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 2017-05-05&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;xxxxxxxxxxxx&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017-06-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 2017-04-05&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;xxxxxxxxxxxx&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017-06-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 2017-03-05&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;400&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;xxxxxxxxxxxx&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 2017-06-01&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; 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: #3778c7; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;The first 3 rows (100,200,300) must be updated into their related QVD files, but the last row( 400) should be added to a new &lt;/SPAN&gt;qvd&lt;SPAN style="color: #000000;"&gt; file for &lt;/SPAN&gt;month&lt;SPAN style="color: #000000;"&gt; of June. (assuming this is the first time we do incremental loading in June and there is no &lt;/SPAN&gt;qvd&lt;SPAN style="color: #000000;"&gt; file created for this month before) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3778c7; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3778c7; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 06:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-Filelist-only-selects-the-first-file/m-p/1315792#M408562</guid>
      <dc:creator>arixooo123</dc:creator>
      <dc:date>2017-06-12T06:35:15Z</dc:date>
    </item>
  </channel>
</rss>

