<?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 Rolling 12 Months Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225240#M77573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can try something like this:&lt;/P&gt;&lt;P&gt;aggr(Rangeavg(above(sum({$&amp;lt;Year=, Month=&amp;gt; } Amount ),0,12)),Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Lasse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Dec 2010 13:58:10 GMT</pubDate>
    <dc:creator>lkallioniemi</dc:creator>
    <dc:date>2010-12-16T13:58:10Z</dc:date>
    <item>
      <title>Rolling 12 Months Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225237#M77570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I want 12 rolling months analysis with Months on the dimension. i.e.&lt;/P&gt;&lt;P&gt;Dimension Expression&lt;/P&gt;&lt;P&gt;2010 Dec Data of (2010 Dec to 2010 Jan)&lt;/P&gt;&lt;P&gt;2010 Nov Data of(2010 Nov to 2009 Dec)&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;2010 Jan Data of(2010 jan to Feb 2009)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible in front end?&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 10:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225237#M77570</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-12-16T10:55:00Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 Months Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225238#M77571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;You can try the following:&lt;/P&gt;&lt;P&gt;rangeavg(above(Sum(Amount),0,12))&lt;/P&gt;&lt;P&gt;In this example the 12 represents the number of periods, in your case months, that will be used for your calculation.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 11:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225238#M77571</guid>
      <dc:creator />
      <dc:date>2010-12-16T11:18:45Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 Months Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225239#M77572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Keller for your reply. but your formula gives the right output for the last Month only in Bar chart, because it is using the accumulation concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please try for another time?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225239#M77572</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-12-16T13:44:55Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 Months Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225240#M77573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can try something like this:&lt;/P&gt;&lt;P&gt;aggr(Rangeavg(above(sum({$&amp;lt;Year=, Month=&amp;gt; } Amount ),0,12)),Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Lasse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225240#M77573</guid>
      <dc:creator>lkallioniemi</dc:creator>
      <dc:date>2010-12-16T13:58:10Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 Months Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225241#M77574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain what the difference is between avg and rangeavg? I've tried using both and rangeavg either doesn't work for me or doesn't do what I want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 16:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225241#M77574</guid>
      <dc:creator />
      <dc:date>2010-12-16T16:47:23Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 Months Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225242#M77575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tresesco,&lt;/P&gt;&lt;P&gt;You could build it into your date routine something like this&lt;/P&gt;&lt;P&gt;FiscalCalendar:&lt;BR /&gt;LOAD FISPD,&lt;BR /&gt; FISYR,&lt;BR /&gt; [Billing Date] as [Rept Date],&lt;BR /&gt; WEDAT,&lt;BR /&gt; WKNO,&lt;BR /&gt; if([Billing Date] &amp;lt;= '$(vToday)' AND FISPD &amp;lt;= '$(vFisPd)' AND WKNO &amp;lt;= '$(vWkNo)', 1) AS YTDFlag,&lt;BR /&gt; if([Billing Date] &amp;lt;= '$(vToday)' AND FISPD = '$(vPFisPd)', 1) AS MTDFlag,&lt;BR /&gt; if([Billing Date] &amp;lt;= '$(vToday)' AND [Billing Date] &amp;gt;= '$(vPrevToday)', 1) AS RTDFlag&lt;BR /&gt;FROM [D:\Qlikview\New Sales\QVD\ZZZWEDAT (qvd)&lt;BR /&gt;where FISYR &amp;gt;= '$(vPrevYear)' and FISYR &amp;lt; '$(vYear)';&lt;/P&gt;&lt;P&gt;Then use set analysis to check your RTDFlag.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 17:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225242#M77575</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-12-16T17:47:09Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 Months Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225243#M77576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All for your inputs in this post. I have cracked it . you van have a look at what i did (for only Rolling 6 MONTHS... can be extended peek function fo 12 MONTHS or so.) :&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Raw:&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;Load&lt;/B&gt;*&lt;B&gt;Inline&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;[Claim, Status, Date,Amount&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Temp0:&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Load&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;*,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Month(Date) &lt;B&gt;as&lt;/B&gt;Month,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;MonthName(Date) &lt;B&gt;as&lt;/B&gt;MonthName,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Year(Date) &lt;B&gt;as&lt;/B&gt;Year,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;YearName(Date,4) &lt;B&gt;as&lt;/B&gt;FiscalYear&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;Resident&lt;/B&gt;Raw;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Temp:&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Load&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Sum(Amount) &lt;B&gt;as&lt;/B&gt;MonthlyAmount1,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;MonthName&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;resident&lt;/B&gt;Temp0&lt;B&gt;GroupBy&lt;/B&gt;MonthName;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Temp1:&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;//Noconcatenate&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Load&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;MonthlyAmount1&lt;B&gt;as&lt;/B&gt;MonthlyAmount,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;MonthName&lt;B&gt;as&lt;/B&gt;MonthName1&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;Resident&lt;/B&gt;Temp&lt;B&gt;OrderBy&lt;/B&gt;MonthName;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Temp2:&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Load&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;MonthlyAmount&lt;B&gt;as&lt;/B&gt;FMA,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;MonthName1&lt;B&gt;as&lt;/B&gt;FinalMonthName,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;RangeSum(MonthlyAmount,Peek('FMA'),Peek('FMA',-2),Peek('FMA',-3),Peek('FMA',-4),&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Peek('FMA',-5)) &lt;B&gt;as&lt;/B&gt;Rolling_6_Amount&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;Resident&lt;/B&gt;Temp1;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;Droptable&lt;/B&gt;&lt;I&gt;Temp0&lt;/I&gt;,&lt;I&gt;Temp&lt;/I&gt;,&lt;I&gt;Temp1;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;These repetitive Peek() could be avoided by a similar function of ABOVE() (at front end).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 07:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Analysis/m-p/225243#M77576</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-12-17T07:51:42Z</dc:date>
    </item>
  </channel>
</rss>

