<?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 Month Fiscal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355269#M131877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added the period to my calendar, so I add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to change the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP_CALENDAR:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=8,1,if(Month(TempFecha)=9,2,if(Month(TempFecha)=10,3,if(Month(TempFecha)=11,4,&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=12,5,if(Month(TempFecha)=1,6,if(Month(TempFecha)=2,7,if(Month(TempFecha)=3,8,&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=4,9,if(Month(TempFecha)=5,10,if(Month(TempFecha)=6,11,&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=7,12)))))))))))) as Periodo, &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D_CALENDAR:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt; If( Mes &amp;gt;= 11, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Num(Periodo,'00') &amp;amp; '-' &amp;amp; Year), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Num(Periodo,'00') &amp;amp; '-' &amp;amp; (Year-1)))&lt;/P&gt;&lt;P&gt;as FiscalYear&lt;/P&gt;&lt;P&gt;Resident TEMP_CALENDAR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TEMP_CALENDAR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have every date associated with a number of period and a date of fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. I´m doing a lot of things with this calendar with fiscal years.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2012 20:42:33 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-06-14T20:42:33Z</dc:date>
    <item>
      <title>Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355267#M131875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize numerous examples are present of this Rolling 12 Month average are already present on the community but none of them 'intergrate' with a calander(s) already defined.&amp;nbsp; At least I can not find any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our fiscal year runs Nov to Oct.&amp;nbsp; I would like the end user to select YearFiscal and the Rolling Margin chart to display the last rolling 12 month margin.&amp;nbsp; The total GP for the last 12 months is just fine as well.&amp;nbsp; I can then divide by 12 to find monthly average.&amp;nbsp; I was able to easily do this (Rolling Margin equation) within the current fiscal year but going back in this case 5 months proved to be an issue.&amp;nbsp; As the other forumns said Set Analysis is not the answer and I was unable to get 'As Of' tables to work properly.&amp;nbsp; They all seemed to define thier own time parameters.&amp;nbsp; My goal would be for it look similar to the Rolling 12 Month Total - GP column in the manually caculated Excel image 'Goal'.&amp;nbsp; Currently it looks like 'Current' screenshot.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any one of any examples of how to do this or other ideas? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rolling Margin equation &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;=Sum({&amp;lt;master_date={'&amp;gt;=$(=MonthStart(Max(master_date), -12))&amp;lt;=$(=MonthEnd(Max(master_date)))'}&amp;gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vDateMin) + RowNo() - 1 AS DateNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date($(vDateMin) + RowNo() - 1) AS TempDate&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;WHILE $(vDateMin)+IterNo()-1&amp;lt;= $(vDateMax);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TempDate AS master_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Day(TempDate) AS CalendarDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;WeekDay(TempDate) AS CalendarWeekDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Week(TempDate) AS CalendarWeek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Month(TempDate) AS CalendarMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Year(TempDate) AS CalendarYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Q' &amp;amp; Ceil(Month(TempDate)/3) AS CalendarQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;WeekDay(TempDate) &amp;amp; '-' &amp;amp; Year(TempDate) AS CalendarWeekAndYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Month(TempDate) &amp;amp; '-' &amp;amp; Year(TempDate) AS CalendarMonthAndYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If(Num(TempDate) &amp;gt;= $(vYearStart) AND Num(TempDate) &amp;lt; $(vMonthNow), -1, 0) AS YTD, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If(Num(TempDate) &amp;gt;= $(vYearStartLY) AND Num(TempDate) &amp;lt; $(vMonthNowLY), -1, 0) AS LY_YTD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Year2Date(TempDate) * -1 AS YTD_Flag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Year2Date(TempDate,-1, 1, $(vToday))*-1 AS LY_YTD_Flag&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar ORDER BY TempDate ASC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FiscalCalander&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;FiscalCalendar:&lt;/P&gt;&lt;P&gt;LOAD date(date#(20011101,'YYYYMMDD')+recno(),'MM/DD/YY') AS "master_date"&lt;/P&gt;&lt;P&gt;AUTOGENERATE today()-date#(20011101,'YYYYMMDD');&lt;/P&gt;&lt;P&gt;LEFT JOIN (FiscalCalendar)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"master_date",&lt;/P&gt;&lt;P&gt;date(monthstart(master_date),'MMM YY') AS "MonthFisical",&lt;/P&gt;&lt;P&gt;date(monthstart(master_date),'MMM') AS "MonthFisical_MonthTitle",&lt;/P&gt;&lt;P&gt;date(yearstart(master_date,1,11),'YYYY') AS "YearFiscal",&lt;/P&gt;&lt;P&gt;month(master_date)-month(num(today(1))) AS FiscalMonthsElapsed,&lt;/P&gt;&lt;P&gt;YearToDate(master_date, 0,11)*-1 AS YTD_FLAG_Fiscal,&lt;/P&gt;&lt;P&gt;YearToDate(master_date,-1,11)*-1 AS LY_YTD_FLAG_Fiscal&lt;/P&gt;&lt;P&gt;RESIDENT FiscalCalendar;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current &lt;/P&gt;&lt;P&gt;&lt;IMG alt="current.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/14343_current.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Goal&lt;/P&gt;&lt;P&gt;&lt;IMG alt="goal.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/14344_goal.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 15:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355267#M131875</guid>
      <dc:creator />
      <dc:date>2012-05-16T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355268#M131876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I was able to perform this function however the solution is not ideal.&amp;nbsp; I converted each expression into a variable.&amp;nbsp; This left me with the corect answer but without a demension to graph on since this all performed in an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;vRollingSumCurrent (June)&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13397039600703168" jivemacro_uid="_13397039600703168"&gt;&lt;P&gt;=Sum({&amp;lt;MonthYear ={"&amp;gt;=$(=Date(addmonths(Max(MonthYear), -12), 'MMM YY')) &amp;lt;=$(=Date(addmonths(Max(MonthYear),0),&amp;nbsp; 'MMM YY'))"} &amp;gt;} Margin)/12&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;vRollingSumOne (May)&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13397040016837247" jivemacro_uid="_13397040016837247"&gt;&lt;P&gt;=Sum({&amp;lt;MonthYear ={"&amp;gt;=$(=Date(addmonths(Max(MonthYear), -13), 'MMM YY')) &amp;lt;=$(=Date(addmonths(Max(MonthYear), -1),&amp;nbsp; 'MMM YY'))"} &amp;gt;} Margin)/12&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;vRollingSumTwo (Apr)&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13397040194798580" jivemacro_uid="_13397040194798580"&gt;&lt;P&gt;=Sum({&amp;lt;MonthYear ={"&amp;gt;=$(=Date(addmonths(Max(MonthYear), -14), 'MMM YY')) &amp;lt;=$(=Date(addmonths(Max(MonthYear), -2),&amp;nbsp; 'MMM YY'))"} &amp;gt;} Margin)/12&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month Labels: (increase by 1 for each month back) &lt;/P&gt;&lt;P&gt;This will generate June&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13397043536879050" jivemacro_uid="_13397043536879050"&gt;&lt;P&gt;=month(Date(addmonths(Max(MonthYear), -12)))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Setup:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="16303" class="jive-image" alt="rollingmonths.PNG" src="https://community.qlik.com/legacyfs/online/16303_rollingmonths.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thier has to be an easier way to caculate this using a demension.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 20:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355268#M131876</guid>
      <dc:creator />
      <dc:date>2012-06-14T20:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355269#M131877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added the period to my calendar, so I add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to change the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP_CALENDAR:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=8,1,if(Month(TempFecha)=9,2,if(Month(TempFecha)=10,3,if(Month(TempFecha)=11,4,&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=12,5,if(Month(TempFecha)=1,6,if(Month(TempFecha)=2,7,if(Month(TempFecha)=3,8,&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=4,9,if(Month(TempFecha)=5,10,if(Month(TempFecha)=6,11,&lt;/P&gt;&lt;P&gt;if(Month(TempFecha)=7,12)))))))))))) as Periodo, &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D_CALENDAR:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt; If( Mes &amp;gt;= 11, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Num(Periodo,'00') &amp;amp; '-' &amp;amp; Year), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Num(Periodo,'00') &amp;amp; '-' &amp;amp; (Year-1)))&lt;/P&gt;&lt;P&gt;as FiscalYear&lt;/P&gt;&lt;P&gt;Resident TEMP_CALENDAR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TEMP_CALENDAR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have every date associated with a number of period and a date of fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. I´m doing a lot of things with this calendar with fiscal years.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 20:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355269#M131877</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-06-14T20:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355270#M131878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jose thanks for the response.&amp;nbsp; I have performed a situation like this already.&amp;nbsp; When I click on '2012' I only go back in the current fisical year.&amp;nbsp; I would like to go back 12 months.&amp;nbsp; Can this be done?&amp;nbsp; What equations would you use in a line chart to graph this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="16341" class="jive-image-thumbnail jive-image" onclick="" alt="rollingmonths2.PNG" src="https://community.qlik.com/legacyfs/online/16341_rollingmonths2.PNG" width="450" /&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>Fri, 15 Jun 2012 13:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355270#M131878</guid>
      <dc:creator />
      <dc:date>2012-06-15T13:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355271#M131879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunatelly I realized that I have the same problem... this is what I´m doing and I want a better way also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of what I do to make an accumulate sum selecting one period from my field PERIOD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Month Year]={"$(=MonthName(Date(Addmonths(Max(%Date),-12),&lt;/P&gt;&lt;P&gt;'MMM-YYY')))"},PERIOD=,Year=,Month=&amp;gt;}[ResultadoCC])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but is not performant, I need to do 1 expression like that for each month, so I have 12 expressions to get values for a complete year....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry but I can´t help you more right now.&lt;/P&gt;&lt;P&gt;I hope we can help us each other and find a solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 13:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355271#M131879</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-06-15T13:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355272#M131880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ironic. This is why I started this thread.&amp;nbsp; I had a tough time finding a solution with intergration into an already existing calander.&amp;nbsp; My single expression solution is above as well.&amp;nbsp; It is not ideal and graphing is highly limited as I am sure you discovered as well.&amp;nbsp; I had a lot of views on the post but you were the first reply back with a 'working' solution.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help.&amp;nbsp; Perhaps someone else has a working solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 13:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355272#M131880</guid>
      <dc:creator />
      <dc:date>2012-06-15T13:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355273#M131881</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;The solution is not in the calendar : you have to create a pivot table between your calendar and the fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this pivot table you have 2 type : DIRECT and CROSSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For type DIRECT, a row in fact table is linked to the date in calendar&lt;/P&gt;&lt;P&gt;For type CROSSING, a row in fact table is linked to all the dates of the 12 &lt;STRONG style="text-decoration: underline;"&gt;future&lt;/STRONG&gt; months in calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in Qlikview, you use the type DIRECT all the time, except when you want to present for each month the total of the past 12 months. In this case you use CROSSING because all rows are linked to the dates of the 12 &lt;STRONG style="text-decoration: underline;"&gt;future&lt;/STRONG&gt; months, so it means (reversed point of view) that a month is linked to all data of the &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;past&lt;/STRONG&gt;&lt;/SPAN&gt; 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it makes sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 14:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355273#M131881</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2012-06-15T14:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355274#M131882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 14:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355274#M131882</guid>
      <dc:creator />
      <dc:date>2012-06-15T14:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355275#M131883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes I have an example. In green the methods that work, in red the on the one that doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 06:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355275#M131883</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2012-06-18T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 Month Fiscal</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355276#M131884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot nstefaniuk.&amp;nbsp; This is exactly what I as looking for.&amp;nbsp; I followed example 2 in the QVW.&amp;nbsp; I now have a loosely coupled data because I placed the 'Period_id2/Final' in my fiscal calander as well my normal calender and these two tables were already linked together.&amp;nbsp; Not sure how to resolve this at the current time but the data is correct.&amp;nbsp; (We have a spreadsheet down by hand to match to.)&amp;nbsp; If I figure this out I may post my example.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 18:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Month-Fiscal/m-p/355276#M131884</guid>
      <dc:creator />
      <dc:date>2012-06-18T18:43:56Z</dc:date>
    </item>
  </channel>
</rss>

