<?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 with multiple CSV files and single sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339409#M615211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain on Unique record? It is based on what? &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EMPId or EMPId&amp;amp;Date ?&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;&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;Regards,&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;Ravi Balar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 04:32:05 GMT</pubDate>
    <dc:creator>balar025</dc:creator>
    <dc:date>2017-07-10T04:32:05Z</dc:date>
    <item>
      <title>Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339394#M615196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have one requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Load multiple CSV files appended with date e.g: 2017-03-28 EMP Data.csv [Done]&lt;/P&gt;&lt;P&gt;2. based on file name date column need to be extracted&lt;SPAN style="font-size: 13.3333px;"&gt;[Done]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. All csv files will be one single folder&lt;SPAN style="font-size: 13.3333px;"&gt;[Done]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3. Load all csv files and concatenate to one single table&lt;SPAN style="font-size: 13.3333px;"&gt;[Done]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4. After loading the files, old csv files will be deleted [Pending]&lt;/P&gt;&lt;P&gt;4. daily new file will be placed and append new file records to existing records in QV table[Pending]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA sample csv files and qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please let me know the incremental load logic need to be applied here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 10:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339394#M615196</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-06T10:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339395#M615197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 12:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339395#M615197</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-06T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339396#M615198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/208667"&gt;atkinsow&lt;/A&gt;‌&lt;/P&gt;&lt;H5 style="font-size: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H5&gt;&lt;P&gt;Can please let me know any alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried some solutions but they are generating separate QVD for each csv file, but the ultimate output should generate one single QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though if we delete the csv in share drive also QV should maintain historic data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 17:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339396#M615198</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-06T17:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339397#M615199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may not be the most efficient but this should work.&amp;nbsp; Assumes EMPId is unique and only adds new records.&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;&lt;/P&gt;&lt;P&gt;if isnull(QvdCreateTime(EMP_Data)) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Full reload if QVD not exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vFilePath = '..\*EMP Data.csv';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EMP_Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD EMPId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Left(FileName(),10),'YYYYMMDD')&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vFilePath)&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;where not Exists(EMPId);&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;Store EMP_Data into EMP_Data.qvd;&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;ELSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BaseQVD:&lt;/P&gt;&lt;P&gt;LOAD EMPId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;EMP_Data.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(BaseQVD)&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;EMP_Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD EMPId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Left(FileName(),10),'YYYYMMDD')&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vFilePath)&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;where not Exists(EMPId);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store EMP_Data into EMP_Data.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 17:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339397#M615199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T17:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339398#M615200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my original data there is no primary key, in that case can please let me know does above solution will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 03:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339398#M615200</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-07T03:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339399#M615201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Tried your solution, its loading but when we delete any old csv files, then its even deleting in the QVD as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My ultimate goal is to load all the CSV files, even though we delete the files from share drive historic data should be maintained in QVD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 03:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339399#M615201</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-07T03:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339400#M615202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;Let vFilePath = '1302030\*EMP Data.csv';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let qvdExists = isNull(QvdCreateTime('1302030\EMP_Data.qvd'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(qvdExists) &amp;lt; 0 then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trace New file came.No Qvd is there;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EMP_Data:&lt;/P&gt;&lt;P&gt;LOAD EMPId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Left(FileName(),10),'YYYYMMDD')&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vFilePath)&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trace New file came with existing qvd;&lt;/P&gt;&lt;P&gt;EMP_Data:&lt;/P&gt;&lt;P&gt;LOAD*&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[1302030\EMP_Data.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EMP_Data:&lt;/P&gt;&lt;P&gt;LOAD EMPId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Left(FileName(),10),'YYYYMMDD')&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vFilePath)&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store EMP_Data into 1302030\EMP_Data.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Ravi Balar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339400#M615202</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-07-07T06:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339401#M615203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. Tried your solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we delete the CSV files also QVD is having historic data, but issue is that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we take count(EMPId) after every reload the count is getting increased.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339401#M615203</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-07T06:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339402#M615204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If are not placing new file and if we reload the app, last loaded records were being added to the previous month.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169392_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339402#M615204</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-07T06:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339403#M615205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your emp_id is present in new file then it will take duplicate. for that you need to use where exists in else condition while loading csv files.&lt;/P&gt;&lt;P&gt;like where not exists(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EMPId&lt;/SPAN&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339403#M615205</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-07-07T06:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339404#M615206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you used where condition and your script works fine, can please let me know any way we can achieve with our primary key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339404#M615206</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-07T06:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339405#M615207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can take max date from qvd and check the condition. Like extracted date of files should be greater than max date from qvd.&lt;/P&gt;&lt;P&gt;For Example,&lt;/P&gt;&lt;P&gt;Let vFilePath = '1302030\*EMP Data.csv';&lt;/P&gt;&lt;P&gt;Let qvdExists = isNull(QvdCreateTime('1302030\EMP_Data.qvd'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(qvdExists) &amp;lt; 0 then&lt;/P&gt;&lt;P&gt;Trace New file came.No Qvd is there;&lt;/P&gt;&lt;P&gt;EMP_Data:&lt;/P&gt;&lt;P&gt;LOAD EMPId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Left(FileName(),10),'YYYYMMDD')&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vFilePath)&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trace New file came with existing qvd;&lt;/P&gt;&lt;P&gt;EMP_Data:&lt;/P&gt;&lt;P&gt;LOAD*&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[1302030\EMP_Data.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MaxDateQvd:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Max(Date_ID) as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident EMP_Data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let vMaxDate = Peek('MaxDate',0,'MaxDateQvd');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EMP_Data:&lt;/P&gt;&lt;P&gt;LOAD EMPId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Left(FileName(),10),'YYYYMMDD')&amp;nbsp;&amp;nbsp;&amp;nbsp; as Date_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vFilePath)&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;where &lt;STRONG&gt;Date(Left(FileName(),10),'YYYYMMDD')&amp;gt;$(vMaxDate);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bold part are changes in code.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-Ravi Balar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339405#M615207</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-07-07T06:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339406#M615208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks once will try now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 07:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339406#M615208</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-07T07:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339407#M615209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry you're having trouble.&amp;nbsp; My code would never just delete a QVD.&amp;nbsp; There is no script in there that would delete a file.&amp;nbsp; Worse thing any store command should do is create a QVD with no records in it.&lt;/P&gt;&lt;P&gt;Is that what is happening?&lt;/P&gt;&lt;P&gt;If so, the IF statement I had must not be 'catching'.&amp;nbsp; I would check the file paths and no a debug to see what is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Ravi's code is working for you then go with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 14:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339407#M615209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T14:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339408#M615210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Date &amp;gt; condition unique records are not getting recognized&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2017 10:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339408#M615210</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-07-09T10:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load with multiple CSV files and single sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339409#M615211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain on Unique record? It is based on what? &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EMPId or EMPId&amp;amp;Date ?&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;&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;Regards,&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;Ravi Balar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 04:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-with-multiple-CSV-files-and-single-sheet/m-p/1339409#M615211</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-07-10T04:32:05Z</dc:date>
    </item>
  </channel>
</rss>

