<?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 Incremental reload policy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-reload-policy/m-p/1100752#M365246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have decide to implement an incremental policy in yearly based format, this means that we want to create one qvd file for each DB table and for each year. I have implemented one script that allows me to create QVD files with the name format "tablename_year_site".&lt;/P&gt;&lt;P&gt;As an example I have created the files FGLEDG_2011_SFR.QVD, FGLEDG_2012SFR.QVD, FGLEDG_2013_SFR.QVD, FGLEDG_2014_SFR.QVD and FGLEDG_SFR.QVD ( with the years 2015 and 2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the individual contenct of each file agaist the full table load and looks everthing fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem starts when I try to load the qvd files with the script bellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = varMinYear TO varMaxYear&lt;/P&gt;&lt;P&gt;&amp;nbsp; FGLEDG_NEW:&lt;/P&gt;&lt;P&gt;&amp;nbsp; load RecNo() as RecordNumber,EGRGDT, floor(EGRGDT/100) as mes, floor(EGRGDT/10000) as ano&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(Path)FGLEDG_$(i)$(Plant)&lt;/P&gt;&lt;P&gt;&amp;nbsp; (qvd);&lt;/P&gt;&lt;P&gt;next i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I compare the number of record by year from my incremental reload and the one from the full reload I see that in the incermental reload and for 2011 I have four times more records, in 2012 three times more record, in 2013 two times more records.&lt;/P&gt;&lt;P&gt;So I suppose that my for loop it is always making the concatenation of the full &lt;SPAN style="font-size: 13.3333px;"&gt;FGLEDG_NEW table for each interaction.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128978_QV.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use the option noconcatenate before in the load, will be created one residend table for each year and one synthetic key that I want to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one could hlep on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2016 12:13:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-23T12:13:06Z</dc:date>
    <item>
      <title>Incremental reload policy</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-reload-policy/m-p/1100752#M365246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have decide to implement an incremental policy in yearly based format, this means that we want to create one qvd file for each DB table and for each year. I have implemented one script that allows me to create QVD files with the name format "tablename_year_site".&lt;/P&gt;&lt;P&gt;As an example I have created the files FGLEDG_2011_SFR.QVD, FGLEDG_2012SFR.QVD, FGLEDG_2013_SFR.QVD, FGLEDG_2014_SFR.QVD and FGLEDG_SFR.QVD ( with the years 2015 and 2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the individual contenct of each file agaist the full table load and looks everthing fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem starts when I try to load the qvd files with the script bellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = varMinYear TO varMaxYear&lt;/P&gt;&lt;P&gt;&amp;nbsp; FGLEDG_NEW:&lt;/P&gt;&lt;P&gt;&amp;nbsp; load RecNo() as RecordNumber,EGRGDT, floor(EGRGDT/100) as mes, floor(EGRGDT/10000) as ano&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(Path)FGLEDG_$(i)$(Plant)&lt;/P&gt;&lt;P&gt;&amp;nbsp; (qvd);&lt;/P&gt;&lt;P&gt;next i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I compare the number of record by year from my incremental reload and the one from the full reload I see that in the incermental reload and for 2011 I have four times more records, in 2012 three times more record, in 2013 two times more records.&lt;/P&gt;&lt;P&gt;So I suppose that my for loop it is always making the concatenation of the full &lt;SPAN style="font-size: 13.3333px;"&gt;FGLEDG_NEW table for each interaction.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128978_QV.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use the option noconcatenate before in the load, will be created one residend table for each year and one synthetic key that I want to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one could hlep on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 12:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-reload-policy/m-p/1100752#M365246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-23T12:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental reload policy</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-reload-policy/m-p/1100753#M365247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was found in teh QVD and not in the load as I was supposing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 07:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-reload-policy/m-p/1100753#M365247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T07:44:25Z</dc:date>
    </item>
  </channel>
</rss>

