<?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 different customers on different dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580379#M683014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just an idea&lt;/P&gt;&lt;P&gt;starting from incremental load type 2, you find it in the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) load your qvd (the one you store yesterday)&lt;/P&gt;&lt;P&gt;2) load your qvd group by customer, you need the max date for every customer&lt;/P&gt;&lt;P&gt;3) loop on resident table of step 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for every customer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; read from the db using customer and max date of customer (one select with 2 variable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store in a qvd (one qvd for all customer; this qvd has the incremental data of all customers)&lt;/P&gt;&lt;P&gt;4) append the qvd you make at step 3 to qvd read at step 1 and store it for&amp;nbsp; next reload&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 07:27:05 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-03-19T07:27:05Z</dc:date>
    <item>
      <title>incremental load different customers on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580375#M683010</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;I have one giant view which contains data for 20 customers. All these customers has a CustomerKey and a datefield and more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to millions of rows i wanna do an incremental load. But the thing is, if one customer fails the date might be earlier than the other customers dates. therefore i need to incremental load my view for each customers latest date. How can i do so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im guessing i should make some kinda loop, but how i should write i dont know? Can somebody help? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Latest Load Date Table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;LatestRunLogKey&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;LatestDateLoadFrom&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-14 12:00:00.000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Example of the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;CustomerKey&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Datefield&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ProductName&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-14 12:00:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-14 13:00:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-14 14:00:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-14 12:30:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-14 14:37:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-14 12:53:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-10 12:00:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-03-10 12:00:00.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cheese&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as you can see CustomerKey 3 data will not be loaded cause the latest last time load date was 2014-03-14 12:00:00.000 - and because customerkey 3 failede last time they did not have any data in the view. Now they do but its older than the latestdateloadfrom date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 08:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580375#M683010</guid>
      <dc:creator />
      <dc:date>2014-03-17T08:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load different customers on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580376#M683011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there really no one with any idea on how to solve this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 06:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580376#M683011</guid>
      <dc:creator />
      <dc:date>2014-03-19T06:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load different customers on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580377#M683012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;Maybe you should load Datefiled &amp;gt; LatestDateLoadForm - couple of days.&lt;/P&gt;&lt;P&gt;Or, you can extract data per months or weeks and then concatenate them, whatever it works better for your scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 07:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580377#M683012</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2014-03-19T07:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load different customers on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580378#M683013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- couple of days isnt a very good solution, so that is not a option:/ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 07:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580378#M683013</guid>
      <dc:creator />
      <dc:date>2014-03-19T07:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load different customers on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580379#M683014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just an idea&lt;/P&gt;&lt;P&gt;starting from incremental load type 2, you find it in the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) load your qvd (the one you store yesterday)&lt;/P&gt;&lt;P&gt;2) load your qvd group by customer, you need the max date for every customer&lt;/P&gt;&lt;P&gt;3) loop on resident table of step 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for every customer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; read from the db using customer and max date of customer (one select with 2 variable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store in a qvd (one qvd for all customer; this qvd has the incremental data of all customers)&lt;/P&gt;&lt;P&gt;4) append the qvd you make at step 3 to qvd read at step 1 and store it for&amp;nbsp; next reload&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 07:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580379#M683014</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-19T07:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load different customers on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580380#M683015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And to extract data into months/weeks series? &lt;/P&gt;&lt;P&gt;I can't see how to do an incremental load without and row unique id or time stamp field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info about Incremental Load &lt;A href="http://www.quickintelligence.co.uk/qlikview-incremental-load/"&gt;http://www.quickintelligence.co.uk/qlikview-incremental-load/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 07:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580380#M683015</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2014-03-19T07:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: incremental load different customers on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580381#M683016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a datefield. But nevermind ill try something else out. Thansk for the response. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-load-different-customers-on-different-dates/m-p/580381#M683016</guid>
      <dc:creator />
      <dc:date>2014-03-20T13:01:54Z</dc:date>
    </item>
  </channel>
</rss>

