<?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: Daily CSV incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170071#M380467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please point me to a script that does this if already exist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 00:44:01 GMT</pubDate>
    <dc:creator>userid128223</dc:creator>
    <dc:date>2016-08-11T00:44:01Z</dc:date>
    <item>
      <title>Daily CSV incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170069#M380465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following scenerio. I have source folder where data arrives on daily bases and i need to create 1 qvd for all the data without duplicaiton. I also need to read this folder daily and load any new files that arrive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;C:\SourceFolder\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Day1:&lt;/P&gt;&lt;P&gt;Tax20150801.csv&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tax20150802.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tax20150803.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tax20150804.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load * &amp;gt; accumulated_Tax.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Day2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tax20150801.csv&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tax20150802.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tax20150803.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tax20150804.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;Tax20150805.csv&lt;/EM&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1 style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;Tax20150806.csv&lt;/EM&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;Idea is on day 2 only 2 new file will be appended to accumulated_Tax.csv and others will be ignored. Also make sure that if this does not run daily, it will take any new files that was not processed previously. I would also like to keep a log of files that were processed.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;Thanks&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 21:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170069#M380465</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2016-08-10T21:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Daily CSV incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170070#M380466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Store the filename of each file into the accumulated_Tax.qvd (I would store the resulting table into a QVD), using e.g FileBaseName() to create the new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your script basically looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) LOAD your historic data, the accumulated_Tax.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Using a &lt;EM&gt;FOR EACH vFile IN FILELIST('*.csv') ... NEXT vFile,&lt;/EM&gt; loop over all csv file in your directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Inside the loop, use an IF condition based on the filename and a lookup of the stored filename to check if it already exists in the historic table. If it doesn't exist, append the csv table to your historic table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170070#M380466</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-08-10T22:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Daily CSV incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170071#M380467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please point me to a script that does this if already exist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 00:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170071#M380467</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2016-08-11T00:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Daily CSV incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170072#M380468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi Stefan,&lt;/P&gt;&lt;P&gt;usually, my scripts move all read files to an archive directory and add a field "datasource" containing the filename just for referrence in case the dataset is delivered again in another file. Is that possible in your environment?&lt;/P&gt;&lt;P&gt;keep qliking &lt;/P&gt;&lt;P&gt;michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 10:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170072#M380468</guid>
      <dc:creator>michael_klix</dc:creator>
      <dc:date>2016-08-11T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Daily CSV incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170073#M380469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am aware of that method but I think there are chances of error calling windows command in qlikview. I think if you keep a file database as to what got loaded and what requires loading is good way to avoid errors. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 13:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170073#M380469</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2016-08-11T13:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Daily CSV incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170074#M380470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any&amp;nbsp; examples on this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 22:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-CSV-incremental-load/m-p/1170074#M380470</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2016-08-22T22:08:46Z</dc:date>
    </item>
  </channel>
</rss>

