<?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 Partial reload for QVW like incremental for QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367355#M136595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but what's the problem with the code? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2012 13:04:59 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2012-05-24T13:04:59Z</dc:date>
    <item>
      <title>Partial reload for QVW like incremental for QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367352#M136592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created incremental load for QVD and worked... but how I do "incremental" - partial reload for QVW &lt;/P&gt;&lt;P&gt;How can do something like below example for a partial reload for QVW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;This is incremental load for QVD (with insert and update)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TAB:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; MaxString(VALID_BEGIN) AS MAXDATE&lt;/P&gt;&lt;P&gt;FROM C:\Users\Adi\Desktop\CLAIM.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET currentmaxdate= DATE#(PEEK('MAXDATE',0,'TAB'),'DD/MM/YYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PrimaryKey = CLAIM_ID&amp;amp; ' ' &amp;amp;ID&amp;amp; ' ' &amp;amp;VALID_BEGIN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIM:&lt;/P&gt;&lt;P&gt;LOAD $(PrimaryKey) AS PK , *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;'C:\Users\Adi\Desktop\CLAIM.xlsx' &lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where VALID_BEGIN &amp;gt;= '$(currentmaxdate)' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate LOAD * FROM 'C:\Users\Adi\Desktop\CLAIM.QVD'(QVD)&lt;/P&gt;&lt;P&gt;WHERE NOT Exists(PK, $(PrimaryKey)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP FIELD PK;&lt;/P&gt;&lt;P&gt;STORE CLAIM INTO 'C:\Users\Adi\Desktop\CLAIM.QVD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 09:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367352#M136592</guid>
      <dc:creator />
      <dc:date>2012-05-24T09:25:22Z</dc:date>
    </item>
    <item>
      <title>Partial reload for QVW like incremental for QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367353#M136593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Exist functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a tableA with a key KeyA then do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM yourQVD.qvd (qvd)&lt;/P&gt;&lt;P&gt;where not exists(KeyA);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 10:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367353#M136593</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-05-24T10:07:55Z</dc:date>
    </item>
    <item>
      <title>Partial reload for QVW like incremental for QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367354#M136594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And how can I use for UPDATE and INSERT into QVW?&lt;/P&gt;&lt;P&gt;Partial reload support only ADD or REPLACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested but don't work or I missed something... here it's the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IsPartialReload() then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PrimaryKey = CLAIM_ID&amp;amp; ' ' &amp;amp;VALID_BEGIN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIM:&lt;/P&gt;&lt;P&gt; LOAD $(PrimaryKey) AS PK , *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\Administrator\Desktop\CLAIM2.qvd&amp;nbsp;&amp;nbsp; //have 120 rows (update and insert - no delete)&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE NOT Exists(PK, $(PrimaryKey)) ;&lt;/P&gt;&lt;P&gt;DROP Field PK ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIM:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\Administrator\Desktop\CLAIM.qvd&amp;nbsp;&amp;nbsp; //have 100 rows&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end if;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 12:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367354#M136594</guid>
      <dc:creator />
      <dc:date>2012-05-24T12:09:43Z</dc:date>
    </item>
    <item>
      <title>Partial reload for QVW like incremental for QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367355#M136595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but what's the problem with the code? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367355#M136595</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-05-24T13:04:59Z</dc:date>
    </item>
    <item>
      <title>Partial reload for QVW like incremental for QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367356#M136596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; font-family: Arial;"&gt;I think I solved...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I see is running much harder with partial reload than full reload.... Is normal? because for me is much important the speed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 14:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367356#M136596</guid>
      <dc:creator />
      <dc:date>2012-05-24T14:58:55Z</dc:date>
    </item>
    <item>
      <title>Partial reload for QVW like incremental for QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367357#M136597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after I struggled for hours with it.... I don't used because running more than an full reload &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/qlikuser14" id="jive-6562326324120188458415" style="background-color: #f9f9f9; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;qlikuser14&lt;/A&gt; for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the&lt;STRONG&gt; right code&lt;/STRONG&gt; for me for partial reload(update+insert):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PrimaryKey = CLAIM_ID&amp;amp; ' ' &amp;amp;VALID_BEGIN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IsPartialReload() then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIM:&lt;/P&gt;&lt;P&gt;REPLACE ONLY LOAD $(PrimaryKey) AS PK , *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\Administrator\Desktop\CLAIM2.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE Exists(PK,$(PrimaryKey)) and VALID_UNTIL &amp;lt;&amp;gt; '31/12/9999 00:00:00';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIM:&lt;/P&gt;&lt;P&gt;ADD ONLY LOAD $(PrimaryKey) AS PK , *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\Administrator\Desktop\CLAIM2.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE NOT Exists(PK,$(PrimaryKey)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIM:&lt;/P&gt;&lt;P&gt;LOAD $(PrimaryKey) AS PK, *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\Administrator\Desktop\CLAIM.qvd&lt;/P&gt;&lt;P&gt;(qvd) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end if;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 20:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-for-QVW-like-incremental-for-QVD/m-p/367357#M136597</guid>
      <dc:creator />
      <dc:date>2012-05-24T20:43:45Z</dc:date>
    </item>
  </channel>
</rss>

