<?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 Help advice in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265512#M99799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help so far, I have the attached a example qvd document that generates the qvd file and I also attached a spreadsheet which the qvd document looks for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the spreadsheet it has a timestamp, if I was to add a new line with a new timestamp I want the qvd document to only insert new rows where the timestamp has not been added before? Does this make sense? &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 22:20:01 GMT</pubDate>
    <dc:creator>ivandrago</dc:creator>
    <dc:date>2011-09-15T22:20:01Z</dc:date>
    <item>
      <title>Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265510#M99797</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;I am currently have a scheduled task that is creating a qvd that is taking on average 45 minutes. Obviously this is taking a big hit on the server performance, making other shceduled tasks taking while to run. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document that creates the qvd is reloading the same orders again, how do i check the original qvd created and see if that order already exist and then only load new ones from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone got a understanding script or qvd with a example excel spreadsheet that would show a good example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 14:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265510#M99797</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-15T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265511#M99798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest search QV help file for word "incremental"&lt;/P&gt;&lt;P&gt;And check the links in the box "more like this" here -&amp;gt;&lt;/P&gt;&lt;P&gt;(for example &lt;A _jive_internal="true" href="https://community.qlik.com/message/65505#65505"&gt;this&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 16:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265511#M99798</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2011-09-15T16:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265512#M99799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help so far, I have the attached a example qvd document that generates the qvd file and I also attached a spreadsheet which the qvd document looks for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the spreadsheet it has a timestamp, if I was to add a new line with a new timestamp I want the qvd document to only insert new rows where the timestamp has not been added before? Does this make sense? &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 22:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265512#M99799</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-15T22:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265513#M99800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Anyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 08:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265513#M99800</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-16T08:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265514#M99801</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;I have changed the script in your document and uploaded the new document. Check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;Shubhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 09:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265514#M99801</guid>
      <dc:creator />
      <dc:date>2011-09-16T09:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265515#M99802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Shubhu, Thanks for your help so far, I have ran the Document but I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cannot open file 'c:\Incre\Incr_QVD.qvd&lt;/P&gt;&lt;P&gt;group by 1'&lt;/P&gt;&lt;P&gt;maxdatetab:&lt;/P&gt;&lt;P&gt;load max(Timestamp) as mdt&lt;/P&gt;&lt;P&gt;From c:\Incre\Incr_QVD.qvd&lt;/P&gt;&lt;P&gt;group by 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note the I have saved the qvd file to another location c:\Incre\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265515#M99802</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-16T10:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265516#M99803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, not getting error now, I've changed the qvd file location, see the latest attached document and updated spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected though, that if the spreadsheet was showing the following at some point:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp&lt;/P&gt;&lt;P&gt;AA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16/09/2011 09:15:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I deleted this row from the spredsheet, to still appear in the qvd?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265516#M99803</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-16T10:49:47Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265517#M99804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="hps"&gt;I work with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;incremental load&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;day&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Comissão_de_Vendas:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LET data = today()- 68;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD &lt;BR /&gt;fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM&lt;BR /&gt;D:\table_name.qvd(qvd)&lt;BR /&gt;WHERE DATE &amp;lt; '$(data)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CONCATENATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD&lt;BR /&gt; fields&lt;BR /&gt; &lt;BR /&gt;FROM D:\table_name.qvd(qvd)&lt;BR /&gt;WHERE DATE &amp;gt; TRUNC(sysdate - 69);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Store Comissão_de_Vendas into 'D:\Desenv\Qvd\Comissão_de_Vendas.qvd';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 12:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265517#M99804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-16T12:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265518#M99805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IvanDrago, if you followed Shubhu's example then I believe you need to delete the first part of script where qvd was created.&lt;/P&gt;&lt;P&gt;I made some optimizations on this example for better load speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;directory; // use current&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MainTable:&lt;/P&gt;&lt;P&gt;LOAD Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp&lt;/P&gt;&lt;P&gt;FROM Incr_QVD.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// load max timestamp, this method is faster than resident load&lt;/P&gt;&lt;P&gt;maxdatetab:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MaxString(Timestamp) as mdt&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD fieldvalue('Timestamp',iterno()) as Timestamp&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;WHILE not IsNull(fieldvalue('Timestamp',iterno()))&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;let vMaxdate = FieldValue('mdt', 1);&lt;/P&gt;&lt;P&gt;DROP Table maxdatetab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate (MainTable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp&lt;/P&gt;&lt;P&gt;from IncrementalTest.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where (Timestamp &amp;gt; '$(vMaxdate)');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE MainTable into Incr_QVD.qvd (qvd);&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 14:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265518#M99805</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2011-09-16T14:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265519#M99806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Both,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added the script but it keeps failing not sure where the issue is as does not give a valid error, just says "Execution of script failed. Reload old data", I have attached the Document and spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 15:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265519#M99806</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-16T15:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265520#M99807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to tell. Does qvd file exist? Check the "generate logfile" in document properties before reload, then you can see where it fails.&lt;/P&gt;&lt;P&gt;Btw, you missed the directory path in the STORE line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 17:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265520#M99807</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2011-09-16T17:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265521#M99808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Tanei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where are the log files kept as I have done the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncommented the directory path (Whatever that is meant to do?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reloaded the script but still get "Execution of script failed. Reload old data"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gone to Settings &amp;gt; Document Properties &amp;gt; Generate Logfile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 09:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265521#M99808</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-19T09:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265522#M99809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV help file wants to be your friend &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; (it is mine almost daily).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, .log file will be created next to .qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And "Directory&amp;nbsp; ;" lets you specify read/store location of files just once so you only need filename in the following load statements, instead of full path each time. No need to use it though, if confusing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 10:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265522#M99809</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2011-09-19T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265523#M99810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tanei,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This works now, looks like it was a locking issue with the qvd, so I deleted the qvd and reloaded this again and working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 10:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265523#M99810</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-09-19T10:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help advice</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265524#M99811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the properties of the folder where the qvd files are stored and change the attributes to full access. (Mind you, one needs to be logged in as an administrator to make changes from Read Only to Full access).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-advice/m-p/265524#M99811</guid>
      <dc:creator />
      <dc:date>2014-01-31T09:08:45Z</dc:date>
    </item>
  </channel>
</rss>

