<?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: struck with this code regarding incremental update in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389734#M805453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi here is the snapshot of what is coming .I want to eliminate duplicate record in incremental load. Here &lt;IMG alt="updateincre.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181732_updateincre.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prod:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Product.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;// A table with a new field MaxDate;&lt;/P&gt;&lt;P&gt;[Last updated date]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;max(Modified_Date) as MaxDate&lt;/P&gt;&lt;P&gt;Resident Prod;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Pull the MaxDate field from first row into a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let Last_Updated_Date = peek(MaxDate,0,[Last updated date]); //this is a string type&lt;/P&gt;&lt;P&gt;drop Table Prod;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Prodincre:&lt;/P&gt;&lt;P&gt; LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;incremental_load.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE(Modified_Date &amp;gt; '$(Last_Updated_Date)'&amp;nbsp;&amp;nbsp; ); //this is a string var&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate &lt;/P&gt;&lt;P&gt; LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Product.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt; Where Not Exists(ID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//for deleteting qvd record whre the record is not there in xlsx&lt;/P&gt;&lt;P&gt;inner Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;incremental_load.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Prodincre into Product.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Prodincre;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; modified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Product.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 12:13:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-01T12:13:30Z</dc:date>
    <item>
      <title>struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389732#M805451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am struck with this code regarding incremental update.Can anyone please help me.WHERE NOT EXISTS not working.Thank you.&lt;/P&gt;&lt;P&gt;Prodincre:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;incremental_load.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE(Modified_Date &amp;gt; '$(Last_Updated_Date)'&amp;nbsp;&amp;nbsp; ); //this is a string var&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Product.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;Where Not Exists(ID);&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/struck-with-this-code-regarding-incremental-update/m-p/1389732#M805451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389733#M805452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code looks fine. What indicates that it isn't working? &lt;/P&gt;&lt;P&gt;Can you post an example qvw and source files that demonstrate the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 10:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389733#M805452</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-11-01T10:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389734#M805453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi here is the snapshot of what is coming .I want to eliminate duplicate record in incremental load. Here &lt;IMG alt="updateincre.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181732_updateincre.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prod:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Product.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;// A table with a new field MaxDate;&lt;/P&gt;&lt;P&gt;[Last updated date]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;max(Modified_Date) as MaxDate&lt;/P&gt;&lt;P&gt;Resident Prod;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Pull the MaxDate field from first row into a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let Last_Updated_Date = peek(MaxDate,0,[Last updated date]); //this is a string type&lt;/P&gt;&lt;P&gt;drop Table Prod;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Prodincre:&lt;/P&gt;&lt;P&gt; LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;incremental_load.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE(Modified_Date &amp;gt; '$(Last_Updated_Date)'&amp;nbsp;&amp;nbsp; ); //this is a string var&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate &lt;/P&gt;&lt;P&gt; LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Product.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt; Where Not Exists(ID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//for deleteting qvd record whre the record is not there in xlsx&lt;/P&gt;&lt;P&gt;inner Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;incremental_load.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Prodincre into Product.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Prodincre;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; modified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Product.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 12:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389734#M805453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T12:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389735#M805454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;normally there should be a check for the QVD exists or not prior concatenating the data from QVD. For first time load of this script (when QVD does not exist or not yet created) will give load error. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 12:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389735#M805454</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2017-11-01T12:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389736#M805455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudeep,&lt;/P&gt;&lt;P&gt;QVD is there thing is duplicate record is not eliminated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 12:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389736#M805455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T12:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389737#M805456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; value of Last_Updated_Date (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MaxDate&lt;/SPAN&gt;) from qvd ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 13:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389737#M805456</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2017-11-01T13:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389738#M805457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudeep,&lt;/P&gt;&lt;P&gt;The maxdate is max(Modified_Date) as MaxDate from qvd;&lt;/P&gt;&lt;P&gt;for the above code&amp;nbsp; insert and delete are working only duplicate record is not removed with NOT EXsits.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 14:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389738#M805457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T14:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389739#M805458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for testing purposes, see if this works.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Prodincre:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;ID as ID_EXCL,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;incremental_load.xlsx&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE(Modified_Date &amp;gt; '$(Last_Updated_Date)'&amp;nbsp;&amp;nbsp; ); //this is a string var&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified_Date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Product.qvd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Not Exists(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ID_EXCL ,I&lt;/STRONG&gt;D);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop field ID_EXCL;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 14:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389739#M805458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T14:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389740#M805459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wallo,&lt;/P&gt;&lt;P&gt;Thank you for your response. I tested the you have given . It is still showing the duplicate record.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 15:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389740#M805459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389741#M805460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure both duplicate records aren't just coming from the Excel sheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 15:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389741#M805460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389742#M805461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like you to test the below script in a new qvw. Rename your existing qvd to somethingelse.&lt;/P&gt;&lt;P&gt;Also did you have duplicate records in your source xls file when first time you ran the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vLast_Updated_Date = '12/31/1900';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if QvdCreateTime('Product.qvd')&amp;gt;0 then&lt;/P&gt;&lt;P&gt;TMP:&lt;/P&gt;&lt;P&gt;LOAD max(Modified_Date) as mxdt FROM Product.qvd(qvd); &lt;/P&gt;&lt;P&gt;let vLast_Updated_Date = peek('mxdt',0,'TMP');&lt;/P&gt;&lt;P&gt;DROP Table TMP;&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product:&lt;/P&gt;&lt;P&gt;LOAD ID,&amp;nbsp; Product, Sales, Modified_Date&lt;/P&gt;&lt;P&gt;FROM incremental_load.xlsx (ooxml, embedded labels, table is Sheet1) Where Modified_Date &amp;gt; '$(vLast_Updated_Date)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if QvdCreateTime('Product.qvd')&amp;gt;0 then&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD ID,&amp;nbsp; Product, Sales, Modified_Date &lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="font-size: 13.3333px;"&gt;Product.&lt;/SPAN&gt;qvd(qvd) Where not Exists (ID);&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner Join&lt;/P&gt;&lt;P&gt;LOAD ID,&amp;nbsp; Product, Sales, Modified_Date&lt;/P&gt;&lt;P&gt;FROM incremental_load.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Product into Product.qvd(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 15:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389742#M805461</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2017-11-01T15:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389743#M805462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Lavanya,&lt;/P&gt;&lt;P&gt;I am not very sure, but I think NOT EXIST condition works on Resident tables alone.&lt;/P&gt;&lt;P&gt;Can you try taking a resident load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 15:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389743#M805462</guid>
      <dc:creator>madhumitha</dc:creator>
      <dc:date>2017-11-01T15:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389744#M805463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudeep,&lt;/P&gt;&lt;P&gt;Your code also gave the same result. Not Exists is not&amp;nbsp; worked here.&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 22:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389744#M805463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T22:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389745#M805464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Are you sure both duplicate records aren't just coming from the Excel sheet?&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;Can you share your excel file and qvw?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 23:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389745#M805464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T23:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389746#M805465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="incremental.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182087_incremental.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Willow,&lt;/P&gt;&lt;P&gt;This&amp;nbsp; is the result of the above code.'Not Exists' not working here.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 23:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389746#M805465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T23:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: struck with this code regarding incremental update</title>
      <link>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389747#M805466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want the result of the script, I want to see what is in your incremental_load.xlsx spreadsheet on Sheet1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 23:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/struck-with-this-code-regarding-incremental-update/m-p/1389747#M805466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T23:45:57Z</dc:date>
    </item>
  </channel>
</rss>

