<?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 Which RangeSum() method is better in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Which-RangeSum-method-is-better/m-p/801831#M283052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These two formulas give the same result: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14182021883623873" jivemacro_uid="_14182021883623873"&gt;
&lt;P&gt;=RangeSum(Above(Sum(Sales),0,RowNo())) &lt;/P&gt;
&lt;P&gt;=RangeSum(Above(TotalSales),Sum(Sales)) &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;* TotalSales is a label of expression within this formula &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is which method is better and why? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2014 09:04:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-10T09:04:10Z</dc:date>
    <item>
      <title>Which RangeSum() method is better</title>
      <link>https://community.qlik.com/t5/QlikView/Which-RangeSum-method-is-better/m-p/801831#M283052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These two formulas give the same result: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14182021883623873" jivemacro_uid="_14182021883623873"&gt;
&lt;P&gt;=RangeSum(Above(Sum(Sales),0,RowNo())) &lt;/P&gt;
&lt;P&gt;=RangeSum(Above(TotalSales),Sum(Sales)) &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;* TotalSales is a label of expression within this formula &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is which method is better and why? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 09:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-RangeSum-method-is-better/m-p/801831#M283052</guid>
      <dc:creator />
      <dc:date>2014-12-10T09:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Which RangeSum() method is better</title>
      <link>https://community.qlik.com/t5/QlikView/Which-RangeSum-method-is-better/m-p/801832#M283053</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;Check explanation below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-sql" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;=RangeSum(Above(&lt;/SPAN&gt;&lt;SPAN class="func" style="font-weight: inherit; font-style: inherit; color: #ff1493; font-size: 9pt !important; background-color: inherit;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;(Sales),0,RowNo()))&amp;nbsp; &lt;STRONG&gt; - If you are accumulating from top row to current row this method is used&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;=RangeSum(Above(TotalSales),&lt;SPAN class="func" style="font-weight: inherit; font-style: inherit; color: #ff1493; font-size: 9pt !important; background-color: inherit;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;(Sales)) &lt;STRONG&gt; - If you are summing up above row and current row sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 10:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-RangeSum-method-is-better/m-p/801832#M283053</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-10T10:04:33Z</dc:date>
    </item>
  </channel>
</rss>

