<?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 Incremental load mechanisum ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980483#M953129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;I have the following Scenario,&lt;/P&gt;&lt;P&gt;I am created variable&lt;/P&gt;&lt;P&gt;let Last_Modified_Date=Peek('MaxDate',0,'Last_Modified_Date');&lt;/P&gt;&lt;P&gt;Incremental:&lt;/P&gt;&lt;P&gt; LOAD ProductID, ProductName, Sales,&amp;nbsp; ModifiedDate&lt;/P&gt;&lt;P&gt;FROM IncrementSales.xlsx (ooxml, embedded labels, table is Sheet1) Where ModifiedDate&amp;gt;'$(Last_Modified_Date)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;concatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; LOAD ProductID, ProductName,&amp;nbsp; Sales,&amp;nbsp; ModifiedDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;FROM [QVD\SalesMain.qvd(qvd)] (qvd) &lt;STRONG&gt;where not Exists&lt;/STRONG&gt;(ProductID);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;store Incremental into 'F:SalesMain.qvd(qvd)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;DROP Table Incremental;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note : My incremental load is Working Fine ..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But How Concatenate &amp;amp; Where not Exists working for my script, with my under standing highlighted part only inserts new records, but it is updating the records as well . can anyone explain how modification is happening on records. &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2015 10:04:09 GMT</pubDate>
    <dc:creator>madhubabum</dc:creator>
    <dc:date>2015-11-25T10:04:09Z</dc:date>
    <item>
      <title>Incremental load mechanisum ?</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980483#M953129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;I have the following Scenario,&lt;/P&gt;&lt;P&gt;I am created variable&lt;/P&gt;&lt;P&gt;let Last_Modified_Date=Peek('MaxDate',0,'Last_Modified_Date');&lt;/P&gt;&lt;P&gt;Incremental:&lt;/P&gt;&lt;P&gt; LOAD ProductID, ProductName, Sales,&amp;nbsp; ModifiedDate&lt;/P&gt;&lt;P&gt;FROM IncrementSales.xlsx (ooxml, embedded labels, table is Sheet1) Where ModifiedDate&amp;gt;'$(Last_Modified_Date)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;concatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; LOAD ProductID, ProductName,&amp;nbsp; Sales,&amp;nbsp; ModifiedDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;FROM [QVD\SalesMain.qvd(qvd)] (qvd) &lt;STRONG&gt;where not Exists&lt;/STRONG&gt;(ProductID);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;store Incremental into 'F:SalesMain.qvd(qvd)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;DROP Table Incremental;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note : My incremental load is Working Fine ..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But How Concatenate &amp;amp; Where not Exists working for my script, with my under standing highlighted part only inserts new records, but it is updating the records as well . can anyone explain how modification is happening on records. &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 10:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980483#M953129</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-11-25T10:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load mechanisum ?</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980484#M953130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are first loading records with modification date higher than the previously loaded modification date. In this LOAD, it will already load new or updated product records, it just looks at modification date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, your highlighted part loads in all product records with a ProductID not already loaded in the first load, i.e. unchanged / old data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 10:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980484#M953130</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-25T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load mechanisum ?</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980485#M953131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Swuehl, Actually in my case that IncrementalSales.xls consists last 48 hours data only so let us assume that we have ignored modified date concept for a while. Even if i removed the modified date where clause from the script, modification and insertion of records happening . i am unable to find the mechanism in highlighted part. Can you explain me this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 11:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980485#M953131</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-11-25T11:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load mechanisum ?</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980486#M953132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I can explain it much better than in my previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your current script will not check if IncrementalSales.xls shows updated or new records, it just checks for Mod date (or, if you ignore Mod date, just brings in all records). But it will not check if the Product ID already exists in your historic QVD&amp;nbsp; at this time, hence the records could bring in new Product ID&amp;nbsp; information, or updated (in a sense that the Product ID already exists in the QVD), that's just how we could describe the information when knowing both files, or we are just saying, the IncrementalSales.xls might bring in New OR Updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you then concatenate your historic data, you only do this for records with Product ID that are not New OR Updated (WHERE NOT EXISTS(ProductID) ), i.e. old AND unchanged data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 11:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-mechanisum/m-p/980486#M953132</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-25T11:15:57Z</dc:date>
    </item>
  </channel>
</rss>

