<?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: Rolling average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/881175#M307465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(RowNo() &amp;gt; 2, rangeavg(above(sum(sales),0,3)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86825_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 16:55:12 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-18T16:55:12Z</dc:date>
    <item>
      <title>Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/881174#M307464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used below function for calculating rolling average for 3 consecutive rows&lt;/P&gt;&lt;P&gt;but my requirement is first 2 rows should be blank and average of 3 rows should be start from second row onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similiarly if i input 4 first three rows should be blank and&amp;nbsp; average should displayed from fourth row onwards.&lt;/P&gt;&lt;P&gt;rangeavg(above(sum(sales),0,3))&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;Please suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 16:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/881174#M307464</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2015-05-18T16:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/881175#M307465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(RowNo() &amp;gt; 2, rangeavg(above(sum(sales),0,3)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86825_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 16:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/881175#M307465</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-18T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/881176#M307466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The RowNo() function should help you :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( rowno() &amp;gt; 2 , rangeavg(above(sum(sales),0,3)) )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 16:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/881176#M307466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T16:56:06Z</dc:date>
    </item>
  </channel>
</rss>

