<?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 Update/ Overwrite Resident QVD load logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Update-Overwrite-Resident-QVD-load-logic/m-p/229977#M715755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have an issue where I need to update a table by evaluating the update date against the last updated date (SC_LastDate).&lt;/P&gt;&lt;P&gt;I will need to add a new record and remove the old record if the update has occured within the same month as the initial timestamp (SC_LastDate). If the update has occured in a different month, then append a new record to the table and maintain the old record.&lt;/P&gt;&lt;P&gt;The table in question is below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1545_sourceID:1545" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, SC_CompanyCode 151 may be updated on the 03/05/2010 and hence a new record requires to be appended to the table. If that record was then updated on the 05/05/2010, I would need to overwrite the existing record (03/05/2010) with the new record (05/05/2010).&lt;/P&gt;&lt;P&gt;i.e. IF monthname(updatedate) &amp;lt;&amp;gt; monthname(SC_LastDate) THEN append new record&lt;/P&gt;&lt;P&gt;ELSE IF monthname(updatedate) = monthname(SC_LastDate) THEN overwrite existing record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is an easy, simplified way to do this ?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 May 2010 10:09:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-03T10:09:36Z</dc:date>
    <item>
      <title>Update/ Overwrite Resident QVD load logic</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Overwrite-Resident-QVD-load-logic/m-p/229977#M715755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have an issue where I need to update a table by evaluating the update date against the last updated date (SC_LastDate).&lt;/P&gt;&lt;P&gt;I will need to add a new record and remove the old record if the update has occured within the same month as the initial timestamp (SC_LastDate). If the update has occured in a different month, then append a new record to the table and maintain the old record.&lt;/P&gt;&lt;P&gt;The table in question is below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1545_sourceID:1545" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, SC_CompanyCode 151 may be updated on the 03/05/2010 and hence a new record requires to be appended to the table. If that record was then updated on the 05/05/2010, I would need to overwrite the existing record (03/05/2010) with the new record (05/05/2010).&lt;/P&gt;&lt;P&gt;i.e. IF monthname(updatedate) &amp;lt;&amp;gt; monthname(SC_LastDate) THEN append new record&lt;/P&gt;&lt;P&gt;ELSE IF monthname(updatedate) = monthname(SC_LastDate) THEN overwrite existing record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is an easy, simplified way to do this ?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 10:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Overwrite-Resident-QVD-load-logic/m-p/229977#M715755</guid>
      <dc:creator />
      <dc:date>2010-05-03T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Update/ Overwrite Resident QVD load logic</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Overwrite-Resident-QVD-load-logic/m-p/229978#M715756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems you could utilize "Patial Load" functionality. Check help on ADD and REPLACE keywords, and use them with your LOAD statements. Or did I misunderstood your question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 16:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Overwrite-Resident-QVD-load-logic/m-p/229978#M715756</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-05-03T16:51:29Z</dc:date>
    </item>
  </channel>
</rss>

