<?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 Load Scenario:Monthly Stacked QVDs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315954#M116568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why is it incorrect? the inner joins there handles deleted data. the table that i loaded there is just for example purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2012 00:07:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-31T00:07:06Z</dc:date>
    <item>
      <title>Incremental Load Scenario:Monthly Stacked QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315949#M116563</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 just wanna ask how to perform this kind of scenario in Incremental Load: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="IncLoad.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/10769_IncLoad.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Attached is the one that I followed in creating Incremental Load (Thanks to Mr. &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user" href="https://community.qlik.com/people/robwunderlich" style="background-color: #f1f1f1; font-size: 12px; color: #007fc0; font-family: Arial;"&gt;&lt;IMG alt="Rob Wunderlich" border="0" class="jive-avatar" height="22" src="http://community.qlik.com/people/robwunderlich/avatar/22.png?a=1224" style="background-color: #ffffff; border-style: initial; border-color: initial; border-collapse: collapse; margin-right: 6px; float: left; padding: 2px;" width="22" /&gt;&lt;/A&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #f1f1f1;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #f1f1f1; font-size: 12px; margin-top: 5px; float: left; color: #636363; font-family: Arial;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/robwunderlich" id="jive-228616320646958301273" style="color: #007fc0;"&gt;Rob Wunderlich&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; and his QV cookbook)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 02:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315949#M116563</guid>
      <dc:creator />
      <dc:date>2012-01-30T02:30:43Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Scenario:Monthly Stacked QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315950#M116564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;up!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 05:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315950#M116564</guid>
      <dc:creator />
      <dc:date>2012-01-30T05:11:30Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Scenario:Monthly Stacked QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315951#M116565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's not really a remarkable difference when loading the the separate QVDs into the QVW over loading a huge single one. When it is about grabbing SQL data, incremental load it is a large time saver. Of course its much more time saving to load the last day or month and store it into a QVD file than it would be loading the whole data table on every reload - assuming a large data table in sql&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 09:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315951#M116565</guid>
      <dc:creator />
      <dc:date>2012-01-30T09:59:41Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Scenario:Monthly Stacked QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315952#M116566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir, your answer didn't help me at all..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 13:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315952#M116566</guid>
      <dc:creator />
      <dc:date>2012-01-30T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Scenario:Monthly Stacked QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315953#M116567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry, i completely misread your question and thought you'd ask for the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked your demo file and it seems correct except the inner join statement in the Incremental Load tab and the table tab seems to be futile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 13:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315953#M116567</guid>
      <dc:creator />
      <dc:date>2012-01-30T13:32:40Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Scenario:Monthly Stacked QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315954#M116568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why is it incorrect? the inner joins there handles deleted data. the table that i loaded there is just for example purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 00:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315954#M116568</guid>
      <dc:creator />
      <dc:date>2012-01-31T00:07:06Z</dc:date>
    </item>
    <item>
      <title>Incremental Load Scenario:Monthly Stacked QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315955#M116569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah ok, because of my own practice i did not expect a sql table where data gets completely deleted. We got state flags. In your case this is of course correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to store the QVDs per month you have to split the loaded data. If not just ignore the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthTable:&lt;/P&gt;&lt;P&gt;load year(dss_update_time)&amp;amp;num(Month(dss_update_time),00) as UserMonth,&lt;/P&gt;&lt;P&gt;sum(1) as FlagField&lt;/P&gt;&lt;P&gt;resident $(vTableName)&lt;/P&gt;&lt;P&gt;group by year(dss_update_time)&amp;amp;num(Month(dss_update_time),00);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=0 to NoOfRows('UserMonth')-1&lt;/P&gt;&lt;P&gt;let vUserMonth = peek('UserMonth', $(i), UserMonth);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPerMonth:&lt;/P&gt;&lt;P&gt;Noconcatenate load *&lt;/P&gt;&lt;P&gt;resident $(vTableName)&lt;/P&gt;&lt;P&gt;where year(dss_update_time)&amp;amp;num(Month(dss_update_time),00) = '$(vUserMonth)'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(FileSize('$(vQvdPath)' &amp;amp; '$(vQvdName)'&amp;amp;'$(vUserMonth)') &amp;gt; 0, -1, 0);&lt;/P&gt;&lt;P&gt;Concatenate(UserPerMonth)&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;From $(vQvdPath)$(vQvdName)$(vUserMonth) (qvd)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where not Exists($(vPK));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Join Statement---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store UserPerMonth into $(vQvdPath)$(vQvdName)$(vUserMonth);&lt;/P&gt;&lt;P&gt;drop table UserPerMonth;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table $(vTableName);&lt;/P&gt;&lt;P&gt;drop table MonthTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please disregard any syntax errors &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 08:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Scenario-Monthly-Stacked-QVDs/m-p/315955#M116569</guid>
      <dc:creator />
      <dc:date>2012-01-31T08:31:14Z</dc:date>
    </item>
  </channel>
</rss>

