<?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: Incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927155#M650050</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;It is primary key and having unique values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Sep 2015 17:56:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-28T17:56:33Z</dc:date>
    <item>
      <title>Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927140#M650031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to qlikview. In my project we are doing incremental load and getting data as qvx files.&lt;/P&gt;&lt;P&gt;On daily basis qvx files are coming and they are coming only incremental data only, but in my script it is converting into qvd from that incremental script only. It is not appending to existing QVD with incremental data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inserts:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(Vqvxpath)packets_inserts.qvx(qvx);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date_packets:&lt;/P&gt;&lt;P&gt;LOAD Max(packet_record_updated_datetime) as packets_Maxdate&lt;/P&gt;&lt;P&gt;Resident Inserts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET VDate_packets = Peek('packets_Maxdate',0,'date_packets');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table date_packets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Inserts into $(Vqvdpath)packets.QVD(qvd);&lt;/P&gt;&lt;P&gt;DROP Table Inserts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updates:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(Vqvxpath)packets_updates.qvx(qvx)&lt;/P&gt;&lt;P&gt;Where (packet_record_updated_datetime &amp;gt;'$(VDate_packets)') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(Vqvdpath)packets.qvd(qvd)&lt;/P&gt;&lt;P&gt;Where not Exists(team_key);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Updates into $(Vqvdpath)packets.QVD(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 15:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927140#M650031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T15:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927141#M650032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;add this statement&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;trace $(VDate_packets) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and see if you get a num o r&amp;nbsp; a&amp;nbsp; date&lt;/P&gt;&lt;P&gt;and also if the format is the same of packet_record_updated_datetime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 16:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927141#M650032</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-23T16:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927142#M650033</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;Can you help me where can i add &lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;trace $(VDate_packets)&lt;/STRONG&gt; in the script&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 14:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927142#M650033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-24T14:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927143#M650035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET VDate_packets = Peek('packets_Maxdate',0,'date_packets');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET VDate_packets = Num(Peek('packets_Maxdate',0,'date_packets'));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this line&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where (packet_record_updated_datetime &amp;gt;'$(VDate_packets)') ;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where (packet_record_updated_datetime &amp;gt; $(VDate_packets)) ;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This removes possible confusion due to date formatting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 14:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927143#M650035</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-24T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927144#M650036</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;My requirement is here, I have written incremental script as above. In full load it is loading and converting&amp;nbsp; QVD.&lt;/P&gt;&lt;P&gt;In incremental load I will get only limited records as QVX file, if i run script, QVD will be overriding with existing QVD instead of appending new records to existing QVD. So I want to check whether I have written the code is correct or not. I mean it will override or it will do append.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 15:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927144#M650036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-24T15:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927145#M650038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reddy - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be noted that there won't be any appending to QVD... QV always creates new QVD with the timestamp... that means every time it will create a new QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;SReeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 05:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927145#M650038</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-25T05:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927146#M650039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sreeni is correct. The QVD is overwritten on each STORE. Make these changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;STORE Inserts into $(Vqvdpath)packets.QVD(qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;DROP Table Inserts;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Updates:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;$(Vqvxpath)packets_updates.qvx(qvx)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Where (packet_record_updated_datetime &amp;gt;'$(VDate_packets)') ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Concatenate&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;$(Vqvdpath)packets.qvd(qvd)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Where not Exists(team_key);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Concatenate(Inserts)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;$(Vqvxpath)packets_updates.qvx(qvx)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Where (packet_record_updated_datetime &amp;gt;'$(VDate_packets)') ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Concatenate(Inserts)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;$(Vqvdpath)packets.qvd(qvd)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Where not Exists(team_key);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 05:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927146#M650039</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-25T05:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927147#M650041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving reply to my query.&lt;/P&gt;&lt;P&gt;My requirement is Everyday I will get inserts and updates QVX files. If run I run this QVD generation script today it will create&amp;nbsp; one QVD file. Tomorrow I will get some more inserts and updates QVX files which will contain new records. If I run now, that existing records are overwriting with newly records. But it should not happen and I want to see yesterday's data and today's data also.&lt;/P&gt;&lt;P&gt;This QVX files are getting overwriting everyday, but my my QVD should not overwrite and should add new records to the existing records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to new add records to existing records based on my daily QVX files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 08:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927147#M650041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927148#M650042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To preserve the history, implement Slowly Changing Dimensions (SCD-2) where you can keep the historic information with an additional column like timestamp or flag...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 09:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927148#M650042</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-28T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927149#M650044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check team_Key column whether it is unique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 10:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927149#M650044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T10:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927150#M650045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it's perfectly possible to do what you want (even with separate inserts and updates). Have a look at Jonathan's suggestion below, because his script change implements what you're after. Taking into account what Jd Sreeni said, the basic mechanism is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every day you'll have three sets of rows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A history file called packets.qvd. That's the complete data set created during yesterday's reload&lt;/LI&gt;&lt;LI&gt;An "inserts" file called packets_inserts.qvx. Those are the new records, added to the data source since our last reload&lt;/LI&gt;&lt;LI&gt;An "Updates" file called packets_updates.qvx. Those are the updates to existing records that have been made since our last reload.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The incremental load consists of the following steps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Load all inserts into memory. Let's call this table NewData.&lt;/LI&gt;&lt;LI&gt;Add all updates to NewData that are more recent than yesterday's history file&lt;/LI&gt;&lt;LI&gt;Add all records to NewData from yesterday's history file that do not already exist in NewData&lt;/LI&gt;&lt;LI&gt;Store NewData to packets.qvd. We just created an up-to-date reference file that tomorrow will become the history file.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make this work, you'll need to decide on a Primary Key that identifies each record in your QVD in a unique way. Using this primary key, you can decide whether a record already exists in NewData and should not be loaded again from anywhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 10:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927150#M650045</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-09-28T10:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927151#M650046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still I am in confusion. Please bear with me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In full load I got &lt;STRONG&gt;packets_inserts.QVX&lt;/STRONG&gt; as 400 mb and &lt;STRONG&gt;packets_updates.QVX&lt;/STRONG&gt; as 300 mb. Based on this i created packets.qvd.&lt;/P&gt;&lt;P&gt;In second day we have done incremental load and got &lt;STRONG&gt;packets_inserts.QVX&lt;/STRONG&gt; as 100 mb &lt;STRONG&gt;packets_updates.qvx&lt;/STRONG&gt; as 30 mb and these files overriding the existing QVX files. So I have only fresh data and based on this I want existing full load and incremental data QVD.&lt;/P&gt;&lt;P&gt;According to my script it is creating packet.qvd from incremental data only and it is not having previous data(&lt;STRONG&gt;full load&lt;/STRONG&gt;) in &lt;STRONG&gt;packets.QVD&lt;/STRONG&gt;. But I have to have in QVD full load data and as well as incremental data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 11:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927151#M650046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T11:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927152#M650047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your supporting. I used your script, still it is creating QVD with incremental data, but it is not having previous data in that QVD. I want both full and incremental data.&lt;/P&gt;&lt;P&gt;I am thinking that due to QVX files are overriding. So it is creating QVD with that data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 11:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927152#M650047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T11:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927153#M650048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem, I'll just repeat what I said before about the Incremental Load steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Load all inserts into memory. Let's call this table NewData.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Add all updates to NewData that are more recent than yesterday's history file&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;Add all records to NewData from yesterday's history file that do not already exist in NewData&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Store NewData to packets.qvd. We just created an up-to-date reference file that tomorrow will become the history file.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see, there are no STORE statements inbetween these steps. Only at the end and just a single one. The idea is that you assemble your final table&lt;EM&gt; in-memory&lt;/EM&gt; from the different local data sources:&lt;EM&gt; Inserts QVX&lt;/EM&gt;,&lt;EM&gt; Updates QVX&lt;/EM&gt; and &lt;EM&gt;History QVD&lt;/EM&gt;. The three thrown together are stored as the new reference QVD. At that time, this QVD contains records from all three sources and without doubles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjust your script accordingly. Start by eliminating the different STORE statements, as you'll be overwriting your QVD again and again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Edit] In bold is the step that adds Full load records that haven't changed. The history file is just yesterday's version of packets.qvd. In the last step, we'll be overwriting that file with today's (new) version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927153#M650048</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-09-28T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927154#M650049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Thanks for your patience. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inserts:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(Vqvxpath)packets_inserts.qvx(qvx);&lt;/P&gt;&lt;P&gt;date_packets:&lt;/P&gt;&lt;P&gt;LOAD Max(packet_record_updated_datetime) as packets_Maxdate&lt;/P&gt;&lt;P&gt;Resident Inserts;&lt;/P&gt;&lt;P&gt;LET VDate_packets = Peek('packets_Maxdate',0,'date_packets');&lt;/P&gt;&lt;P&gt;DROP Table date_packets;&lt;/P&gt;&lt;P&gt;Concatenate(Inserts)&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(Vqvxpath)packets_updates.qvx(qvx)&lt;/P&gt;&lt;P&gt;Where (packet_record_updated_datetime &amp;gt;'$(VDate_packets)') ;&lt;/P&gt;&lt;P&gt;Concatenate(Inserts)&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(Vqvdpath)packets.qvd(qvd)&lt;/P&gt;&lt;P&gt;Where not Exists(team_key);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this script it will create Packets.QVD. In incremental load it has to check that already created packets.QVD data and then it has to add incremental data to to existing QVD .&amp;nbsp; But in our script, we are not able check already created packets.QVD data. like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;maxdate:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load max(date) as maxdate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from old.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Pls help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927154#M650049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T12:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927155#M650050</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;It is primary key and having unique values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 17:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927155#M650050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T17:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927156#M650051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me, where and I have to keep these flag in above script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 17:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927156#M650051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T17:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927157#M650052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two ways to go from here:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Do you want to keep ony one version of every row with a unique team_key? The effect will be that you will keep the updated row from the Updates QVX, and throw away the old row from packets.qvd.&lt;/LI&gt;&lt;LI&gt;Or do you want to keep all previous versions of rows with a unique team_key value? The effect will be that all rows from the history file will be kept, and all inserts and updates will simply be added to this existing QVD. In this way, you can go back to previous versions by date-of-change.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you want the first solution. But better be sure about this, so please make your selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 12:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927157#M650052</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-09-29T12:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927158#M650053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you select the first approach, try with this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;// Everyday, we have fresh Inserts and fresh Updates in QVX files&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;NewPackets:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;FROM [$(Vqvxpath)packets_updates.qvx] (qvx); // Updates may be on Inserts&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;CONCATENATE (NewPackets)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;FROM [$(Vqvxpath)packets_inserts.qvx] (qvx)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;WHERE Not Exists(team_key)&lt;/SPAN&gt;; // Add Inserts that do not exist yet&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; font-family: 'courier new', courier; font-size: 8pt;"&gt;CONCATENATE (NewPackets)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;FROM [$(Vqvdpath)packets.qvd] (qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;WHERE Not Exists(team_key); // Add history that hasn't been updated&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;STORE NewPackets INTO [$(Vqvdpath)packets.qvd] (qvd); // Overwrite history&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 12:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927158#M650053</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-09-29T12:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927159#M650054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to maintain all versions of data including old and new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 14:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/927159#M650054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-29T14:19:06Z</dc:date>
    </item>
  </channel>
</rss>

