<?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: Timestamp incremental load in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530493#M123721</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;Dilipranjith&lt;/A&gt;,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14931" target="_self"&gt;Jontydkpi&lt;/A&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The code runs without an error message. But the incremental load is not performed.&amp;nbsp;&lt;BR /&gt;I have adapted the code for troubleshooting by saving each step. It appears the delta load was not performed.&amp;nbsp;&lt;BR /&gt;The mistake appears to be in the variable "maxdate_Zafaco" as its not being generated.&amp;nbsp;&lt;BR /&gt;I am thus coming back to my initial questions:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1)&amp;nbsp; Does Qlik recognize my timestamp correctly? (my column with my timestamp is called STIME, I have used&amp;nbsp;Timestamp#(STIME,'YYMMDD hh:mm') as STIME, )&lt;BR /&gt;2) Does the max operator work correctly on the timestamp column?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 14:02:16 GMT</pubDate>
    <dc:creator>QlikSenseUser1</dc:creator>
    <dc:date>2019-01-15T14:02:16Z</dc:date>
    <item>
      <title>Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530022#M123625</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am trying to perform an incremental load routine, where I am trying to define the new data based on data after a certain time. I have a timestamp in the data on which I tried to define a variable "maxdate" which defines the latest date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have two questions&amp;nbsp; (see below for code) :&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;My timestamp has the column name "STIME" and is of following format:&amp;nbsp;181203 00:02 (ie.: YYMMDD hh:mm). Do I have to specify which column in the original data is my timestamp or does qlik understand through:&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET TimestampFormat='YY.MM.DD hh:mm[.fff]';&lt;/P&gt;&lt;P&gt;2) Trying to implement the incremental load routing I am getting following message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The following error occurred:&lt;BR /&gt;Field 'a' not found&lt;BR /&gt;The error occurred here:&lt;BR /&gt;?"&amp;nbsp;&lt;/P&gt;&lt;DIV class="edc_error"&gt;debugging stops at line 27 (just below : //5.Pull new rows/delta.)&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;&lt;BR /&gt;Data sample is attached, here is my current code:&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;// 1. Primary Data Load&lt;BR /&gt;data1:&lt;BR /&gt;LOAD&lt;BR /&gt;STIME,&lt;BR /&gt;//Date(Date#[STIME],'YYYY-MM-DD hh:mm'), AS STIME,&lt;BR /&gt;// Date(Floor([STIME])) as Date,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM [lib://Incremental Load/ZafacoLoad1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Zafaco181203);&lt;/P&gt;&lt;P&gt;//2. Create a qvd file.&lt;BR /&gt;store data1 into 'lib://QVD/ZafacoTest.qvd';&lt;BR /&gt;drop table data1;&lt;/P&gt;&lt;P&gt;//3. Find maximum date.&lt;BR /&gt;max_date:&lt;BR /&gt;LOAD&lt;BR /&gt;max(STIME) as Maxdate&lt;BR /&gt;FROM 'lib://QVD/ZafacoTest.qvd'(qvd);&lt;/P&gt;&lt;P&gt;//4. Store Maximum date in a variable.&lt;BR /&gt;Let Maxdate = floor(peek('Maxdate'));&lt;/P&gt;&lt;P&gt;//5.Pull new rows/delta.&lt;BR /&gt;data2:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM [lib://Incremental Load/ZafacoLoad2.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Zafaco181205)&lt;BR /&gt;where STIME&amp;gt; $(Maxdate);&lt;/P&gt;&lt;P&gt;//6 Concatenate.&lt;BR /&gt;Concatenate (data2)&lt;BR /&gt;LOAD&lt;BR /&gt;STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM [lib://QVD/ZafacoTest.qvd] (qvd);&lt;BR /&gt;STORE data2 into [lib://QVD/ZafacoTest.qvd] (qvd);&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530022#M123625</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2024-11-16T21:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530038#M123628</link>
      <description>&lt;P&gt;Your column STIME is being loaded as text. therefore the variable is null.&lt;/P&gt;&lt;P&gt;thats the reason for the error&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 14:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530038#M123628</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-14T14:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530041#M123629</link>
      <description>&lt;P&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;&lt;SPAN class=""&gt;Dilipranjith&lt;/SPAN&gt;&lt;/A&gt; for the quick response.&amp;nbsp;&lt;BR /&gt;How do I define STIME as date/timestamp? How do I troubleshoot?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 14:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530041#M123629</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2019-01-14T14:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530044#M123630</link>
      <description>Load STIME as timestamp using something like&lt;BR /&gt;Timestamp#(STIME,'YYMMDD hh:mm') as STIME,&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2019 14:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530044#M123630</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-14T14:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530129#M123649</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;&lt;SPAN class=""&gt;Dilipranjith&lt;/SPAN&gt;&lt;/A&gt;. Unfortunately, it didn't work.&amp;nbsp; I have implemented as advised&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;data1:&lt;BR /&gt;LOAD&lt;BR /&gt;STIME,&lt;BR /&gt;Timestamp#(STIME,'YYMMDD hh:mm') as STIME,....&lt;BR /&gt;&lt;BR /&gt;I am now however getting following error message:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="headline edc_error"&gt;"The following error occurred:&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;Field names must be unique within table&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline undefined"&gt;Data has not been loaded. Please correct the error and try loading again"&lt;BR /&gt;&lt;BR /&gt;Where am I going wrong?&amp;nbsp; Thanks in advance&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Jan 2019 16:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530129#M123649</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2019-01-14T16:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530130#M123650</link>
      <description>&lt;P&gt;remove the first one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRIKE&gt;STIME,&lt;/STRIKE&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;Timestamp#(STIME,'YYMMDD hh:mm') as STIME,....&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 16:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530130#M123650</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-14T16:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530131#M123651</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;&lt;SPAN class=""&gt;Dilipranjith&lt;/SPAN&gt;&lt;/A&gt;! This is progress, initial error code resolved. Im getting following error code after implementing as suggested:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="headline edc_error"&gt;"The following error occurred:&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;Field 'a' not found&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;The error occurred here:&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;?"&lt;BR /&gt;&lt;BR /&gt;Debugging stopped script at line 25 (after" 5.Pull new rows"&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;Code:&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;// 1. Primary Data Load&lt;BR /&gt;data1:&lt;BR /&gt;LOAD&lt;BR /&gt;Timestamp(STIME,'YYMMDD hh:mm') as STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM [lib://Incremental Load/ZafacoLoad1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Zafaco181203);&lt;BR /&gt;&lt;BR /&gt;//2. Create a qvd file.&lt;BR /&gt;store data1 into 'lib://QVD/ZafacoTest.qvd';&lt;BR /&gt;drop table data1;&lt;/P&gt;&lt;P&gt;//3. Find maximum date.&lt;BR /&gt;max_date:&lt;BR /&gt;LOAD&lt;BR /&gt;max(STIME) as Maxdate&lt;BR /&gt;FROM 'lib://QVD/ZafacoTest.qvd'(qvd);&lt;/P&gt;&lt;P&gt;//4. Store Maximum date in a variable.&lt;BR /&gt;Let Maxdate = floor(peek('Maxdate'));&lt;/P&gt;&lt;P&gt;//5.Pull new rows/delta.&lt;BR /&gt;data2:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;//STIME,&lt;BR /&gt;Timestamp(STIME,'YYMMDD hh:mm') as STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM [lib://Incremental Load/ZafacoLoad2.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Zafaco181205)&lt;BR /&gt;where STIME&amp;gt; $(Maxdate);&lt;/P&gt;&lt;P&gt;//6 Concatenate.&lt;BR /&gt;Concatenate (data2)&lt;BR /&gt;LOAD&lt;BR /&gt;STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM [lib://QVD/ZafacoTest.qvd] (qvd);&lt;BR /&gt;STORE data2 into [lib://QVD/ZafacoTest.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// // Comments&lt;BR /&gt;// // max(timestamp(Date, 'YYYY/MM/DD hh:mm.ff')) as Maxdate&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 16:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530131#M123651</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2019-01-14T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530134#M123652</link>
      <description>isnt that the same error?&lt;BR /&gt;debug and check value of variable Maxdate</description>
      <pubDate>Mon, 14 Jan 2019 17:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530134#M123652</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-14T17:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530136#M123653</link>
      <description>use timestamp# not timestamp&lt;BR /&gt;date#/timestamp# function tell qlik a text is a date/timestamp field.&lt;BR /&gt;date/timestamp functions gives a formatted output</description>
      <pubDate>Mon, 14 Jan 2019 17:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530136#M123653</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-14T17:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530170#M123655</link>
      <description>Did it work?&lt;BR /&gt;If so mark as answered and close the thread</description>
      <pubDate>Mon, 14 Jan 2019 19:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530170#M123655</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-14T19:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530493#M123721</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;Dilipranjith&lt;/A&gt;,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14931" target="_self"&gt;Jontydkpi&lt;/A&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The code runs without an error message. But the incremental load is not performed.&amp;nbsp;&lt;BR /&gt;I have adapted the code for troubleshooting by saving each step. It appears the delta load was not performed.&amp;nbsp;&lt;BR /&gt;The mistake appears to be in the variable "maxdate_Zafaco" as its not being generated.&amp;nbsp;&lt;BR /&gt;I am thus coming back to my initial questions:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1)&amp;nbsp; Does Qlik recognize my timestamp correctly? (my column with my timestamp is called STIME, I have used&amp;nbsp;Timestamp#(STIME,'YYMMDD hh:mm') as STIME, )&lt;BR /&gt;2) Does the max operator work correctly on the timestamp column?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530493#M123721</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2019-01-15T14:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530495#M123722</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;Dilipranjith&lt;/A&gt;,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14931" target="_self"&gt;Jontydkpi&lt;/A&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The code runs without an error message. But the incremental load is not performed.&amp;nbsp;&lt;BR /&gt;I have adapted the code for troubleshooting by saving each step. It appears the delta load was not performed.&amp;nbsp;&lt;BR /&gt;The mistake appears to be in the variable "maxdate_Zafaco" as its not being generated.&amp;nbsp;&lt;BR /&gt;I am thus coming back to my initial questions:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1)&amp;nbsp; Does Qlik recognize my timestamp correctly? (my column with my timestamp is called STIME, I have used&amp;nbsp;Timestamp#(STIME,'YYMMDD hh:mm') as STIME, )&lt;BR /&gt;2) Does the max operator work correctly on the timestamp column?&lt;BR /&gt;&lt;BR /&gt;Thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="login-bold"&gt;Here is the code:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// 1. Primary Data Load&lt;BR /&gt;data1:&lt;BR /&gt;LOAD&lt;BR /&gt;Timestamp#(STIME,'YYMMDD hh:mm') as STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM 'lib://Incremental Load/ZafacoLoad1.xlsx'&lt;BR /&gt;(ooxml, embedded labels, table is Zafaco181203);&lt;BR /&gt;&lt;BR /&gt;//2. Create a qvd file.&lt;BR /&gt;store data1 into 'lib://QVD/ZafacoTest.qvd';&lt;BR /&gt;drop table data1;&lt;/P&gt;&lt;P&gt;//3. Find maximum date.&lt;BR /&gt;max_date:&lt;BR /&gt;LOAD&lt;BR /&gt;max(STIME) as Maxdate_Zafaco&lt;BR /&gt;FROM 'lib://QVD/ZafacoTest.qvd'(qvd);&lt;/P&gt;&lt;P&gt;//4. Store Maximum date in a variable.&lt;BR /&gt;Let Maxdate_Zafaco = floor(peek('Maxdate_Zafaco'));&lt;BR /&gt;&lt;BR /&gt;// Peek() finds the value of a field in a table for a row that has already been loaded&lt;BR /&gt;// or that exists in internal memory. The row number can be specified, as can the table.&lt;/P&gt;&lt;P&gt;//5.Pull new rows/delta.&lt;BR /&gt;data2:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;//STIME,&lt;BR /&gt;Timestamp#(STIME,'YYMMDD hh:mm') as STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM [lib://Incremental Load/ZafacoLoad2.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Zafaco181205)&lt;BR /&gt;where STIME&amp;gt; $(Maxdate_Zafaco);&lt;BR /&gt;STORE data2 into 'lib://QVD/ZafacoTestdelta.qvd' (qvd);&lt;/P&gt;&lt;P&gt;//6 Concatenate.&lt;BR /&gt;Concatenate (data2)&lt;BR /&gt;LOAD&lt;BR /&gt;STIME,&lt;BR /&gt;NE_ID,&lt;BR /&gt;OBJID,&lt;BR /&gt;CALLSETUPDURATION,&lt;BR /&gt;CALLSETUPSUCCESSRATIO&lt;BR /&gt;FROM 'lib://QVD/ZafacoTest.qvd' (qvd);&lt;BR /&gt;STORE data2 into 'lib://QVD/ZafacoTestComplete.qvd' (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530495#M123722</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2019-01-15T14:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530498#M123723</link>
      <description>i can only point you in the right direction. unfortunately not possible to debug the entire code.&lt;BR /&gt;the error is fixed i suggest you load debug the code properly. load part of the statements to assess each step&lt;BR /&gt;&lt;BR /&gt;e.g. load only step 1 see if the data is correct.&lt;BR /&gt;and play around with it</description>
      <pubDate>Tue, 15 Jan 2019 14:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530498#M123723</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-15T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530511#M123727</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks, thats what I did.&amp;nbsp; I have debugged and narrowed down the problem to following (as stated above):&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The second table data2 is not created correctly. I am suspecting that the Maxdate_Zafaco variable is not properly recognized as (I suspect) my max operator on my timestamp column "STIME" is not performing as it is supposed to. Basically, I am trying to understand why these lines are not working properly:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;data1:&lt;BR /&gt;LOAD&lt;BR /&gt;Timestamp#(STIME,'YYMMDD hh:mm') as STIME,&lt;BR /&gt;FROM....&lt;BR /&gt;...&lt;BR /&gt;max_date:&lt;BR /&gt;LOAD&lt;BR /&gt;max(STIME) as Maxdate_Zafaco&lt;BR /&gt;FROM...&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp;Let Maxdate_Zafaco = floor(peek('Maxdate_Zafaco'));&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am suspecting that the variable saving the max date (from timestamp) ie. Maxdata_Zafaco is not correctly defined in the routine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530511#M123727</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2019-01-15T14:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530537#M123735</link>
      <description>&lt;P&gt;The line that is not working is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;where STIME&amp;gt; $(Maxdate_Zafaco);&lt;BR /&gt;&lt;BR /&gt;so the max operator on the timestamp column does not perform correctly. If I apply the maxoperator on a column with a consecutive variable it works fine. e.g. OBJID is a continuous variable, applying the maxoperator on OBJID saving it in a variable and implementing the incremental load works fine :&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where OBJID&amp;gt; $(Maxdate_Zafaco)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;So the question remains:&lt;BR /&gt;1) how is a column specified such that the timestamp is correctly recognised&lt;BR /&gt;2) how do you apply a max operator on said timestamp&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1530537#M123735</guid>
      <dc:creator>QlikSenseUser1</dc:creator>
      <dc:date>2019-01-15T15:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp incremental load</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1531979#M124006</link>
      <description>&lt;P&gt;Most likely, from the current issue you've pinpointed, the [STIME] field and your variable don't have the same format.&amp;nbsp;&lt;BR /&gt;Using the max() function, will return a number, while [STIME] has the timestamp format.&lt;/P&gt;&lt;P&gt;I'd suggest you try and match both formats and then try applying the where clause.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 09:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Timestamp-incremental-load/m-p/1531979#M124006</guid>
      <dc:creator>timpoismans</dc:creator>
      <dc:date>2019-01-18T09:33:45Z</dc:date>
    </item>
  </channel>
</rss>

