<?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 How to create a rolling 3 month avg. while skipping null/zero values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-rolling-3-month-avg-while-skipping-null-zero/m-p/247786#M1206378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a rolling 3 month average that skips over a null value.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Company 1 has data for Jan, March, and April but a zero value for Feb. I need the rolling avg. for April to include April,March, and Jan skipping over Feb.&lt;/P&gt;&lt;P&gt;The chart expression I am using now includes the zero Feb. value.&lt;/P&gt;&lt;P&gt;=rangeavg(before(SUM(Ext Rebate)/SUM(Ext Unit Price),0,3))&lt;/P&gt;&lt;P&gt;Thanks !&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Mar 2010 15:05:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-19T15:05:29Z</dc:date>
    <item>
      <title>How to create a rolling 3 month avg. while skipping null/zero values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-rolling-3-month-avg-while-skipping-null-zero/m-p/247786#M1206378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a rolling 3 month average that skips over a null value.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Company 1 has data for Jan, March, and April but a zero value for Feb. I need the rolling avg. for April to include April,March, and Jan skipping over Feb.&lt;/P&gt;&lt;P&gt;The chart expression I am using now includes the zero Feb. value.&lt;/P&gt;&lt;P&gt;=rangeavg(before(SUM(Ext Rebate)/SUM(Ext Unit Price),0,3))&lt;/P&gt;&lt;P&gt;Thanks !&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 15:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-rolling-3-month-avg-while-skipping-null-zero/m-p/247786#M1206378</guid>
      <dc:creator />
      <dc:date>2010-03-19T15:05:29Z</dc:date>
    </item>
  </channel>
</rss>

