<?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: Update based on Time Stamp in incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108293#M918571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 18:44:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-11T18:44:52Z</dc:date>
    <item>
      <title>Update based on Time Stamp in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108290#M918568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very new to Qlikview and would like to do incremental load based on the latest time stamp in QVD file.&lt;/P&gt;&lt;P&gt;I stored the initial data on QVD file that has a few columns, where column A is Time Stamp.&amp;nbsp; I sorted the time stamp in the QVD just to ensure all time stamps are in order with below script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initial_Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Time Stamp], B,C,D,E,F&lt;/P&gt;&lt;P&gt;&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; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vQVDSave)Initial_data.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted_Record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;Resident Initial_Data&lt;/P&gt;&lt;P&gt;order by [Time Stamp];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vLatestRecord = Peek('[Time Stamp]', -1, 'Sorted_Record');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Initial_Data;&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;&lt;/P&gt;&lt;P&gt;Latest_Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Time Stamp], B,C,D,E,F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="font-size: 13.3333px;"&gt;$(vDataSource) filename.csv&lt;/SPAN&gt;&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;Where [Time Stamp] &amp;gt; $(vLatestRecord);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work properly when I reloaded it and keep showing error message &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;Latest_Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Filed Names....&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where [Time Stamp] &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue?&amp;nbsp; Appreciate any suggestion from the experts in this forum to fix this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108290#M918568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update based on Time Stamp in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108291#M918569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're getting that error&amp;nbsp; message, because your variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;vLatestRecord&lt;/EM&gt; is empty.&amp;nbsp; Check the line &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;&lt;BR /&gt;&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;LET vLatestRecord = Peek('[Time Stamp]', -1, 'Sorted_Record');&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;&lt;BR /&gt;&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;To make sure that Peek is returning a value.&lt;BR /&gt;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Karla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 22:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108291#M918569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-10T22:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update based on Time Stamp in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108292#M918570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&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;LET vLatestRecord = Peek('Time Stamp', -1, 'Sorted_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;&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;(field name with [] removed)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 22:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108292#M918570</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-10T22:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update based on Time Stamp in incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108293#M918571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 18:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-based-on-Time-Stamp-in-incremental-load/m-p/1108293#M918571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-11T18:44:52Z</dc:date>
    </item>
  </channel>
</rss>

