<?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: moving average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617298#M479362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add firstsortedvalue function in the expression based on x axis instead of rangemax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 15:52:34 GMT</pubDate>
    <dc:creator>giakoum</dc:creator>
    <dc:date>2014-02-06T15:52:34Z</dc:date>
    <item>
      <title>moving average</title>
      <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617295#M479359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo QV Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the following formula in the chart for accounting the moving average:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangesum(above(Y,0,Row())/Row() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="mAvg.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/52706_mAvg.png" style="width: 620px; height: 359px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility to export the last value (=9) of the Rangesum formula to a textbox?&lt;/P&gt;&lt;P&gt;I tried to use the Rangesum formula within a textbox but it doesnt work for specific month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why i want to get this value to a textbox is because i need the value exported per macro to a powerpoint&lt;/P&gt;&lt;P&gt;document as picture or&amp;nbsp; as object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/moving-average/m-p/617295#M479359</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2014-02-06T15:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: moving average</title>
      <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617296#M479360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to aggregate over y and take the max, something like :&lt;/P&gt;&lt;P&gt;Rangemax(aggr(rangesum(above(y,0,Rowno())), y)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/moving-average/m-p/617296#M479360</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-02-06T15:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: moving average</title>
      <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617297#M479361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for your tip. the following formula works for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(aggr(rangesum(above(y,0,Rowno()))/RowNo(), y))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if the actual value is not the max value? then the value will not be shown in the textbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/moving-average/m-p/617297#M479361</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2014-02-06T15:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: moving average</title>
      <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617298#M479362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add firstsortedvalue function in the expression based on x axis instead of rangemax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/moving-average/m-p/617298#M479362</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-02-06T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: moving average</title>
      <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617299#M479363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, now i have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(aggr(rangesum(above(y,0,Rowno()))/RowNo(),y),x)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that gives me the firstvalue (=3), but i need the last value (=9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what a pitty that there is no lastsortedvalue function in QV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 16:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/moving-average/m-p/617299#M479363</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2014-02-06T16:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: moving average</title>
      <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617300#M479364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FirstSortedValue(aggr(rangesum(above(y,0,Rowno()))/RowNo(),y), &lt;STRONG&gt;-x&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 08:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/moving-average/m-p/617300#M479364</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-02-07T08:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: moving average</title>
      <link>https://community.qlik.com/t5/QlikView/moving-average/m-p/617301#M479365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u very much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 09:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/moving-average/m-p/617301#M479365</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2014-02-07T09:10:14Z</dc:date>
    </item>
  </channel>
</rss>

