<?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 Cumulative calculation at script level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192410#M54069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the another output format in the attached spread sheet .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Sep 2010 06:52:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-08T06:52:57Z</dc:date>
    <item>
      <title>Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192409#M54068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;can you please help me in calculation of cumulative values at script lavel for a pivot table.&lt;/P&gt;&lt;P&gt;The data and output file are provided in excel sheet attached.&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GVR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 06:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192409#M54068</guid>
      <dc:creator />
      <dc:date>2010-09-08T06:26:34Z</dc:date>
    </item>
    <item>
      <title>Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192410#M54069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the another output format in the attached spread sheet .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 06:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192410#M54069</guid>
      <dc:creator />
      <dc:date>2010-09-08T06:52:57Z</dc:date>
    </item>
    <item>
      <title>Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192411#M54070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The cumulative values should not change on selection. It is a fixed value as we are going to add amount by each month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 07:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192411#M54070</guid>
      <dc:creator />
      <dc:date>2010-09-08T07:32:34Z</dc:date>
    </item>
    <item>
      <title>Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192412#M54071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Veman,&lt;/P&gt;&lt;P&gt;Using your sample data, might look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Actual:LOAD Location, Date, Amount, If(Location = Previous(Location), RangeSum(Amount, Peek('Cumulative')), Amount) AS CumulativeRESIDENT TempORDER BY Location, Date;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 08:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192412#M54071</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-08T08:39:51Z</dc:date>
    </item>
    <item>
      <title>Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192413#M54072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your response. Its working good but I need to add calender from jan 2010 to dec 2010. It is not displaying all the months.&lt;/P&gt;&lt;P&gt;when I join a calender to this the values getting duplicated.&lt;/P&gt;&lt;P&gt;Thnaks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Veman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192413#M54072</guid>
      <dc:creator />
      <dc:date>2010-09-08T10:01:31Z</dc:date>
    </item>
    <item>
      <title>Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192414#M54073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Veman,&lt;/P&gt;&lt;P&gt;If you link your table to a master calendar (&lt;A href="http://community.qlik.com/forums/t/22821.aspx" target="_blank" title="How to make a calendar?"&gt;check here&lt;/A&gt;), you don't need to replicate values. You will use your field containing Month as dimension in your chart (it will exist as month) it will display all possible values, showing 0 for those months that don't have amount.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192414#M54073</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-08T10:54:51Z</dc:date>
    </item>
    <item>
      <title>Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192415#M54074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the cumulative value for every month, you will need to create a table that has every month per location, then left join it with the data to make sure you carry the cumulative values forward.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;temp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; type,month,val&lt;BR /&gt; a, 1/3/10, 1&lt;BR /&gt; a, 1/5/10, 2&lt;BR /&gt; a, 1/7/10, 3&lt;BR /&gt; b, 1/2/10, 4&lt;BR /&gt; b, 1/4/10, 5&lt;BR /&gt; b, 1/7/10, 6&lt;BR /&gt; c, 1/2/10, 7&lt;BR /&gt; c, 1/6/10, 8&lt;BR /&gt; c, 1/7/10, 9&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;calendar:&lt;BR /&gt;load AddMonths('01/01/2010',RecNo()-1,0) as month&lt;BR /&gt;autogenerate (24);&lt;BR /&gt;temp1:&lt;BR /&gt;load distinct type resident temp;&lt;BR /&gt;inner join load month,0 as cume resident calendar ;&lt;BR /&gt;&lt;BR /&gt;temp2:&lt;BR /&gt;noconcatenate&lt;BR /&gt;load RowNo() as sortseq,* resident temp1 order by type,month;&lt;BR /&gt;left join load type,month,val resident temp&lt;BR /&gt;;&lt;BR /&gt;cume:&lt;BR /&gt;noconcatenate&lt;BR /&gt;load sortseq,type,month,val,if(peek(type)=type,RangeSum(peek(cume),val),val) as cume&lt;BR /&gt; resident temp2&lt;BR /&gt; order by sortseq&lt;BR /&gt; ;&lt;BR /&gt;&lt;BR /&gt;drop tables temp, temp1, temp2;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 12:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192415#M54074</guid>
      <dc:creator />
      <dc:date>2010-09-08T12:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192416#M54075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the solution, but it does not always give the expecting results when using multiple dimensions.&lt;/P&gt;&lt;P&gt;When selecting all dimensions the results are correct, but when not selecting dimension members, the cumulative values are incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: the cumulatation on total levels goes only if all underlying dimensions exist...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached screenshots for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26974" alt="screen01.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/26974_screen01.jpg" /&gt;&lt;IMG __jive_id="26981" alt="screen02.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/26981_screen02.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 11:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192416#M54075</guid>
      <dc:creator>georgedevries</dc:creator>
      <dc:date>2012-12-18T11:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192417#M54076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This might help you..... see the output and attached app&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CUmulative.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87636_CUmulative.PNG" style="height: auto;" /&gt; !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 08:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192417#M54076</guid>
      <dc:creator />
      <dc:date>2015-05-27T08:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192418#M54077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, would you please send me the code of that file ? Here o by email &lt;A href="mailto:alexbelfas@gmail.com"&gt;alexbelfas@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 11:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192418#M54077</guid>
      <dc:creator />
      <dc:date>2016-03-22T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation at script level</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192419#M54078</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;That wouldn't be a problem if you had asked me this 3 years ago...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Verzonden vanaf mijn Samsung-apparaat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 18:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-at-script-level/m-p/192419#M54078</guid>
      <dc:creator>georgedevries</dc:creator>
      <dc:date>2016-03-22T18:08:34Z</dc:date>
    </item>
  </channel>
</rss>

