<?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 Implementing Moving Average on Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Implementing-Moving-Average-on-Chart/m-p/203321#M60715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gentlemen/ladies,&lt;BR /&gt;&lt;BR /&gt;We are trying to implement moving average on chart.&lt;BR /&gt;Currently we have implemented this set analysis expression:&lt;BR /&gt; if(vol &amp;gt; 0, rangesum(above(sum({$&amp;lt;[yr] = , [yr_mth] = &amp;gt;} vol/rate),0,3)) / 3 , null())&lt;BR /&gt;&lt;BR /&gt;Dimensions on chart are [yr_mth] and sales (vol/rate).&lt;BR /&gt;"Suppress When Value Is Null" is selected&lt;BR /&gt;&lt;BR /&gt;The problem is whenever we select some [yr] and/or [yr_mth] values we get odd data filtered but chart itself is not zoomed to selected data.&lt;BR /&gt;For example, if year 2010 selected then chart shows all yr_mth members and bars are presented only for selected period.&lt;BR /&gt;&lt;BR /&gt;We'd like to have those empty months removed.&lt;BR /&gt;&lt;BR /&gt;Can we do it some way?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Whenever we change expression to&lt;BR /&gt; if(vol &amp;gt; 0, rangesum(above(sum({$&amp;lt;[yr] = &amp;gt;} vol/rate),0,3)) / 3 , null())&lt;BR /&gt;and select specific year we get chart properly filtered but result is wrong since we get average for first two months calculated with one and two data points respectivly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Qlikview version 10&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for response,&lt;BR /&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Nov 2010 14:06:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-26T14:06:12Z</dc:date>
    <item>
      <title>Implementing Moving Average on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Implementing-Moving-Average-on-Chart/m-p/203321#M60715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gentlemen/ladies,&lt;BR /&gt;&lt;BR /&gt;We are trying to implement moving average on chart.&lt;BR /&gt;Currently we have implemented this set analysis expression:&lt;BR /&gt; if(vol &amp;gt; 0, rangesum(above(sum({$&amp;lt;[yr] = , [yr_mth] = &amp;gt;} vol/rate),0,3)) / 3 , null())&lt;BR /&gt;&lt;BR /&gt;Dimensions on chart are [yr_mth] and sales (vol/rate).&lt;BR /&gt;"Suppress When Value Is Null" is selected&lt;BR /&gt;&lt;BR /&gt;The problem is whenever we select some [yr] and/or [yr_mth] values we get odd data filtered but chart itself is not zoomed to selected data.&lt;BR /&gt;For example, if year 2010 selected then chart shows all yr_mth members and bars are presented only for selected period.&lt;BR /&gt;&lt;BR /&gt;We'd like to have those empty months removed.&lt;BR /&gt;&lt;BR /&gt;Can we do it some way?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Whenever we change expression to&lt;BR /&gt; if(vol &amp;gt; 0, rangesum(above(sum({$&amp;lt;[yr] = &amp;gt;} vol/rate),0,3)) / 3 , null())&lt;BR /&gt;and select specific year we get chart properly filtered but result is wrong since we get average for first two months calculated with one and two data points respectivly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Qlikview version 10&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for response,&lt;BR /&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 14:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Implementing-Moving-Average-on-Chart/m-p/203321#M60715</guid>
      <dc:creator />
      <dc:date>2010-11-26T14:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Moving Average on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Implementing-Moving-Average-on-Chart/m-p/203322#M60716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Suppression of zero values is automatically disabled when these functions are used. NULL values are disregarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above function will disable this suppress 0 function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 14:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Implementing-Moving-Average-on-Chart/m-p/203322#M60716</guid>
      <dc:creator />
      <dc:date>2012-07-03T14:33:13Z</dc:date>
    </item>
  </channel>
</rss>

