<?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: Can not Get Incremental Load to work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789268#M279093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i thing except date everything should be same , as i saw data above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i dont thing its possible without any unique key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Dec 2014 15:21:54 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2014-12-26T15:21:54Z</dc:date>
    <item>
      <title>Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789265#M279090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I need some help understanding Incremental Load. I had posted this issue in another thread and had found the solution ( i thought so) This same script was working but it is not anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;What I am trying to do:&amp;nbsp; &lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;Add only new rows from the data source, which is sales after 4/10/2013. I have transactions until 4/10/2013 in the table "Old Data" (which is the 1st tab in excel file). I have new transactions after 4/10/2013 in the table "New Data" (the 2nd tab....) this you will find in the excel file attached. To achieve the addition of new rows, this is my approach to the issue: I first stored "Old Data" in a qvd file named &lt;SPAN style="color: #000000; font-size: 13.63636302948px;"&gt;"[1st.QVD]" and saved it in the same folder where the qvws and excel files needed for this task reside. After that, I have the script below that explains my approach and hence understanding of incremental load to solving this problem by adding only new rows. However, my straight table that has an expn showing the total qty sold, is showing way more amount of cars sold than actual. I should be able to total the actual numbers with incremental load, should not I...? This same script was working before but its not anymore!! May be you will able to see my mistake.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.63636302948px;"&gt;Script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Item#, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Item name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Qty Sold], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[1st.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;NoConcatenate&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Incre Example.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [New Data]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[1st.QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;store Table2 into [1st.QVD];&lt;/P&gt;&lt;P&gt;Drop Table Table1;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excel file.PNG" class="image-1 jive-image" src="/legacyfs/online/74238_excel file.PNG" style="height: 362px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I just want to add the 2 new rows to the old table. but my straight table shows the&amp;nbsp; total qty sold increasing exponentially as below w/each reload&lt;/P&gt;&lt;P&gt;&lt;IMG alt="compounding.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/74239_compounding.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 14:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789265#M279090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-26T14:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789266#M279091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in this case you need to capture date in&amp;nbsp; date and time format also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mean time stamp format&amp;nbsp; 4/11/2013 11:00:03&amp;nbsp; and 4/11/2013 11:00:10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or there should be unique id also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont thing without that its possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789266#M279091</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-26T15:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789267#M279092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[1st.QVD]&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd) &lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where not exists (Date,Item#,[Item name] ...etc. for the rest of the fields that could be unique or primary key);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789267#M279092</guid>
      <dc:creator />
      <dc:date>2014-12-26T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789268#M279093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i thing except date everything should be same , as i saw data above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i dont thing its possible without any unique key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789268#M279093</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-26T15:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789269#M279094</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;It seems you are not using correct date format in the table load like 4/10/2013 this is string you have to capture correct date format also create a variable for dynamically fetch the maximum date from the table load for more please see the complete script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//First Qvd Creation and then comment this script&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Table1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Item#&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Item name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Qty Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;country&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Department&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; [Incre Example.xlsx]&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; [Old Data]);&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;store&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Table1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; [1st.QVD]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;DROP&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Table1;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;///////////////////////////&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt; //Incremental Load Start&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Table1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;[1st.QVD] (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;);&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;MaxDateTab:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) ) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MaxDate&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Table1;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;vMaxDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('MaxDate',0,'MaxDateTab'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Table1;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; Table2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; [Incre Example.xlsx]&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; [New Data])&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt; '$(vMaxDate)'; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//'4/10/2013';&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;[1st.QVD] (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;);&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;store&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Table2 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; [1st.QVD]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Anand&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789269#M279094</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-26T15:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789270#M279095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Table1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;Load *,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;Date&amp;amp;[Item#]&amp;amp;Country&amp;amp;department as key&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;FROM&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;[1st.QVD]&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;(qvd);&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;Concatenate(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Table1&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;Load * &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;from Incre example.xls&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;&lt;STRONG&gt;where not exists (key,Date&amp;amp;[Item#]&amp;amp;Country&amp;amp;department);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px;"&gt;&lt;STRONG&gt;but it should not work when entry for same date,department,country ,Item# . so this could be a solution in case entries are different&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message-abuse!input.jspa?objectID=686300&amp;amp;objectType=2" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789270#M279095</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-26T15:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789271#M279096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends, if John, place a summary of daily sales, per country, item then the following NOT EXISTS clause should work:&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[1st.QVD]&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd)&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where not exists (Date,Item#,country) &lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In his case, Qlikview is not being told to restrict the values loaded and concatenated, so every time he loads the document, more records duplicated for our eyes but not for Qlikview are being loaded and saved to the main QVD.&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So , in summary the NOT EXISTS clause in the Concatenate should do the Job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789271#M279096</guid>
      <dc:creator />
      <dc:date>2014-12-26T15:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789272#M279097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what if next time same date,same item# and for same country. then it will not include&amp;nbsp; if quantity is different and depart&amp;nbsp; is different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i wotld suggets to include all field in where exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Table1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;Date&amp;amp;[Item#]&amp;amp;[Item Name]&amp;amp;Country&amp;amp;department&amp;amp;Quantitysold&lt;/STRONG&gt; as key&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[1st.QVD]&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd);&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Table1&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from Incre example.xls&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;where not exists (key,Date&amp;amp;[Item#]&amp;amp;[Item Name]&amp;amp;Country&amp;amp;department&amp;amp;Quantitysold);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8000001907349px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789272#M279097</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-26T15:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789273#M279098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, Thank you for your responses. I will try the suggested and update right back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 15:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789273#M279098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-26T15:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789274#M279099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found some other solutions as well:- Mario's suggestion worked. Distinct also worked. Plus of course, Anands's worked perfectly. I have summarized the 3 solutions below in screen shot. I wanted to know if the other 2 solutions are in fact correct and can be used. My understanding is that different functions (syntax) have to be used depending on nature of fields, transaction table, business model of the company...etc..) to accurately use the Increm load functionality. This one is very basic. I just want to add new sales data regardless of whether it was sold before or not. For example, Porsche was already sold b4 4/11/2013, but Audi was not. I want to fetch both of them because it is a new sale and has to be added to reflect the Revenue. well here is the snap shot of what scripts worked: Please comment. Thank you again. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="summary incre_1.PNG" class="image-1 jive-image" src="/legacyfs/online/74252_summary incre_1.PNG" style="height: 365px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="summary incre_2.PNG" class="jive-image image-2" src="/legacyfs/online/74253_summary incre_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 17:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789274#M279099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-26T17:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789275#M279100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand,&lt;/P&gt;&lt;P&gt;I am trying to understand the logic behind using variables and&amp;nbsp; Peek function. What I understood from your script is,&lt;/P&gt;&lt;P&gt;1st create a table to identify/store max date from Table 1(which is our old data) and then create a variable using peek function to fetch max date, which instead will be used to compare with date pertaining to new data. so if the data is new, it will be concatenated with QVD data(which has the old data) and finally this updated data will overwrite the QVD data, that was in there. So creating new table 'maxdatetab', creating variable using Peek function is to make qlikview understand how to recognize new data based on date?, because where Date &amp;gt; 4/10/2013 was not a proper/legit syntax to do the job?&lt;/P&gt;&lt;P&gt;I am failrly new to QV so was trying to understand the scripting language. Thank you again. Any comments will be wonderful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 17:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789275#M279100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-26T17:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789276#M279101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a good tutorial on that, and not using peek function by Shilpan Patel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="https://www.youtube.com/watch?v=UkKTmnKSNQo" title="https://www.youtube.com/watch?v=UkKTmnKSNQo"&gt;https://www.youtube.com/watch?v=UkKTmnKSNQo&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 18:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789276#M279101</guid>
      <dc:creator />
      <dc:date>2014-12-26T18:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789277#M279102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that's right,maxdate variable is used to compare with date in excel sheet and if date is greater then maxdate.&lt;/P&gt;&lt;P&gt;records are extracted into qlikview inmemory table and concatenated to QVD data.&lt;/P&gt;&lt;P&gt;All new records and old data is stored in QVD again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 21:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789277#M279102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-26T21:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Get Incremental Load to work</title>
      <link>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789278#M279103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are on right way and other way also for this i explain all the Incremental load script for Insert new records to the old data and it has parts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. At least you have to create the QVD first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Store the Max date into the variable by finding max date in the table load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMaxDate = Peek('MaxDate',0,'MaxDateTab');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. And then load latest date by the help of the Max Date variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Incre Example.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [New Data])&lt;/P&gt;&lt;P&gt;Where Date &amp;gt; '$(vMaxDate)'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Concatenate one day back Max - 1 rows to the loaded table rows and store the qvd also for later use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD * FROM [1st.QVD] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 22:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-not-Get-Incremental-Load-to-work/m-p/789278#M279103</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-26T22:24:50Z</dc:date>
    </item>
  </channel>
</rss>

