<?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 for Multiple Excels using filename as PK in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077770#M359449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;Thanks for reply&amp;nbsp; actually I want to store into QVD and every time wants to update qvd with modified file if user copy modified excels into folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 09:22:38 GMT</pubDate>
    <dc:creator>vikasmahajan</dc:creator>
    <dc:date>2016-02-09T09:22:38Z</dc:date>
    <item>
      <title>Incremental Load for Multiple Excels using filename as PK</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077767#M359446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have excel files like Jan,Feb,Mar ... etc Sample 2 file are attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement :&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Creation of qvd&amp;nbsp; store all data into Single QVD (ALLDATA.QVD)&lt;/P&gt;&lt;P&gt;2. if user changed data into excel files again same name file will be uploaded into directory , And modified excel file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; should get updated into ALLDATA.QVD and old records should get deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note : - I require script&amp;nbsp; using my excels files only , so can any one help me to achieve the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 08:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077767#M359446</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-02-09T08:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load for Multiple Excels using filename as PK</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077768#M359447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the first requirement:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14550064744804377 jive_text_macro" jivemacro_uid="_14550064744804377" modifiedtitle="true"&gt;
&lt;P&gt;LET path = '\\your path';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SUB DoDir(Root)&lt;/P&gt;
&lt;P&gt;FOR each File in filelist( Root &amp;amp; '\*.xlsx') &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Order:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD *&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [$(File)]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (biff, no labels, table is [Sheet1$]);&lt;/P&gt;
&lt;P&gt;NEXT File&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;FOR each Dir in Dirlist (Root&amp;amp;'\*')&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL DoDir(Dir)&amp;nbsp; &lt;/P&gt;
&lt;P&gt;NEXT Dir&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;END SUB&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;CALL DoDir('$(path)\Folder') &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;STORE Order into order.qvd (qvd);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;This script allows to load all xlsx files from one folder into single table. At the end it stores the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 08:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077768#M359447</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-02-09T08:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load for Multiple Excels using filename as PK</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077769#M359448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the link below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/61585" title="https://community.qlik.com/thread/61585"&gt;https://community.qlik.com/thread/61585&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 09:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077769#M359448</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-02-09T09:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load for Multiple Excels using filename as PK</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077770#M359449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;Thanks for reply&amp;nbsp; actually I want to store into QVD and every time wants to update qvd with modified file if user copy modified excels into folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 09:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077770#M359449</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-02-09T09:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load for Multiple Excels using filename as PK</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077771#M359450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step-by-step approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Figure out the creation date of ALLDATA.QVD or (on very first load when ALLDATA.QVD doesn't exist yet) set date to something early (like Jan 1st, 1980)&lt;/LI&gt;&lt;LI&gt;Create new table NewAllData and load it with all Excels whose file modification date is more recent than date from step 1&lt;/LI&gt;&lt;LI&gt;From ALLDATA.QVD, load all months that do not exist yet in NewAllData.&lt;/LI&gt;&lt;LI&gt;Store NewAllData into ALLDATA.QVD&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 09:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077771#M359450</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-09T09:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load for Multiple Excels using filename as PK</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077772#M359451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks peter &lt;/P&gt;&lt;P&gt;can you provide script for the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-for-Multiple-Excels-using-filename-as-PK/m-p/1077772#M359451</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-02-09T10:01:38Z</dc:date>
    </item>
  </channel>
</rss>

