<?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 Daily in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133764#M893003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the mention Kuba.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2016 19:08:40 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2016-08-04T19:08:40Z</dc:date>
    <item>
      <title>Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133762#M893001</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;I am creating QVD for every individual table involved in report based on incremental load on daily basis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help suggest on sample script which I can implement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133762#M893001</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133763#M893002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start with this awesome post from &lt;A href="https://community.qlik.com/qlik-users/4484"&gt;stevedark&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-incremental-load/" style="font-size: 10pt; line-height: 1.5em;" title="http://www.quickintelligence.co.uk/qlikview-incremental-load/"&gt;http://www.quickintelligence.co.uk/qlikview-incremental-load/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133763#M893002</guid>
      <dc:creator />
      <dc:date>2016-08-04T18:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133764#M893003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the mention Kuba.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133764#M893003</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2016-08-04T19:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133765#M893004</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;I am implementing incremental load for a particular table, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have created qvw file which consist of load script for this table and I placed it in workbook folder, I am using Oracle database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What will be the next step to implement incremental load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 21:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133765#M893004</guid>
      <dc:creator />
      <dc:date>2016-08-04T21:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133766#M893005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow the link given by Kuba and you will find full instructions for a number of different incremental scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't get these working, then please post back here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 06:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133766#M893005</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2016-08-05T06:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133767#M893006</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;I have created below script for incremental load (insert and update) for single table based on link provided in above post, please suggest on below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;a) My "Workbook" folder consist of QVDs and QVWs for each individual table , this is full load ,&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;QVD/Source"&amp;nbsp; folder consist of QVDs and QVWs with Incremental load for each individual table and &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; "QVD/Transformed" folder consist of resulting QVDs and QVWs after applying transformations, please suggest whether this folder structure approach is correct or not &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: We need QVD copy intially from Workbook Folder into Source Folder&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;2) I have implemented Incremental load but I am not sure how do I test it , all tables belongs to oracle database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;3) I did not get Delete procedure of incremental load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Incremental Load Script&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Table1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Field1, &lt;/P&gt;&lt;P&gt;Field2, &lt;/P&gt;&lt;P&gt;Field3&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\..\Workbooks\Table1.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;//Latest Date:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Last_Updated_Date:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load max(Field3) as MaxDate&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;resident Table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;// Store into variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LET Last_Updated_Date=Peek('MaxDate',0,'Last_Updated_Date');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Drop table Table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vLoadTime=Num(Now());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incremental:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD Field1, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Field2, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Field3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;Field3&lt;/P&gt;&lt;P&gt;FROM owner.Table1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Where Field3 &amp;gt; $(Last_Updated_Date) AND Field3&amp;lt; $(vLoadTime);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD Field1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field3&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Table1.qvd&lt;/P&gt;&lt;P&gt;(qvd) Where not exists(Field1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ScriptErrorCount=0 then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Store Incremental into Table1.qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let &lt;SPAN style="font-size: 13.3333px;"&gt;Last_Updated_Date&lt;/SPAN&gt;=vLoadTime;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Incremental;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2016 08:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133767#M893006</guid>
      <dc:creator />
      <dc:date>2016-08-06T08:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133768#M893007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vibu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That looks great, assuming field 1 is a unique ID and field 3 is a last&lt;/P&gt;&lt;P&gt;updated date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could simplify if the date is a sequential insertion date, as you can&lt;/P&gt;&lt;P&gt;remove the drop and where exists (as you can be confident of no dupes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the date is an update date (and old records can be updated) then the&lt;/P&gt;&lt;P&gt;steps you have are fine. You can speed up a little by only loading field 3&lt;/P&gt;&lt;P&gt;first time around. The other fields are not needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test by checking the variable values, number of rows of each part of the&lt;/P&gt;&lt;P&gt;load, and the number of rows of the resultant table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any test does not give the expected result post back here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2016 08:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133768#M893007</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2016-08-07T08:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133769#M893008</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;I am getting 11628 value for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Last_Updated_Date which is not correct , after debugging script I found that value of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;max(Field3)&amp;nbsp; returning null inside below statement&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Last_Updated_Date:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load max(Field3) as MaxDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;resident Table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2016 20:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133769#M893008</guid>
      <dc:creator />
      <dc:date>2016-08-07T20:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133770#M893009</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;I am getting correct max date now, issue was due to preceding load while creating qvd generator in workbook folder , due to presence of preceding load it was reducing some rows , after mentioning no concatenate between LOAD and SQL&amp;nbsp; , it is working now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2016 22:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133770#M893009</guid>
      <dc:creator />
      <dc:date>2016-08-07T22:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Daily</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133771#M893010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it is now working. Thank you for the update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2016 22:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Daily/m-p/1133771#M893010</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2016-08-07T22:30:21Z</dc:date>
    </item>
  </channel>
</rss>

