<?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: How to create a updated qvd in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994522#M974701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Malini Chandrasekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2015 09:56:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-08T09:56:01Z</dc:date>
    <item>
      <title>How to create a updated qvd</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994518#M974697</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;&lt;/P&gt;&lt;P&gt;I have created I qvw app to generate period wise qvds, it is generating as I want, however now I want to perform&amp;nbsp; an incremental load to this means&lt;/P&gt;&lt;P&gt; today I have generated qvd for the period 8 , when I will run this application tomorrow the application should generate only last period with updated data [only 8 period ]. it should not generate previous period qvds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA. for sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994518#M974697</guid>
      <dc:creator />
      <dc:date>2015-09-08T09:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a updated qvd</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994519#M974698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you perform the full load make sure to write a "increment.qvd" which will store the last refresh time.&lt;/P&gt;&lt;P&gt;Use the last refresh time in the increment load i.e. &lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;from table where date_field_in_the_table &amp;gt;=last refresh time and &lt;SPAN style="font-size: 13.3333px;"&gt;date_field_in_the_table &amp;lt; current_execution_time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmanabhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994519#M974698</guid>
      <dc:creator>padmanabhan_ram</dc:creator>
      <dc:date>2015-09-08T09:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a updated qvd</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994520#M974699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;When you perform the initial load store the max updated date (the Max date from period &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; in a variable and perform an incremental load from the next reload for the latest period.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994520#M974699</guid>
      <dc:creator>malini_qlikview</dc:creator>
      <dc:date>2015-09-08T09:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a updated qvd</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994521#M974700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Padmanabhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes your correct, however what I want I am generating the periods at first step for whole amount of data, for the next reload I want to update the latest period qvd only I don't want to run hole loop. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994521#M974700</guid>
      <dc:creator />
      <dc:date>2015-09-08T09:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a updated qvd</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994522#M974701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Malini Chandrasekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994522#M974701</guid>
      <dc:creator />
      <dc:date>2015-09-08T09:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a updated qvd</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994523#M974702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can make use of this script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;LET&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;vScriptStart&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;now&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;() - (&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Now&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;()-&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;GMT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;()), 'YYYY-MM-DD hh:mm:ss');&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;[Increment]:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INLINE&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; ReloadTimeStamp&lt;BR /&gt; '$(vScriptStart)'&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;whenever you perform the incremental load use the time stamp that is stored in the reload time stamp.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Padmanabhan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 10:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994523#M974702</guid>
      <dc:creator>padmanabhan_ram</dc:creator>
      <dc:date>2015-09-08T10:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a updated qvd</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994524#M974703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have several options to add new data to your qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create in LastModifiedDate variable , ask database guys to give you a field which you can use to determine new , deleted or modified data, then you can use this field in your WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your attached qvw file tab Main 2 from line 121 replace with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Line 121&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;Here you have to check if the same qvs file for the same period exists and &lt;/P&gt;&lt;P&gt;if yes concatenate the new table to the existing qvd file. But only concatenate &lt;/P&gt;&lt;P&gt;new data&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;*/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF&amp;nbsp; NOT IsNull([ ..\table_$(y)_$(p).qvd]) THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate(table_$(y)_$(p))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM ..\table_$(y)_$(p).qvd (qvd)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE NOT Exists (DataID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;STORE table_$(y)_$(p) into ..\table_$(y)_$(p).qvd (qvd);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 10:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-updated-qvd/m-p/994524#M974703</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-09-08T10:51:52Z</dc:date>
    </item>
  </channel>
</rss>

