<?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: Rangesum across the current row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442444#M1152168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the very quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are correct from the results I had. However, the help file explicitly says :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"rangesum (above(count(x),-1,3))" returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this incorrect or am I reading it wrong?&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2013 13:34:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-05T13:34:51Z</dc:date>
    <item>
      <title>Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442439#M1152163</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'm trying to get the sum of three values (1 row above+current row+1 row below) in a simple one dimensioned chart, as below. For row 7 in the example below, I'd want to sum the values 2+3+5 and I'd assumed the function rangesum(above(Yaxis,-1,3)) would do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="42168" alt="rangesum.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/42168_rangesum.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: derekj&#xD;
The help file shows...&#xD;
"rangesum (above(count(x),-1,3))" &#xD;
returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442439#M1152163</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442440#M1152164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above can only reference cells above or below, not both at once. You want to combine it with Below: rangesum(above(Yaxis),Yaxis,below(Yaxis))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442440#M1152164</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-05T13:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442441#M1152165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/DIV&gt;&lt;DIV&gt; &lt;EM&gt;The help file shows...&amp;nbsp; "rangesum (above(count(x),-1,3))"&amp;nbsp;&amp;nbsp; returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;That's not what my QV HELP shows. Instead, it's telling me that a negative second argument to above() turns the function effectively into a below() function. That's what you see.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Go with Gysbert's recommendation instead.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;edit:&lt;/DIV&gt;&lt;DIV&gt;&lt;P style="color: #808080;"&gt;&lt;SPAN class="PrimaryQVRelease"&gt;QlikView 11.2&lt;/SPAN&gt;, &lt;SPAN class="PrimaryQVVersion"&gt;11643&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442441#M1152165</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-05T13:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442442#M1152166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the very quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are correct from the results I had. However, the help file explicitly says :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"rangesum (above(count(x),-1,3)) returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this incorrect or am I reading it wrong?&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442442#M1152166</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442443#M1152167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the very quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are correct from the results I had. However, the help file explicitly says :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"rangesum (above(count(x),-1,3))" returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this incorrect or am I reading it wrong?&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442443#M1152167</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442444#M1152168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the very quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are correct from the results I had. However, the help file explicitly says :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"rangesum (above(count(x),-1,3))" returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this incorrect or am I reading it wrong?&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442444#M1152168</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442445#M1152169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the very quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are correct from the results I had. However, as I added above, the help file explicitly says :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this incorrect or am I reading it wrong?&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442445#M1152169</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442446#M1152170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the very quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are correct from the results I had. However, the help file explicitly says...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"rangesum (above(count(x),-1,3))" returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this incorrect or am I reading it wrong?&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442446#M1152170</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum across the current row</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442447#M1152171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the very quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are correct from the results I had. However, the help file explicitly says...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"rangesum (above(count(x),-1,3))" returns the sum of the three results of the count(x) function evaluated on the row below the current row, the current row and the row above the current row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this incorrect or am I reading it wrong?&lt;/P&gt;&lt;P&gt;DerekJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-across-the-current-row/m-p/442447#M1152171</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:38:21Z</dc:date>
    </item>
  </channel>
</rss>

