<?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 Incremental load based on filename in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load-based-on-filename/m-p/476706#M689168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to have an incremental (only add) of some log files in a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file name is of the format filename_date_time;csv. And there is a new file added every hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the incremental load of the QVD how can I compare the last file loaded in the QVD and the latest log files in the folder so as to load only the files that have not been loaded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it better to maintain a list of log files in a separate table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, filename() as name&lt;BR /&gt;From f:\Qlikview\*.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;From f:\Qlikview\*.csv&lt;/P&gt;&lt;P&gt;where ...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Nov 2013 14:35:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-04T14:35:18Z</dc:date>
    <item>
      <title>Incremental load based on filename</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-based-on-filename/m-p/476706#M689168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to have an incremental (only add) of some log files in a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file name is of the format filename_date_time;csv. And there is a new file added every hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the incremental load of the QVD how can I compare the last file loaded in the QVD and the latest log files in the folder so as to load only the files that have not been loaded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it better to maintain a list of log files in a separate table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, filename() as name&lt;BR /&gt;From f:\Qlikview\*.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;From f:\Qlikview\*.csv&lt;/P&gt;&lt;P&gt;where ...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 14:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-based-on-filename/m-p/476706#M689168</guid>
      <dc:creator />
      <dc:date>2013-11-04T14:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load based on filename</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-based-on-filename/m-p/476707#M689170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could call a cmd prompt to move *.csv into a subfolder. That way you can always use *.csv in the load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,*&lt;/P&gt;&lt;P&gt;FROM *.csv;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE /c cmd Move *.csv \Loaded;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 14:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-based-on-filename/m-p/476707#M689170</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-11-04T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load based on filename</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-based-on-filename/m-p/476708#M689171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow that works like magic! I was trying to do something more complicated.&lt;/P&gt;&lt;P&gt;Would you also be having an example of an incremental reload with insert / update?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 16:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-based-on-filename/m-p/476708#M689171</guid>
      <dc:creator />
      <dc:date>2013-11-04T16:33:37Z</dc:date>
    </item>
  </channel>
</rss>

