<?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 Overwriting data with INCREMENTAL LOAD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191724#M53698</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 trying to do an incremental load from a SQL data warehouse to a QVD. I have the QVD with all the historical data and I run the query to the DWH extracting only the new data correctly. The problem is that when concatenating the QVD historical with the SQL new one , the new data overwrites the old one. This is my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;BR /&gt;LOAD&lt;BR /&gt; session_id;&lt;BR /&gt;SQL SELECT session_id&lt;BR /&gt;FROM dw.f_sessions&lt;BR /&gt;WHERE bot_fk='35' AND session_id &amp;gt; $(lastSessionID);&lt;BR /&gt;Concatenate&lt;BR /&gt;LOAD session_id&lt;BR /&gt;FROM QVDS\incremental\sessions.qvd (qvd);&lt;BR /&gt;STORE MyData&lt;BR /&gt;FROM sessionsINTO QVDS\incremental\sessions.qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jan 2011 16:45:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-28T16:45:17Z</dc:date>
    <item>
      <title>Overwriting data with INCREMENTAL LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191724#M53698</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 trying to do an incremental load from a SQL data warehouse to a QVD. I have the QVD with all the historical data and I run the query to the DWH extracting only the new data correctly. The problem is that when concatenating the QVD historical with the SQL new one , the new data overwrites the old one. This is my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;BR /&gt;LOAD&lt;BR /&gt; session_id;&lt;BR /&gt;SQL SELECT session_id&lt;BR /&gt;FROM dw.f_sessions&lt;BR /&gt;WHERE bot_fk='35' AND session_id &amp;gt; $(lastSessionID);&lt;BR /&gt;Concatenate&lt;BR /&gt;LOAD session_id&lt;BR /&gt;FROM QVDS\incremental\sessions.qvd (qvd);&lt;BR /&gt;STORE MyData&lt;BR /&gt;FROM sessionsINTO QVDS\incremental\sessions.qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 16:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191724#M53698</guid>
      <dc:creator />
      <dc:date>2011-01-28T16:45:17Z</dc:date>
    </item>
    <item>
      <title>Overwriting data with INCREMENTAL LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191725#M53699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;MyData:&lt;BR /&gt;LOAD&lt;BR /&gt; session_id;&lt;BR /&gt;SQL SELECT session_id&lt;BR /&gt;FROM dw.f_sessions&lt;BR /&gt;WHERE bot_fk='35' AND session_id &amp;gt; $(lastSessionID);&lt;BR /&gt;Concatenate (MyData)&lt;BR /&gt;LOAD session_id&lt;BR /&gt;FROM QVDS\incremental\sessions.qvd (qvd);&lt;BR /&gt;STORE MyData INTO QVDS\incremental\sessions.qvd;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 17:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191725#M53699</guid>
      <dc:creator />
      <dc:date>2011-01-28T17:33:27Z</dc:date>
    </item>
    <item>
      <title>Overwriting data with INCREMENTAL LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191726#M53700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Fernando, it worked &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 10:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191726#M53700</guid>
      <dc:creator />
      <dc:date>2011-01-31T10:21:13Z</dc:date>
    </item>
    <item>
      <title>Overwriting data with INCREMENTAL LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191727#M53701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Available, only select the forum discussion as resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 11:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overwriting-data-with-INCREMENTAL-LOAD/m-p/191727#M53701</guid>
      <dc:creator />
      <dc:date>2011-01-31T11:23:20Z</dc:date>
    </item>
  </channel>
</rss>

