<?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: Incremental load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398446#M148350</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;You can maintain two saperate load files one for full load(historical data) and other for incremental(daily) load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you run full load script file in long intervals like daily,weekly and save data in qvds.In this file you need to pull data from a specific date to current date( 5 months data). And maintain thet each table should have one key filed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp; run incremental load file in small interval like per 5 minutes, per etc. and save data in qvd's. In this pull data only current date or last 2 days data based on your requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now let the view to load data from the qvd's created by incremental load file.&lt;/P&gt;&lt;P&gt;Then load data from&amp;nbsp; the qvd's created by full load file by checking the condition keyfield should not exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I attached sample files, go through them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niranjan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2012 06:52:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-03T06:52:34Z</dc:date>
    <item>
      <title>Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398444#M148348</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 have a scenario for incremental load. Please suggest me about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 5 months data. Everyday I needs to load application. Also there is chance of changing or updating records from the history i.e in 5 months of data currently.&lt;/P&gt;&lt;P&gt;So daily (before curent day's new data+last 5 months updated and history data also) needs to load these data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea or sample of incremental script. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 06:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398444#M148348</guid>
      <dc:creator />
      <dc:date>2012-12-03T06:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398445#M148349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see in HELP&lt;/P&gt;&lt;P&gt; den serch for incrementall load u ll get nice explanation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 06:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398445#M148349</guid>
      <dc:creator />
      <dc:date>2012-12-03T06:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398446#M148350</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;You can maintain two saperate load files one for full load(historical data) and other for incremental(daily) load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you run full load script file in long intervals like daily,weekly and save data in qvds.In this file you need to pull data from a specific date to current date( 5 months data). And maintain thet each table should have one key filed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp; run incremental load file in small interval like per 5 minutes, per etc. and save data in qvd's. In this pull data only current date or last 2 days data based on your requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now let the view to load data from the qvd's created by incremental load file.&lt;/P&gt;&lt;P&gt;Then load data from&amp;nbsp; the qvd's created by full load file by checking the condition keyfield should not exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I attached sample files, go through them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niranjan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 06:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398446#M148350</guid>
      <dc:creator />
      <dc:date>2012-12-03T06:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398447#M148351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;for you quick response.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;In the view.qvw which you attched , you&amp;nbsp; used the Primary Key (KEY_CUST_PROD)two times. i.e where not exists(....,....) Like below. Is there any specific meaning or typo mistake. Kindly respond.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * FROM Data_Incr.qvd (qvd);&lt;/P&gt;&lt;P&gt;LOAD * FROM Data.qvd (qvd) Where not Exists(KEY_CUST_PROD,KEY_CUST_PROD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 07:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398447#M148351</guid>
      <dc:creator />
      <dc:date>2012-12-03T07:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398448#M148352</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;That is not mistake. The purpose of using that filed is to avoid duplicate records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first I loaded incremental records then full load records. so in full load, incremental load records may exists but we don't need them as we are already loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load records only which are not loaded by incremental load file we use that filed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it is neccessary to have such filed for every table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niranjan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 07:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398448#M148352</guid>
      <dc:creator />
      <dc:date>2012-12-03T07:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398449#M148353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this whole process, We are loading new and updated records. We also need to have the history data also i.e history(before updation all tables) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 07:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398449#M148353</guid>
      <dc:creator />
      <dc:date>2012-12-03T07:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398450#M148354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niranjan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also use the single parameter form of Exists in this case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exists(KEY_CUST_PROD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is equivalent to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exists(KEY_CUST_PROD,KEY_CUST_PROD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 08:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load/m-p/398450#M148354</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-12-03T08:06:22Z</dc:date>
    </item>
  </channel>
</rss>

