<?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: 12 month roll in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724368#M933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/69125_Capture.PNG.png" style="width: 620px; height: 126px;" /&gt;&lt;/P&gt;&lt;P&gt;Hmm....this gives me the same as a simple SUM.&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2014 18:05:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-16T18:05:15Z</dc:date>
    <item>
      <title>12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724360#M925</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;Can anyone help me create an expression for measuring 12 rolling sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 16:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724360#M925</guid>
      <dc:creator />
      <dc:date>2014-10-14T16:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724361#M926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of a 3 month rolling average using the rangesum and above functions. Hopefully you can adapt this to you setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This article by &lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;SPAN style="color: #8b8b8b; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;is also a great resource:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724361#M926</guid>
      <dc:creator />
      <dc:date>2014-10-14T18:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724362#M927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It issue with this is that when you choose a specific month it shows the sales for that month and not the 3 month rolling avg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 19:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724362#M927</guid>
      <dc:creator />
      <dc:date>2014-10-14T19:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724363#M928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, what about ignoring the date dimension like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangeavg&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;above&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;sum&lt;SPAN class="s1"&gt;({&amp;lt;YourDateField = &amp;gt;}&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sales&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;),0,3)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 18:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724363#M928</guid>
      <dc:creator />
      <dc:date>2014-10-15T18:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724364#M929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas, try with this set analysis in your expression: Month= {"&amp;gt;=$(=max(Month)-12)&amp;lt;=$(=max(Month))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you!&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 18:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724364#M929</guid>
      <dc:creator />
      <dc:date>2014-10-15T18:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724365#M930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/69112_Capture.PNG.png" style="width: 620px; height: 28px;" /&gt;&lt;/P&gt;&lt;P&gt;I can't really ignore the date dimension since I will choose a specific month to see numbers for that month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 17:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724365#M930</guid>
      <dc:creator />
      <dc:date>2014-10-16T17:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724366#M931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangeavg(above(sum({&amp;lt;Month = &amp;gt;} Sales), 0,12))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 17:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724366#M931</guid>
      <dc:creator />
      <dc:date>2014-10-16T17:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724367#M932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a little example, I use Q (1,2,3,4) as dimension, and a simple sum with the expression given in the last post. The dimension will be filtered by the range in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rangesum.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/69120_rangesum.png" style="width: 620px; height: 327px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 17:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724367#M932</guid>
      <dc:creator />
      <dc:date>2014-10-16T17:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724368#M933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/69125_Capture.PNG.png" style="width: 620px; height: 126px;" /&gt;&lt;/P&gt;&lt;P&gt;Hmm....this gives me the same as a simple SUM.&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 18:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724368#M933</guid>
      <dc:creator />
      <dc:date>2014-10-16T18:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724369#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you need a total InvoiceQuantity of the last 12 months in a single row?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 18:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724369#M934</guid>
      <dc:creator />
      <dc:date>2014-10-16T18:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724370#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes:-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 18:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724370#M935</guid>
      <dc:creator />
      <dc:date>2014-10-16T18:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: 12 month roll</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724371#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;Not sure if you need this to be done using Set Analysis. Personally I prefer to generate aggregations like this in the script (but may be because I'm used to "the old way", before Set Analysis was even included in QlikView &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can live with generating it in the script, I attached a small example that I think you can tweak to your liking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bjorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 07:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/12-month-roll/m-p/724371#M936</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2014-10-17T07:03:31Z</dc:date>
    </item>
  </channel>
</rss>

