<?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 Issue with incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-incremental-load/m-p/345239#M1173962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to load data greater than a certain date as incremental to the previous load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The step I followed is &lt;/P&gt;&lt;P&gt;1. Stored the previous load as a qvd&lt;/P&gt;&lt;P&gt;2. Load the qvd&lt;/P&gt;&lt;P&gt;3. Get max date&lt;/P&gt;&lt;P&gt;4. Load the new data where date is greater than max date from previous loaded qvd file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an error field &amp;lt;vMax&amp;gt; not found. Below is the script. Does anyone know what could be happening and how to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;LOAD * from Sales_Fact.qvd (qvd);&lt;BR /&gt;Res:&lt;BR /&gt;LOAD Max(%_Day_Date_ID) as MaxDate&lt;BR /&gt;RESIDENT Temp;&lt;BR /&gt;let vMax=peek('MaxDate',-1,'Temp');&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;Sales_Fact:&lt;BR /&gt;LOAD TEXT(Terr_id) as %_Terr_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEXT(Brand) as %_Brand_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE(w_date) as %_Day_Date_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUM(sales) as FCT_sales&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[sales_inputs - we4-20-12.csv]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;BR /&gt;WHERE&lt;BR /&gt;DATE(w_date) &amp;gt; vMax;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD * from Sales_Fact.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 22:47:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-09T22:47:22Z</dc:date>
    <item>
      <title>Issue with incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-incremental-load/m-p/345239#M1173962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to load data greater than a certain date as incremental to the previous load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The step I followed is &lt;/P&gt;&lt;P&gt;1. Stored the previous load as a qvd&lt;/P&gt;&lt;P&gt;2. Load the qvd&lt;/P&gt;&lt;P&gt;3. Get max date&lt;/P&gt;&lt;P&gt;4. Load the new data where date is greater than max date from previous loaded qvd file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an error field &amp;lt;vMax&amp;gt; not found. Below is the script. Does anyone know what could be happening and how to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;LOAD * from Sales_Fact.qvd (qvd);&lt;BR /&gt;Res:&lt;BR /&gt;LOAD Max(%_Day_Date_ID) as MaxDate&lt;BR /&gt;RESIDENT Temp;&lt;BR /&gt;let vMax=peek('MaxDate',-1,'Temp');&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;Sales_Fact:&lt;BR /&gt;LOAD TEXT(Terr_id) as %_Terr_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEXT(Brand) as %_Brand_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE(w_date) as %_Day_Date_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUM(sales) as FCT_sales&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[sales_inputs - we4-20-12.csv]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;BR /&gt;WHERE&lt;BR /&gt;DATE(w_date) &amp;gt; vMax;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD * from Sales_Fact.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 22:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-incremental-load/m-p/345239#M1173962</guid>
      <dc:creator />
      <dc:date>2012-05-09T22:47:22Z</dc:date>
    </item>
  </channel>
</rss>

