<?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: accumulative sum? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901134#M1010533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do it like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Build an expression that sums your metrics up to the min value on the chart. Lets call that &lt;EM&gt;&amp;lt;expr1&amp;gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Then you need an expression that accumulates win the chart. Lets call your existing expression &lt;EM&gt;&amp;lt;expr2&amp;gt;.&lt;/EM&gt; The accumulation will be of the form:&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;RangeSum(Above(&lt;EM style="font-size: 13.3333330154419px;"&gt;&amp;lt;expr2&amp;gt;, &lt;/EM&gt;0, RowNo()))&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;So your final expression will be of the form:&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RangeSum(Above(&lt;/SPAN&gt;&lt;EM style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&amp;lt;expr2&amp;gt;, &lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;0, RowNo())) + &lt;/SPAN&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;lt;expr1&amp;gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;OR &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RangeSum(RangeSum(Above(&lt;/SPAN&gt;&lt;EM style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&amp;lt;expr2&amp;gt;, &lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;0, RowNo())), &lt;/SPAN&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;lt;expr1&amp;gt;&lt;/EM&gt;) // if expr1 could be null&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For more specific help, I suggest that you post a sample qvw file that contains the base expression (&amp;lt;expr2&amp;gt; above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 07:16:26 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-05-08T07:16:26Z</dc:date>
    <item>
      <title>accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901132#M1010531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ı want to use accumulative sum, but not from the "accumulation" option in the properties tab,&lt;/P&gt;&lt;P&gt;because when you do like that , it is not static, it calculates again when you filter the terms.&lt;/P&gt;&lt;P&gt;ı want ıt to be static. so this has to be done by expression I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can we do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 07:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901132#M1010531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-08T07:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901133#M1010532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Hi&amp;nbsp; fislant &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2787"&gt;Accumulative Sums&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 07:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901133#M1010532</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-05-08T07:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901134#M1010533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do it like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Build an expression that sums your metrics up to the min value on the chart. Lets call that &lt;EM&gt;&amp;lt;expr1&amp;gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Then you need an expression that accumulates win the chart. Lets call your existing expression &lt;EM&gt;&amp;lt;expr2&amp;gt;.&lt;/EM&gt; The accumulation will be of the form:&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;RangeSum(Above(&lt;EM style="font-size: 13.3333330154419px;"&gt;&amp;lt;expr2&amp;gt;, &lt;/EM&gt;0, RowNo()))&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;So your final expression will be of the form:&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RangeSum(Above(&lt;/SPAN&gt;&lt;EM style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&amp;lt;expr2&amp;gt;, &lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;0, RowNo())) + &lt;/SPAN&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;lt;expr1&amp;gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;OR &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RangeSum(RangeSum(Above(&lt;/SPAN&gt;&lt;EM style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&amp;lt;expr2&amp;gt;, &lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;0, RowNo())), &lt;/SPAN&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;lt;expr1&amp;gt;&lt;/EM&gt;) // if expr1 could be null&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For more specific help, I suggest that you post a sample qvw file that contains the base expression (&amp;lt;expr2&amp;gt; above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 07:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901134#M1010533</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-08T07:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901135#M1010534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jonathan thanks for your effort,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but ı have difficulties,&lt;/P&gt;&lt;P&gt;could you help about the expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my table is likte that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stock value , customer ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; term&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201401&lt;/P&gt;&lt;P&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201401&lt;/P&gt;&lt;P&gt;30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201402&lt;/P&gt;&lt;P&gt;40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201403&lt;/P&gt;&lt;P&gt;50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201404&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ı think ı have to use, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;stock value&lt;/STRONG&gt; and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;term&lt;/STRONG&gt; columns.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 10:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901135#M1010534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-08T10:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901136#M1010535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fisland92,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see if the attached is what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 14:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901136#M1010535</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-05-08T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901137#M1010536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of the above worked sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you filter it , it sums the filtered area not the total,&lt;/P&gt;&lt;P&gt;ı want the cumulative total to be static.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 12:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901137#M1010536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T12:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901138#M1010537</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;If you like it to be a static value would it perhaps be best to calculate when you run the script or using a set analysis expression to get a number that dont change upon selections. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 13:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901138#M1010537</guid>
      <dc:creator />
      <dc:date>2015-05-12T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901139#M1010538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ıt can be done with load script but anyway you can not filter the data then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ıt should be done with accumulate expression but we could not fix it, it is always dynamic when you select certain terms the sum changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 13:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901139#M1010538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T13:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901140#M1010539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to exclude the fields for which selections should impact your result from the expression.&lt;/P&gt;&lt;P&gt;For example in the expression provided by Andrew if you do not want selections in customer to impact expression result then use customer= in the set expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 9px; font-family: 'Courier New'; color: #941100;"&gt;&lt;SPAN style="color: #0433ff; font-size: 12pt;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0433ff;"&gt;Above&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0433ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({&amp;lt;&lt;/SPAN&gt;customer&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;gt;}&lt;/SPAN&gt;[stock value]&lt;SPAN style="color: #000000;"&gt;), 0, &lt;/SPAN&gt;&lt;SPAN style="color: #0433ff;"&gt;RowNo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;()))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 15:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901140#M1010539</guid>
      <dc:creator />
      <dc:date>2015-05-13T15:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: accumulative sum?</title>
      <link>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901141#M1010540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nice but it does not effect the month column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also I can not change the sort order. the formula makes ascending months cumulative but ı need descending months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 16:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulative-sum/m-p/901141#M1010540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T16:02:37Z</dc:date>
    </item>
  </channel>
</rss>

