<?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 Concatenate reload with replace in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141980#M21554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you are doing an incremental load like.&lt;/P&gt;&lt;P&gt;1. Load rows from DB&lt;BR /&gt;2. Concatenate with QVD&lt;/P&gt;&lt;P&gt;Can you get the maxdate from the DB rows, and then use that in a where clause in step 2 to load QVD rows that are &amp;lt;= maxdate?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2009 01:36:31 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2009-04-22T01:36:31Z</dc:date>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141978#M21552</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;I am having trouble trying to load data into a .qvd file and then concatenate additional data month to month. My problem is that occassionally the database will be restored back to a prior month and I need to ensure that the data that is newer than the restored database is purged and/or replaces on the reload.&lt;/P&gt;&lt;P&gt;Please let me know any thoughts.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 22:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141978#M21552</guid>
      <dc:creator />
      <dc:date>2009-04-21T22:00:08Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141979#M21553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;Before fetching data from Databse, Execute a Select statment using which you can fetch the information which tells you when your data was lastly updated. Based on this factor you can decide whether you can Load/Refresh you QVD or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 00:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141979#M21553</guid>
      <dc:creator />
      <dc:date>2009-04-22T00:11:34Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141980#M21554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you are doing an incremental load like.&lt;/P&gt;&lt;P&gt;1. Load rows from DB&lt;BR /&gt;2. Concatenate with QVD&lt;/P&gt;&lt;P&gt;Can you get the maxdate from the DB rows, and then use that in a where clause in step 2 to load QVD rows that are &amp;lt;= maxdate?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 01:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141980#M21554</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-22T01:36:31Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141981#M21555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amit,&lt;/P&gt;&lt;P&gt;I guess I am wondering if it is possible to just reload or replace part of the data inside the .qvd file or do I need to reload the entire file if and when a database restore occurs.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 01:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141981#M21555</guid>
      <dc:creator />
      <dc:date>2009-04-22T01:41:45Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141982#M21556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;That is exactly what I am trying to do only I want to be able to replace or purge some of the data out of the .qvd file when the database is restored.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 01:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141982#M21556</guid>
      <dc:creator />
      <dc:date>2009-04-22T01:43:42Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141983#M21557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;Do you have what you need now? Or do you need a specific example.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 01:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141983#M21557</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-22T01:50:09Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141984#M21558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;Sorry to be a pain but it would be very helpful if you could show me a specific example.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 02:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141984#M21558</guid>
      <dc:creator />
      <dc:date>2009-04-22T02:49:57Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141985#M21559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries. Here's a rough sketch and not syntax checked. For anything more complete, please post your existing script.&lt;/P&gt;&lt;P&gt;mydata:&lt;BR /&gt;LOAD Key, Date, xxx;&lt;BR /&gt;SQL SELECT * FROM mytable;&lt;/P&gt;&lt;P&gt;maxdate:&lt;BR /&gt;LOAD max(Date) as maxdate RESIDENT mydata;&lt;BR /&gt;LET vMaxdate = peek('maxdate');&lt;BR /&gt;DROP TABLE maxdate;&lt;/P&gt;&lt;P&gt;// Concatenate with existing QVD&lt;BR /&gt;LOAD * FROM myqvd.qvd (qvd)&lt;BR /&gt;WHERE NOT exists(Key)&lt;BR /&gt;AND Date &amp;lt;= $(vMaxdate);&lt;/P&gt;&lt;P&gt;If it's not working as expected, be sure to take a look at the logfile to see what is getting generated for vMaxdate.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 05:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141985#M21559</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-22T05:58:51Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141986#M21560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this comes through. Here is a PDF that explains how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0842.Simple-Incremental-Load.pdf:550:0]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 06:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141986#M21560</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2009-04-22T06:43:05Z</dc:date>
    </item>
    <item>
      <title>QVD Concatenate reload with replace</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141987#M21561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 20:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Concatenate-reload-with-replace/m-p/141987#M21561</guid>
      <dc:creator />
      <dc:date>2009-04-22T20:47:32Z</dc:date>
    </item>
  </channel>
</rss>

