<?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 Solved in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Solved/m-p/937978#M956689</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 the following table with fields &lt;STRONG&gt;PERIOD&lt;/STRONG&gt; and &lt;STRONG&gt;AMOUNT&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 320px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl74" height="21" width="80"&gt;&lt;STRONG&gt;PERIOD&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl75" style="border-left: none;" width="80"&gt;&lt;STRONG&gt;AMOUNT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;&lt;STRONG&gt;ACUM&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;&lt;STRONG&gt;OP&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl77" height="20"&gt;201301&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-left: none;"&gt;448&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;448&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;448&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201302&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;390&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;838&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;419&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201303&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;499&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1337&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;445,666667&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201304&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;153&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1490&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;372,5&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201305&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;460&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1950&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;390&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201306&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;336&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2286&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;381&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201307&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;333&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2619&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;374,142857&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201308&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;429&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3048&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;381&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201309&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;346&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3394&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;377,111111&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201310&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3416&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;341,6&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201311&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3427&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;311,545455&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl80" height="21" style="border-top: none;"&gt;201312&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-top: none; border-left: none;"&gt;356&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3783&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;315,25&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl82" height="20" style="border-top: none;"&gt;201401&lt;/TD&gt;&lt;TD align="right" class="xl83" style="border-top: none; border-left: none;"&gt;148&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;148&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;148&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201402&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;184&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;332&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;166&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201403&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;356&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;688&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;229,333333&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201404&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;245&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;933&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;233,25&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201405&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;34&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;967&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;193,4&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201406&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;324&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1291&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;215,166667&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201407&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1591&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;227,285714&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201408&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;332&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1923&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;240,375&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201409&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;259&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2182&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;242,444444&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201410&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;459&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2641&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;264,1&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201411&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;481&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3122&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;283,818182&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl80" height="21" style="border-top: none;"&gt;201412&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-top: none; border-left: none;"&gt;31&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3153&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;262,75&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl82" height="20" style="border-top: none;"&gt;201501&lt;/TD&gt;&lt;TD align="right" class="xl83" style="border-top: none; border-left: none;"&gt;306&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;306&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;306&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201502&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;98&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;404&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;202&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201503&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;373&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;777&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;259&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201504&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;176&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;953&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;238,25&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl80" height="21" style="border-top: none;"&gt;201505&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-top: none; border-left: none;"&gt;320&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1273&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;254,6&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the fields &lt;STRONG&gt;ACUM&lt;/STRONG&gt; and &lt;STRONG&gt;OP&lt;/STRONG&gt; by script where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;ACUM&lt;/STRONG&gt;&lt;/SPAN&gt; for 201301 is 448, ACUM for 201302 is 448+390=&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;838&lt;/STRONG&gt;&lt;/SPAN&gt;, ACUM for 201303 is 448+390+499=&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;1337&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;OP&lt;/STRONG&gt;&lt;/SPAN&gt; for 2013&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;01&lt;/STRONG&gt;&lt;/SPAN&gt; is 448/&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;01&lt;/STRONG&gt;&lt;/SPAN&gt;, OP for 2013&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;02&lt;/STRONG&gt;&lt;/SPAN&gt; is 838/&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;02&lt;/STRONG&gt;&lt;/SPAN&gt;, OP for 2013&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;03&lt;/STRONG&gt;&lt;/SPAN&gt; is 1337/&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;03&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how could I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2015 18:17:56 GMT</pubDate>
    <dc:creator>microwin88x</dc:creator>
    <dc:date>2015-11-04T18:17:56Z</dc:date>
    <item>
      <title>Solved</title>
      <link>https://community.qlik.com/t5/QlikView/Solved/m-p/937978#M956689</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 the following table with fields &lt;STRONG&gt;PERIOD&lt;/STRONG&gt; and &lt;STRONG&gt;AMOUNT&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 320px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl74" height="21" width="80"&gt;&lt;STRONG&gt;PERIOD&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl75" style="border-left: none;" width="80"&gt;&lt;STRONG&gt;AMOUNT&lt;/STRONG&gt;&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;&lt;STRONG&gt;ACUM&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;&lt;STRONG&gt;OP&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl77" height="20"&gt;201301&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-left: none;"&gt;448&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;448&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;448&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201302&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;390&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;838&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;419&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201303&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;499&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1337&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;445,666667&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201304&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;153&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1490&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;372,5&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201305&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;460&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1950&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;390&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201306&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;336&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2286&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;381&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201307&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;333&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2619&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;374,142857&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201308&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;429&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3048&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;381&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201309&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;346&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3394&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;377,111111&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201310&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3416&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;341,6&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201311&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3427&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;311,545455&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl80" height="21" style="border-top: none;"&gt;201312&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-top: none; border-left: none;"&gt;356&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3783&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;315,25&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl82" height="20" style="border-top: none;"&gt;201401&lt;/TD&gt;&lt;TD align="right" class="xl83" style="border-top: none; border-left: none;"&gt;148&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;148&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;148&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201402&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;184&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;332&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;166&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201403&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;356&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;688&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;229,333333&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201404&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;245&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;933&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;233,25&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201405&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;34&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;967&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;193,4&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201406&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;324&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1291&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;215,166667&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201407&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1591&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;227,285714&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201408&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;332&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1923&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;240,375&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201409&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;259&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2182&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;242,444444&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201410&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;459&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;2641&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;264,1&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201411&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;481&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3122&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;283,818182&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl80" height="21" style="border-top: none;"&gt;201412&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-top: none; border-left: none;"&gt;31&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;3153&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;262,75&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl82" height="20" style="border-top: none;"&gt;201501&lt;/TD&gt;&lt;TD align="right" class="xl83" style="border-top: none; border-left: none;"&gt;306&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;306&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;306&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201502&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;98&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;404&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;202&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201503&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;373&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;777&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;259&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="20" style="border-top: none;"&gt;201504&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;176&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;953&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;238,25&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl80" height="21" style="border-top: none;"&gt;201505&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-top: none; border-left: none;"&gt;320&lt;/TD&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;1273&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #808080;"&gt;254,6&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the fields &lt;STRONG&gt;ACUM&lt;/STRONG&gt; and &lt;STRONG&gt;OP&lt;/STRONG&gt; by script where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;ACUM&lt;/STRONG&gt;&lt;/SPAN&gt; for 201301 is 448, ACUM for 201302 is 448+390=&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;838&lt;/STRONG&gt;&lt;/SPAN&gt;, ACUM for 201303 is 448+390+499=&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;1337&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;OP&lt;/STRONG&gt;&lt;/SPAN&gt; for 2013&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;01&lt;/STRONG&gt;&lt;/SPAN&gt; is 448/&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;01&lt;/STRONG&gt;&lt;/SPAN&gt;, OP for 2013&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;02&lt;/STRONG&gt;&lt;/SPAN&gt; is 838/&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;02&lt;/STRONG&gt;&lt;/SPAN&gt;, OP for 2013&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;03&lt;/STRONG&gt;&lt;/SPAN&gt; is 1337/&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;03&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how could I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 18:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Solved/m-p/937978#M956689</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2015-11-04T18:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate ACUM from Other Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Solved/m-p/937979#M956690</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;RangeSum(Above(TOTAL Sum(PERIOD), 0, RowNo(TOTAL)))/sum(total AMOUNT)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;RangeSum(Above(TOTAL Sum(PERIOD), 0, RowNo(TOTAL)))/sum(total PERIOD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 18:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Solved/m-p/937979#M956690</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-11-04T18:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate ACUM from Other Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Solved/m-p/937980#M956692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; YEAR(PERIOD) as YEAR,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Num(Month(PERIOD)) as MONTH;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date#(PERIOD, 'YYYYMM') as PERIOD, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2003" data-containertype="14" data-objectid="190352" data-objecttype="1" href="https://community.qlik.com/thread/190352"&gt;https://community.qlik.com/thread/190352&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ACUM/MONTH as OP;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(YEAR = Peek('YEAR'), RangeSum(PEEK('ACUM'), AMOUNT), AMOUNT) as ACUM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103953_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 18:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Solved/m-p/937980#M956692</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-04T18:24:05Z</dc:date>
    </item>
  </channel>
</rss>

