<?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: time stamp driven incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137966#M373277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a document log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2016 16:47:55 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2016-05-19T16:47:55Z</dc:date>
    <item>
      <title>time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137954#M373265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still new to Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do some incremental download using QVD and adding more files and store it to a n updated QVD file.&lt;/P&gt;&lt;P&gt;The Data contains time stamp.&amp;nbsp; So far I have downloaded some QVD files.&amp;nbsp; Now, I'd like to add some csv files with criteria where the latest time stamp is greater than the latest time stamp in QVD file. What I did was&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incremental_CDR:&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Time Stamp], B,C,D,E,F,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM [..\QVD\Filename.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Last_Record:&lt;/P&gt;&lt;P&gt;LOAD Max (timestamp([Time Stamp])) as Latest_Time_Stamp&lt;/P&gt;&lt;P&gt;Resident Incremental_CDR;&lt;/P&gt;&lt;P&gt;LET $(vLast_Record)= Peek('[Latest_timestamp]', 0, 'Last_Record)');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trace &amp;gt;&amp;gt;&amp;gt; $(vLast_Record);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load new Records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vSourceData)Filename_*.csv&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Timestamp([Time Stamp]) &amp;gt; $(vLast_Record);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it failing with error as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;LOAD Distinct ...... and rest of the message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changed the &lt;SPAN style="font-size: 13.3333px;"&gt;$(vLast_Record) to a date(e.g. '09/05/2016') it works, but I want to to make it more precise and need to rely on the latest time stamp in last record so that I can append the qvd data and next time do another incremental load will simply use the latest time stamp in the latest qvd file or last record in another source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue or help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 02:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137954#M373265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-13T02:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137955#M373266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Distinct&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;FROM&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vSourceData)Filename_*.csv&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;
&lt;P&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;Where Timestamp([Time Stamp]) &amp;gt; $(vLast_Record);&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You haven't specified any fields to retrieve from the csv file. Perhaps LOAD Distinct * ....etc... does what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 14:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137955#M373266</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-13T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137956#M373267</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;Actually I did, just forgot to put in the example above. It should be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Distinct&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; [Time Stamp], B,C,D,E,F,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vSourceData)Filename_*.csv&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Timestamp([Time Stamp]) &amp;gt; $(vLast_Record);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It keeps showing the same error &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 00:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137956#M373267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-14T00:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137957#M373268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the comma after the F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 12:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137957#M373268</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-14T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137958#M373269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,  Yes I did. Actually field names are just the examples. No comma after&lt;/P&gt;&lt;P&gt;real filed names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, no value after trace command - trace &amp;gt;&amp;gt;&amp;gt; $(vLast_Update_Record);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Sat, May 14, 2016 at 7:14 AM, Gysbert Wassenaar &amp;lt;qcwebmaster@qlikview.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 13:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137958#M373269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-14T13:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137959#M373270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//Last_Record:&lt;/P&gt;

&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Max (timestamp([Time Stamp])) as Latest_Time_Stamp&lt;/P&gt;

&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Incremental_CDR;&lt;/P&gt;
&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LET $(vLast_Record)= Peek('[Latest_timestamp]', 0, 'Last_Record)');&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Remove the square brackets: &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Peek('Latest_timestamp', 0, 'Last_Record)');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Remove the ) character after Last_Record: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Peek('Latest_timestamp', 0, 'Last_Record');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Use the correct field name: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Peek('Latest_Time_Stamp', 0, 'Last_Record');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You might also want to make sure you get a numeric value back: num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Peek('Latest_Time_Stamp', 0, 'Last_Record')&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;);&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 14:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137959#M373270</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-14T14:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137960#M373271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://www.google.co.in/search?site=&amp;amp;source=hp&amp;amp;q=incremental+load+in+qlikview&amp;amp;oq=incremental+load&amp;amp;gs_l=hp.1.0.0l10.928.4269.0.5822.16.10.0.6.6.0.180.1185.0j9.9.0....0...1c.1.64.hp..1.15.1229...0i131j0i3.xOUTjJ-TXKQ" title="https://www.google.co.in/search?site=&amp;amp;source=hp&amp;amp;q=incremental+load+in+qlikview&amp;amp;oq=incremental+load&amp;amp;gs_l=hp.1.0.0l10.928.4269.0.5822.16.10.0.6.6.0.180.1185.0j9.9.0....0...1c.1.64.hp..1.15.1229...0i131j0i3.xOUTjJ-TXKQ"&gt;https://www.google.co.in/search?site=&amp;amp;source=hp&amp;amp;q=incremental+load+in+qlikview&amp;amp;oq=incremental+load&amp;amp;gs_l=hp.1.0.0l10.928.…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 15:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137960#M373271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-14T15:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137961#M373272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed all syntax but still got the same message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;trace&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &amp;gt;&amp;gt;&amp;gt; $(vLast_Record);&amp;nbsp; also did not return any value.&amp;nbsp; Is there anything missing? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If I changed the condition to certain date it works but I want to make it more autonomous so that I will simply append the data everything I run the script instead of manually change the date or even time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion or help from the experts in this community?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 18:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137961#M373272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-15T18:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137962#M373273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post an example qlikview document that demonstrates the problem along with two source files that contain at least the timestamp field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 06:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137962#M373273</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-16T06:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137963#M373274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Please find attached the sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 21:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137963#M373274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-18T21:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137964#M373275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This statement is incorrect:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;LET $(vLast_Record)= Peek('[Latest_timestamp]', 0, 'Last_Record)');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;It should be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;LET vLast_Record= Peek('[Latest_timestamp]', 0, 'Last_Record)');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;no $() on the variable name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 00:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137964#M373275</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-05-19T00:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137965#M373276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, Many thanks for spotting this!&lt;/P&gt;&lt;P&gt;It is very helpful and now I'm getting closer to the final step, but not there yet.  The error is gone after fixing the statement and trace shows value of the last record in initial run, but when running with the new record no new records are added or concatenated. It only load the qvd file that has only the initial record although the condition to include the new records is met. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Load new records &lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load distinct &lt;/P&gt;&lt;P&gt;Field names&lt;/P&gt;&lt;P&gt;From source (*.csv)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where  &amp;gt; 'vLast_Record';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, I'd also like to update the latest time stamp with the latest record in the latest loaded file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 03:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137965#M373276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T03:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137966#M373277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a document log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 16:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137966#M373277</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-05-19T16:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137967#M373278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The log is attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 19:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137967#M373278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T19:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137968#M373279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do need the $() when you reference the variable this way. Just don't use the $() when you set the variable with SET or LET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;where [Time Stamp] &amp;gt;= '&lt;STRONG&gt;$(&lt;/STRONG&gt;vLast_Record&lt;STRONG&gt;)&lt;/STRONG&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 22:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137968#M373279</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-05-19T22:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: time stamp driven incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137969#M373280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for the tips and explaining the difference!  It works.&lt;/P&gt;&lt;P&gt;A simple mistake that makes a big difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, May 19, 2016 at 5:10 PM, Rob Wunderlich &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 23:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-stamp-driven-incremental-load/m-p/1137969#M373280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T23:32:22Z</dc:date>
    </item>
  </channel>
</rss>

