<?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 QVD load with replace/overwrite in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-load-with-replace-overwrite/m-p/161485#M35349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have a look into the FirstSortedValue-functionality, easiest might be to determine latest change, add an indicator for the last one and to save only the last ones into qvd, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LEFT JOIN Customer, MAX(UpdateDate) AS UpdateDate, 'Last' AS indLast RESIDENT CustomerTable GROUP BY Customer;&lt;BR /&gt;Customers_LastUpdate: NOCONCATENATE LOAD * RESIDENT CustomerTable WHERE indLast = 'Last';&lt;BR /&gt;STORE Customers_LastUpdate AS Customer.qvd;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Nov 2009 23:41:53 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2009-11-22T23:41:53Z</dc:date>
    <item>
      <title>QVD load with replace/overwrite</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-with-replace-overwrite/m-p/161484#M35348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table where existing values are changed on a daily basis - name, address etc. I would like to make it a QVD file in order to maximise load time but in a normal QVD load with key it just adds newest update, so the same value exists several times. There is a "value has changed" timestamp in the table, but how do I get it to replace/overwrite existing value with the newest one, so the same person only exists one time ?&lt;/P&gt;&lt;P&gt;There is a unique value for each person and a timestamp when the person's data last has been amended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Nov 2009 18:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-with-replace-overwrite/m-p/161484#M35348</guid>
      <dc:creator />
      <dc:date>2009-11-22T18:44:37Z</dc:date>
    </item>
    <item>
      <title>QVD load with replace/overwrite</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-with-replace-overwrite/m-p/161485#M35349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have a look into the FirstSortedValue-functionality, easiest might be to determine latest change, add an indicator for the last one and to save only the last ones into qvd, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LEFT JOIN Customer, MAX(UpdateDate) AS UpdateDate, 'Last' AS indLast RESIDENT CustomerTable GROUP BY Customer;&lt;BR /&gt;Customers_LastUpdate: NOCONCATENATE LOAD * RESIDENT CustomerTable WHERE indLast = 'Last';&lt;BR /&gt;STORE Customers_LastUpdate AS Customer.qvd;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Nov 2009 23:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-with-replace-overwrite/m-p/161485#M35349</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-11-22T23:41:53Z</dc:date>
    </item>
  </channel>
</rss>

