<?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: RangeAvg expresison syntax question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeAvg-expresison-syntax-question/m-p/957152#M328805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second parameter is an offset. 0 means include the current row (offset of 0). 1 would include everything in Above, except the current row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2015 12:03:01 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-09-02T12:03:01Z</dc:date>
    <item>
      <title>RangeAvg expresison syntax question</title>
      <link>https://community.qlik.com/t5/QlikView/RangeAvg-expresison-syntax-question/m-p/957151#M328804</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 have the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(Above(Sum(LineSalesAmount),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used in the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="97724" alt="Capture.JPG" class="jive-image image-1" height="108" src="https://community.qlik.com/legacyfs/online/97724_Capture.JPG" style="height: 108.321px; width: 622px;" width="622" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please explain to me what the 0 does as the above expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea of this expression is to show the average of all the rows until the current row. But I do not understand what the zero does &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 11:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeAvg-expresison-syntax-question/m-p/957151#M328804</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-09-02T11:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: RangeAvg expresison syntax question</title>
      <link>https://community.qlik.com/t5/QlikView/RangeAvg-expresison-syntax-question/m-p/957152#M328805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second parameter is an offset. 0 means include the current row (offset of 0). 1 would include everything in Above, except the current row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 12:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeAvg-expresison-syntax-question/m-p/957152#M328805</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-02T12:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: RangeAvg expresison syntax question</title>
      <link>https://community.qlik.com/t5/QlikView/RangeAvg-expresison-syntax-question/m-p/957153#M328806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonthan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I realised it's part of the Above function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the RowNo() function do as part of that? Sorry the expression is not something I am familiar with so trying to understand &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 12:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeAvg-expresison-syntax-question/m-p/957153#M328806</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-09-02T12:07:14Z</dc:date>
    </item>
  </channel>
</rss>

