<?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 Recurring aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204485#M61366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe a rangeavg(Value, peek(Value), peek(Value,-2)...)? (table must be sorted by YearMonth when calculating)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2010 19:59:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-07T19:59:35Z</dc:date>
    <item>
      <title>Recurring aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204484#M61365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Has anyone tried to do an aggregation like this:&lt;/P&gt;&lt;P&gt;Fields: Sales, YearMonth&lt;/P&gt;&lt;P&gt;Create a straight table with:&lt;/P&gt;&lt;P&gt;dimension: YearMonth&lt;/P&gt;&lt;P&gt;expression: The total average of last 12 months (for YearMonth on same row)&lt;/P&gt;&lt;P&gt;As output I expect to get, for example, the row corresponding to dimension March-2009 the expression would be the sum of Sales from April-2008 through March-2009, divided by 12&lt;/P&gt;&lt;P&gt;Is it possible at all?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 19:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204484#M61365</guid>
      <dc:creator />
      <dc:date>2010-01-07T19:13:35Z</dc:date>
    </item>
    <item>
      <title>Recurring aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204485#M61366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe a rangeavg(Value, peek(Value), peek(Value,-2)...)? (table must be sorted by YearMonth when calculating)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 19:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204485#M61366</guid>
      <dc:creator />
      <dc:date>2010-01-07T19:59:35Z</dc:date>
    </item>
    <item>
      <title>Recurring aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204486#M61367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. Isn't peek a script only function? I'm trying to do this with formulas and set analysis. With a relational DBMS is trivial but within qlikview dimensional model is quite hard, at least for me and some of my colleagues. But it would be rather useful to get it working outside the data sources.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 14:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204486#M61367</guid>
      <dc:creator />
      <dc:date>2010-01-08T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Recurring aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204487#M61368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's an expression called RangeAvg() you will want to check out. For your example, with a straight table with a dimension of YearMonth and a measure of Sales, this would be the expression for rolling 12-month averages: RangeAvg(Above(Sum(Sales),0,12))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 16:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204487#M61368</guid>
      <dc:creator>msteedle</dc:creator>
      <dc:date>2010-01-08T16:57:42Z</dc:date>
    </item>
    <item>
      <title>Recurring aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204488#M61369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it! Thanks much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 17:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Recurring-aggregation/m-p/204488#M61369</guid>
      <dc:creator />
      <dc:date>2010-01-08T17:01:02Z</dc:date>
    </item>
  </channel>
</rss>

