<?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: Average Dynamically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676862#M245624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(Above(column(1),0,rowno()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2014 07:00:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-30T07:00:40Z</dc:date>
    <item>
      <title>Average Dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676859#M245621</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 an issue to calculate average dynamically as Cummulative average at front end&lt;/P&gt;&lt;P&gt;PFA my sample file.&lt;/P&gt;&lt;P&gt;I have Year Month as dimension and sum(APE) as expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to calculate MAPE which is average of values calculated as cummulative summation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAPE CAlculation is &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;2014-01 = average(B$2)&lt;/P&gt;&lt;P&gt;2014-02 = average(B$2:B3)&lt;/P&gt;&lt;P&gt;2014-03 = average(B$2:B4)&amp;nbsp; ........................&amp;nbsp; and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in achieving it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 362px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="164"&gt;Year&lt;BR /&gt;&amp;nbsp; Month&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="82"&gt;APE&lt;/TD&gt;&lt;TD class="xl64" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="116"&gt;&lt;SPAN style="color: #ff0000;"&gt;MAPE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2014-01&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;65.00%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;65.00%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2014-02&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;56.00%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;60.50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2014-03&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;86.00%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;69.00%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2014-04&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;99.00%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;76.50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2014-05&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;164.00%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;94.00%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2014-06&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;32.00%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;83.67%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2014-07&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;143.00%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;92.14%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 05:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676859#M245621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-30T05:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Average Dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676860#M245622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this expression to calculate running average , i tried it and its working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(RangeSum(Above(Sum(APE),0,RowNo()))/RowNo(),'#,##0.00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also attached QVW, PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676860#M245622</guid>
      <dc:creator />
      <dc:date>2014-06-30T06:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Average Dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676861#M245623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually a little simpler:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeAvg(Above(Sum(APE),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676861#M245623</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-06-30T06:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Average Dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676862#M245624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(Above(column(1),0,rowno()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 07:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Dynamically/m-p/676862#M245624</guid>
      <dc:creator />
      <dc:date>2014-06-30T07:00:40Z</dc:date>
    </item>
  </channel>
</rss>

