<?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: Range Sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451844#M168611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I have already read this and understand.But still i don't get my answer as per my question.So could you tell me according to my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 07:29:21 GMT</pubDate>
    <dc:creator>narender123</dc:creator>
    <dc:date>2013-05-13T07:29:21Z</dc:date>
    <item>
      <title>Range Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451842#M168609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Could anybody tell me the range sum fuction.I dont know about it.when should we have to use it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;RangeSum(Above(Sum(Amount),0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;RangeSum(Above(Sum(Amount),-1,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;RangeSum(Above(Sum(Amount),1,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 07:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451842#M168609</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-05-13T07:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Range Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451843#M168610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best place to learn the basics is HELP which says:&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13684293749047512" jivemacro_uid="_13684293749047512"&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor363"&gt;&lt;/A&gt;&lt;A name="Ch_rangesum"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;rangesum(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;expr1 [ , expr2, ... exprN ]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the sum of a range of 1 to N arguments. As opposed to the &lt;SPAN style="font-size: 11pt; font-weight: bold;"&gt;+&lt;/SPAN&gt; operator, &lt;SPAN class="Bold"&gt;rangesum&lt;/SPAN&gt; will treat all non-numeric values as 0. &lt;/P&gt;&lt;P&gt;The argument expressions of this function may contain &lt;A class="MCXref_0" href="http://mce_host/mk:@MSITStoreC\Program%20Files\QlikView\English.chm::"&gt;&lt;EM&gt;Chart Inter Record Functions&lt;/EM&gt;&lt;/A&gt; with a third optional parameter, which in themselves return a range of values. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;rangesum (1,2,4)&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;returns 7&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;rangesum (1,'xyz')&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;returns 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;rangesum (null( ))&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;returns 0&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;rangesum (above(count(x),-1,3))&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;returns the sum of the three results of the &lt;SPAN class="Bold"&gt;count(x)&lt;/SPAN&gt; function evaluated on the row below the current row, the current row and the row above the current row. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try a bit to play yourself with it. the concept will get clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 07:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451843#M168610</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-05-13T07:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Range Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451844#M168611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I have already read this and understand.But still i don't get my answer as per my question.So could you tell me according to my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 07:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451844#M168611</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-05-13T07:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Range Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451845#M168612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;from helps you know the concept of rangesum its clear to you&lt;/P&gt;&lt;P&gt;nw in this 3 expression let me tell you one by one&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;RangeSum(Above(Sum(Amount),0,RowNo()))--- In this your accumulation starts from ist value which it writes as it is. because you write the 0 for that value and then for others vlue in row it accumulates&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;RangeSum(Above(Sum(Amount),1,RowNo()))-- in this your commulative starts from 2nd row and it will make first row as zero i hav attached sample file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;RangeSum(Above(Sum(Amount),-1,RowNo()))- in this case it pick up 2nd value for accumlation means takes two values to be accumulated in my example first it take 20 then 20+30 acc. to condition and add 20 bove gives 70 then it gives you then it takes 70 accumulate then 30 and 50 gives you 150&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;and then gives 110 because of adding 50 and 60 and then 60 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;hope it helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 07:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451845#M168612</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-05-13T07:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Range Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451846#M168613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mohit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 09:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451846#M168613</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-05-13T09:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Range Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451847#M168614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck in the same scenario which you have stated. I am still having a problem after applying this expression because i have multiple dimensions in a straight table. What should i need to do in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to implement that if the user input the budget in the input box. The&amp;nbsp; straight table should show the rows till the time it reaches the Sum(Bugdet) &amp;lt;= VBudget. In other words may be i need the running total till the condition reaches. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If have written the set expression with if statement i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(RangeSum( Above(TOTAL Sum([Rate]/2) , 0 , RowNo(TOTAL))) &amp;lt;= VBudget ,Num(Sum([Rate]/2),'#,##0'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after writing this expression, the dashboard is stuck. There may be an issue with the sorting technique.Your help would be highly appreciated in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshots attached.&lt;IMG alt="Exp Not Working.png" class="jive-image image-1" src="/legacyfs/online/199957_Exp Not Working.png" style="height: 194px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 05:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Sum/m-p/451847#M168614</guid>
      <dc:creator>owais_sarwar</dc:creator>
      <dc:date>2018-04-18T05:04:25Z</dc:date>
    </item>
  </channel>
</rss>

