<?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: Rolling 12 months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510972#M1141877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most straight forward way of producing a rolling aggregate is to use the 'Accumulation' feature found under the Expressions tab&amp;nbsp; (bottom left) of your chart.&amp;nbsp; AS can be seen in the picture below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/46420_pastedImage_0.png" style="width: 620px; height: 542px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For comparing periods in one year against a period in another year (be that one month or several) the Set Analysis feature would prove most useful.&amp;nbsp; There's plenty of useful information under help in the application, otherwise you would use a formula like the one listed below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum (&amp;nbsp;&amp;nbsp; {&amp;lt; Year = {$(#=Only(Year)-1)}&amp;gt;} } &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;or you could set up an variable to derive the previous year (and previous year -1 etc.) and the formula would read;&lt;/P&gt;&lt;P&gt;sum (&amp;nbsp;&amp;nbsp; {&amp;lt; Year = {$(#vLastYear)}&amp;gt;} &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;where vLastYear is the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 15:05:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-11T15:05:31Z</dc:date>
    <item>
      <title>Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510971#M1141876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am relatively new in Qlikview. Would appreciate your help in solving my problems:&lt;/P&gt;&lt;P&gt;1) I want to show sales for rolling 12 months in both Chart and Table? So standing in Sep'13, I want chart/table dimension to be Sep'12 to Sep'13&lt;/P&gt;&lt;P&gt;2)Also I want to compare YoY growth of my sales for last 3 months? Sep'13 vs. Sep'12 growth, Aug'13 vs. Aug'12 and July'13 vs. July'12&lt;/P&gt;&lt;P&gt;The example of my dataset:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;MONTH,SALES&lt;BR /&gt;Jan'12, 90&lt;BR /&gt;Jan'13, 100&lt;BR /&gt;Feb'12, 120&lt;BR /&gt;Feb'13, 110&lt;BR /&gt;Mar'12, 80&lt;BR /&gt;Mar'13, 90&lt;BR /&gt;Apr'12, 60&lt;BR /&gt;Apr'13, 70&lt;BR /&gt;May'12, 70&lt;BR /&gt;May'13, 60&lt;BR /&gt;Jun'12, 70&lt;BR /&gt;Jun'13, 50&lt;BR /&gt;Jul'12, 80&lt;BR /&gt;Jul'13, 90&lt;BR /&gt;Aug'12, 120&lt;BR /&gt;Aug'13, 110&lt;BR /&gt;Sep'12, 110&lt;BR /&gt;Sep'13, 100&lt;BR /&gt;Oct'12, 100&lt;BR /&gt;Nov'12, 100&lt;BR /&gt;Dec'12, 70&lt;BR /&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 14:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510971#M1141876</guid>
      <dc:creator />
      <dc:date>2013-09-11T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510972#M1141877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most straight forward way of producing a rolling aggregate is to use the 'Accumulation' feature found under the Expressions tab&amp;nbsp; (bottom left) of your chart.&amp;nbsp; AS can be seen in the picture below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/46420_pastedImage_0.png" style="width: 620px; height: 542px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For comparing periods in one year against a period in another year (be that one month or several) the Set Analysis feature would prove most useful.&amp;nbsp; There's plenty of useful information under help in the application, otherwise you would use a formula like the one listed below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum (&amp;nbsp;&amp;nbsp; {&amp;lt; Year = {$(#=Only(Year)-1)}&amp;gt;} } &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;or you could set up an variable to derive the previous year (and previous year -1 etc.) and the formula would read;&lt;/P&gt;&lt;P&gt;sum (&amp;nbsp;&amp;nbsp; {&amp;lt; Year = {$(#vLastYear)}&amp;gt;} &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;where vLastYear is the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 15:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510972#M1141877</guid>
      <dc:creator />
      <dc:date>2013-09-11T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510973#M1141878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many ways to accomplish that kind of requirement, but this post explains the most commonly used:&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 19:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510973#M1141878</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2013-09-11T19:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510974#M1141879</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;Please refer following link to achieve the Rolling 12 months in script.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/90905" title="http://community.qlik.com/thread/90905"&gt;http://community.qlik.com/thread/90905&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 20:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months/m-p/510974#M1141879</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2013-09-11T20:59:17Z</dc:date>
    </item>
  </channel>
</rss>

