<?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: Incremental Load in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2030561#M84884</link>
    <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Works perfect!!&lt;/P&gt;
&lt;P&gt;Thanks a lot&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sharbel&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 20:07:47 GMT</pubDate>
    <dc:creator>Sharbel</dc:creator>
    <dc:date>2023-01-26T20:07:47Z</dc:date>
    <item>
      <title>Incremental Load</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2030388#M84862</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to load Excel files using the incremental method. The files are being loaded on &lt;U&gt;hourly basis&lt;/U&gt;&amp;nbsp; (24 times a day) into designated folder in the following manner (starting at 26/01/2023 midnight) :&lt;/P&gt;
&lt;P&gt;file loaded on 26/01/2023 time of load 07:01:01 ---&amp;gt; file name "Clock 2023-01-26_07-01-00.csv " this file contains all employees logins up till&amp;nbsp; 7 am (from starting date 10/01/2023 up till day 26/01/2023 )&lt;/P&gt;
&lt;P&gt;file loaded on 26/01/2023 time of load 08:01:01 ---&amp;gt; file name "Clock 2023-01-26_08-01-01.csv " this file contains all employees logins up till8 am (from starting date 10/01/2023 up till day 26/01/2023 ) and so forth for files loaded on 02:01:01 and so on...&amp;nbsp; (see files attached for example).&lt;/P&gt;
&lt;P&gt;Please note that file "Clock 2023-01-26_07-01-00.csv " contains 7,542 rows&amp;nbsp; and file&amp;nbsp;&amp;nbsp; "Clock 2023-01-26_08-01-01.csv " contains 7,636 rows since it contains all the additional logins made after 07:00 and till 08:00.&lt;/P&gt;
&lt;P&gt;I would appreciate help with incremental load.&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Sharbel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 14:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2030388#M84862</guid>
      <dc:creator>Sharbel</dc:creator>
      <dc:date>2023-01-26T14:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2030525#M84881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rather than an incremental load , why not search for the latest file available in folder ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Incremental load is usefull to load additional file and append them to saved files without always load all the file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fo your case may be have a look to this script&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;first 1 load FileBaseName() as FileName,&lt;BR /&gt;Timestamp(Timestamp#(trim(purgechar(lower(right(FileBaseName(),19)),'data')),'YYYY-MM-DD_HH-MM-SS'),'YYYY-MM-DD hh:mm:ss') as Time&lt;BR /&gt;FROM [lib://TESTLASFILE/Clock*.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;Max:&lt;BR /&gt;load FirstSortedValue(FileName,-Time) as Max_Time_FileName&lt;BR /&gt;Resident Data;&lt;BR /&gt;DROP Table Data;&lt;/P&gt;
&lt;P&gt;let vMax_Time_File_Name =Peek('Max_Time_FileName',0,'Max');&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[lib://TESTLASFILE/$(vMax_Time_File_Name).csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunobertels_0-1674756676063.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98957i89F71F147650F4AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunobertels_0-1674756676063.png" alt="brunobertels_0-1674756676063.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 18:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2030525#M84881</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2023-01-26T18:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2030561#M84884</link>
      <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Works perfect!!&lt;/P&gt;
&lt;P&gt;Thanks a lot&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sharbel&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 20:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2030561#M84884</guid>
      <dc:creator>Sharbel</dc:creator>
      <dc:date>2023-01-26T20:07:47Z</dc:date>
    </item>
  </channel>
</rss>

