<?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 sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294720#M109355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be resolved by an if condition in the expression. Please check the expression of Graph2 in attached QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2011 13:59:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-03T13:59:57Z</dc:date>
    <item>
      <title>Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294709#M109344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have explained the isssue in the attached QV file. Please refer to this. This is about calculating rolling 12 months sum.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 08:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294709#M109344</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-11-03T08:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294710#M109345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;may be this example can help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 08:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294710#M109345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-03T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294711#M109346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls try this in your expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum({$&amp;lt;Year={$(=max(Year))}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 09:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294711#M109346</guid>
      <dc:creator />
      <dc:date>2011-11-03T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294712#M109347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; HI Alfasierra,&lt;/P&gt;&lt;P&gt;Thx fr ur time.... but this solution doesnt work as per my requirement. I need to show the sum for last 12 months under for any case. So under Jan 2011, the value i should get is 47408(as per your qvw) and this is the sum from Feb 2010-Jan 2011. This way I want ti display for all the months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 09:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294712#M109347</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-11-03T09:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294713#M109348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need some bit of change in your data load. The reason being, you need a datestamp. The change you need is like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Months:&lt;BR /&gt;mapping LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month, MonthN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, 3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr, 4&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; May, 5&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jun, 6&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jul, 7&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aug, 8&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sep, 9&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Oct, 10&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nov, 11&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dec, 12&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;b:&lt;BR /&gt;Load *,&lt;BR /&gt;&amp;nbsp; Month&amp;amp;' ' &amp;amp;Year as MonthYear,&lt;BR /&gt;&amp;nbsp; MakeDate(Year,ApplyMap('Months',Month),1) as Period&lt;BR /&gt;Resident a;&lt;BR /&gt;Drop table a; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use the below expression for 12 month rolled sum of sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(Sum({$&amp;lt;Year=, Month= {'&amp;gt;$(=MonthStart(Max(Period),-12,0))&amp;lt;=$(=MonthStart(Max(Period),0,0))'}&amp;gt;} Sales),0,12))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are okay for including some changes to your loading then you can create a rolling period like below and use the RollingPeriod as your dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RollingMonths:&lt;/P&gt;&lt;P&gt;load Period, Period as RollingPeriod, year(Period) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,1,1) as RollingPeriod, year(Addmonths(Period,1,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,2,1) as RollingPeriod, year(Addmonths(Period,2,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,3,1) as RollingPeriod, year(Addmonths(Period,3,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,4,1) as RollingPeriod, year(Addmonths(Period,4,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,5,1) as RollingPeriod, year(Addmonths(Period,5,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,6,1) as RollingPeriod, year(Addmonths(Period,6,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,7,1) as RollingPeriod, year(Addmonths(Period,7,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,8,1) as RollingPeriod, year(Addmonths(Period,8,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,9,1) as RollingPeriod, year(Addmonths(Period,9,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,10,1) as RollingPeriod, year(Addmonths(Period,10,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;load Period, Addmonths(Period,11,1) as RollingPeriod, year(Addmonths(Period,11,1)) as RollingYear Resident b;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 10:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294713#M109348</guid>
      <dc:creator />
      <dc:date>2011-11-03T10:29:26Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294714#M109349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; HI Sanjeevan...Thanks but still its not working. If possible can you attach the working example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 11:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294714#M109349</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-11-03T11:08:15Z</dc:date>
    </item>
    <item>
      <title>Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294715#M109350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you attach your modified QV?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 11:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294715#M109350</guid>
      <dc:creator />
      <dc:date>2011-11-03T11:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294716#M109351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sanjeevan,&lt;/P&gt;&lt;P&gt;I have attached the file. You can see that its not fetching any values in the bars.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 11:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294716#M109351</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-11-03T11:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294717#M109352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The value shown against each month in dimension should be the sum of previous 12 month. Suppose we are seeing the data for Mar 2011. In that case, The value for Bar should display sum of all the values from Apr 2010 to Mar 2011. This should be happening for each and every month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 13:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294717#M109352</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-11-03T13:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294718#M109353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I got busy with something, it took a while to respond. Please check it now and let me know immediately since I am having a holiday for next 5 days in Dubai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is showing the figures that way only. It doesn't add the previous 11 months if you select the year in list box. In order to resolve such issue you need to create the rolling periods in a different table as I suggested earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the modified QV with rolling periods created in a separate table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the dimension and the expression I have used in graph 2. This will add the previous 11 months even if you select the year from the list box since I have created the rolling period table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at it and let me know whether this meets your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 13:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294718#M109353</guid>
      <dc:creator />
      <dc:date>2011-11-03T13:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294719#M109354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thx Sajeevan. You almost got it. It is all fine if I just select the Year. But If I am selecting Month as well, the graph is showing me all the bars till that month which should not be the case. In this case it should show only one month which is selected.&lt;/P&gt;&lt;P&gt;e.g. If I select yesr 2011 and Month as Mar, I am getting 3 bars (for jan ,feb and march) but it should show only one bar for March&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 13:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294719#M109354</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-11-03T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294720#M109355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be resolved by an if condition in the expression. Please check the expression of Graph2 in attached QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 13:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294720#M109355</guid>
      <dc:creator />
      <dc:date>2011-11-03T13:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294721#M109356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow...That works like charm.... Many thanks for your awsome solution.&lt;/P&gt;&lt;P&gt;Have a nice long Week and enjoy... &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;Thanks again. &lt;/P&gt;&lt;P&gt;Cheers.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 14:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294721#M109356</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-11-03T14:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294722#M109357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sajeevan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just recently started using Qlikview and have a silimiar issue to what you describe here. I have posted my query but had no response yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I need to sum values by year and month over a 12 month period.So for example I have data for June 2012 and I want to sum this value and&amp;nbsp; the previous 11 months (so going back to July 2011). Can you tell me the best way how I can go about achieving this? I just have a list of default set statements for the date etc followed by a load statement. the data goes back to Jan 2008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used your code here but it does not seem to work for me.&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;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294722#M109357</guid>
      <dc:creator />
      <dc:date>2012-09-25T11:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294723#M109358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sajeevan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just recently started using Qlikview and have a silimiar issue to what you describe here. I have posted my query but had no response yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I need to sum values by year and month over a 12 month period.So for example I have data for June 2012 and I want to sum this value and&amp;nbsp; the previous 11 months (so going back to July 2011). Can you tell me the best way how I can go about achieving this? I just have a list of default set statements for the date etc followed by a load statement. the data goes back to Jan 2008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used your code here but it does not seem to work for me.&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;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294723#M109358</guid>
      <dc:creator />
      <dc:date>2012-09-25T11:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294724#M109359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach your sample QV file? I can then let you know what changes you need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294724#M109359</guid>
      <dc:creator />
      <dc:date>2012-09-25T11:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294725#M109360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have license version hence it will not be an issue in opening your file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please name the table as Data1: prior to your current load statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you need to create another table for the rolling period like below to get the 12 month rolling, Use the RollingPeriod as your dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RollingMonths:&lt;BR /&gt;load Period, Period as RollingPeriod, year(Period) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,1,1) as RollingPeriod, year(Addmonths(Period,1,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,2,1) as RollingPeriod, year(Addmonths(Period,2,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,3,1) as RollingPeriod, year(Addmonths(Period,3,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,4,1) as RollingPeriod, year(Addmonths(Period,4,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,5,1) as RollingPeriod, year(Addmonths(Period,5,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,6,1) as RollingPeriod, year(Addmonths(Period,6,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,7,1) as RollingPeriod, year(Addmonths(Period,7,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,8,1) as RollingPeriod, year(Addmonths(Period,8,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,9,1) as RollingPeriod, year(Addmonths(Period,9,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,10,1) as RollingPeriod, year(Addmonths(Period,10,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,11,1) as RollingPeriod, year(Addmonths(Period,11,1)) as RollingYear Resident Data1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will resolve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 12:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294725#M109360</guid>
      <dc:creator />
      <dc:date>2012-09-25T12:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294726#M109361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sajeevan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say name the table as Data1, Do you mean the 'Months' table?&lt;/P&gt;&lt;P&gt;If I have 4 dimensions do I need to run the Rolling months program for each dimension (Rolling period)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 13:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294726#M109361</guid>
      <dc:creator />
      <dc:date>2012-09-25T13:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294727#M109362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Name the table as Data1 after the Months table - where you are loading the data from excel file. You need to create the rolling period only once. The RollingMonths table will link the Data1 table on Period variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 13:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294727#M109362</guid>
      <dc:creator />
      <dc:date>2012-09-25T13:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 months sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294728#M109363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The RollingMonths table loading should be placed after the Data1 is loaded from your excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is 1 lines, table is POLICY_TOTAL);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RollingMonths:&lt;BR /&gt;load Period, Period as RollingPeriod, year(Period) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,1,1) as RollingPeriod, year(Addmonths(Period,1,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,2,1) as RollingPeriod, year(Addmonths(Period,2,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,3,1) as RollingPeriod, year(Addmonths(Period,3,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,4,1) as RollingPeriod, year(Addmonths(Period,4,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,5,1) as RollingPeriod, year(Addmonths(Period,5,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,6,1) as RollingPeriod, year(Addmonths(Period,6,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,7,1) as RollingPeriod, year(Addmonths(Period,7,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,8,1) as RollingPeriod, year(Addmonths(Period,8,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,9,1) as RollingPeriod, year(Addmonths(Period,9,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,10,1) as RollingPeriod, year(Addmonths(Period,10,1)) as RollingYear Resident Data1;&lt;BR /&gt;load Period, Addmonths(Period,11,1) as RollingPeriod, year(Addmonths(Period,11,1)) as RollingYear Resident Data1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 14:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-months-sum/m-p/294728#M109363</guid>
      <dc:creator />
      <dc:date>2012-09-25T14:00:35Z</dc:date>
    </item>
  </channel>
</rss>

