<?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 how to accumulate data within the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202283#M60055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 09:17:29 GMT</pubDate>
    <dc:creator>david_ze</dc:creator>
    <dc:date>2011-02-15T09:17:29Z</dc:date>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202279#M60051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'd like to accumulate date during the reload do you have a sample script for this ?&lt;/P&gt;&lt;P&gt;thanks in advanced.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Feb 2011 17:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202279#M60051</guid>
      <dc:creator>david_ze</dc:creator>
      <dc:date>2011-02-05T17:58:03Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202280#M60052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To aggregate data in the load there are several ways. With each method the key points are a the aggregator - obviously (sum(Sales), count(Customers)) and the group you want to aggregate across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most simple way to begin with script aggregation is to take a simple dataset: let's say daily sales - multiple products and product groups sold over different days. A natural requirement would be to aggregate the daily sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the dataset as normal then perform a resident load against it with the aggregation expression (sum(Sales))and the Date after the Resident simply add a Group By clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DailySales:&lt;/P&gt;&lt;P&gt;Load only(Date),&lt;/P&gt;&lt;P&gt;Sum(Sales)&lt;/P&gt;&lt;P&gt;Resident SalesData Group By Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do the resident load and then left join back to the original data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Feb 2011 23:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202280#M60052</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-02-05T23:53:34Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202281#M60053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post limited data in Excel and what types of accumulation of you want ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Feb 2011 06:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202281#M60053</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-06T06:48:25Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202282#M60054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This example shows how to calculate a running total (a type of accumulation) in the load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 12:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202282#M60054</guid>
      <dc:creator>John_Teichman</dc:creator>
      <dc:date>2011-02-07T12:07:08Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202283#M60055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 09:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202283#M60055</guid>
      <dc:creator>david_ze</dc:creator>
      <dc:date>2011-02-15T09:17:29Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202284#M60056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear David,&lt;/P&gt;&lt;P&gt;can you tell me on which dimention you want to accumulate data?. Because in different different scenario we use different method of accumulation.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 17:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202284#M60056</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-15T17:12:51Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202285#M60057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sunil,&lt;/P&gt;&lt;P&gt;see an example of the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:181pt;border-collapse:collapse;" width="242"&gt;&lt;COLGROUP&gt;&lt;COL style="width:59pt;mso-width-source:userset;mso-width-alt:2528;" width="79" /&gt;&lt;COL style="width:54pt;" width="72" /&gt;&lt;COL style="width:68pt;mso-width-source:userset;mso-width-alt:2912;" width="91" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl63" height="19" style="background-color:transparent;width:59pt;height:14.25pt;border:#f0f0f0;" width="79"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;width:54pt;border:#f0f0f0;" width="72"&gt;installs&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;width:68pt;border:#f0f0f0;" width="91"&gt;accumulated&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl63" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;01/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;02/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;03/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;04/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;05/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;06/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;07/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;8&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;08/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:14.25pt;"&gt;&lt;TD class="xl64" height="19" style="background-color:transparent;height:14.25pt;border:#f0f0f0;"&gt;09/01/2011&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="background-color:transparent;border:#f0f0f0;"&gt;&lt;P&gt;33&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to creat a new field 'accumulated' (during the reload).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 18:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202285#M60057</guid>
      <dc:creator>david_ze</dc:creator>
      <dc:date>2011-02-15T18:50:33Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202286#M60058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should work as fllws:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Data:&lt;BR /&gt; LOAD&lt;BR /&gt; Date,&lt;BR /&gt; NUMSUM(installs, PEEK('installs', -1)) AS installs;&lt;BR /&gt; LOAD * INLINE [Date , installs , accumulated&lt;BR /&gt; 01/01/2011 , 5 , 5&lt;BR /&gt; 02/01/2011 , 4 , 9&lt;BR /&gt; 03/01/2011 , 2 , 11&lt;BR /&gt; 04/01/2011 , 3 , 14&lt;BR /&gt; 05/01/2011 , 2 , 16&lt;BR /&gt; 06/01/2011 , 1 , 17&lt;BR /&gt; 07/01/2011 , 8 , 25&lt;BR /&gt; 08/01/2011 , 5 , 30&lt;BR /&gt; 09/01/2011 , 3 , 33];&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202286#M60058</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-02-15T21:30:47Z</dc:date>
    </item>
    <item>
      <title>how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202287#M60059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear David,&lt;/P&gt;&lt;P&gt;peter's suggestion is perfect and if you any query reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 09:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202287#M60059</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-16T09:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to accumulate data within the script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202288#M60060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems David just flied to NASA with the solution provided by &lt;A href="https://community.qlik.com/qlik-users/4374"&gt;PETERE&lt;/A&gt;‌. He should have marked this thread answered. Awesome Peter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 04:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-accumulate-data-within-the-script/m-p/202288#M60060</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-05-27T04:34:59Z</dc:date>
    </item>
  </channel>
</rss>

