<?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 Different fiscal year from calender year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300656#M1199983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI.&lt;/P&gt;&lt;P&gt;In the script you could set Month-Year field as follows:&lt;/P&gt;&lt;P&gt;Month(Date)&amp;amp;'-'&amp;amp;year(Date) as MonthYear&lt;/P&gt;&lt;P&gt;and use it to select the period.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;DIV class="g-unit almost_half_cell" id="gt-res-c"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2011 20:48:53 GMT</pubDate>
    <dc:creator>spividori</dc:creator>
    <dc:date>2011-01-18T20:48:53Z</dc:date>
    <item>
      <title>Different fiscal year from calender year</title>
      <link>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300654#M1199981</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 am loading excel files with data containing a date (dd.mm.yyyy). from January until december. I use month() and year() to seperate the parts of the date and create listboxes to display the values.&lt;/P&gt;&lt;P&gt;But then I want to calculate the sum(value) not of the calender year which is QV using but I want to calculate sums from May to April, a different fiscal year.&lt;/P&gt;&lt;P&gt;All my formulars are using the calender year but I want to "force" them to uses a different time setting.&lt;/P&gt;&lt;P&gt;Is there a possible was to use a calender from May to April, e.g. May 2010 - April 2011, May 2001 - April 2012 and so on.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 20:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300654#M1199981</guid>
      <dc:creator />
      <dc:date>2011-01-18T20:12:23Z</dc:date>
    </item>
    <item>
      <title>Different fiscal year from calender year</title>
      <link>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300655#M1199982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is possible by "shifting" dates in your date dimension. Below is an example of a calendar i recently implemented where the fiscal year starts the first of september. This is done by "shifting" the dates 4 months forward. (in other words the first of september is seen as the first day of the first month of a fiscal year).&lt;/P&gt;&lt;P&gt;In your situation you either have to shift time backwards by 4 months or forward by 8 (this depends on how you want to call your fiscal year).&lt;/P&gt;&lt;P&gt;Here is the calendar you can use as a reference:&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(MakeDate(2008,9,1));&lt;BR /&gt;LET vDateMax = Floor(AddMonths(YearEnd(AddMonths(Today(),4)),-4));&lt;/P&gt;&lt;P&gt;CalendarDates:&lt;BR /&gt;LOAD $(vDateMin) + RowNo() - 1 AS DateNumber&lt;BR /&gt;, Date($(vDateMin) + RowNo() - 1) AS TempDate&lt;BR /&gt;AUTOGENERATE 1&lt;BR /&gt;WHILE $(vDateMin)+IterNo()-1&amp;lt;= $(vDateMax);&lt;/P&gt;&lt;P&gt;Calendar:&lt;BR /&gt;LOAD TempDate AS %Key_Date&lt;BR /&gt;, TempDate AS Date&lt;BR /&gt;//, Day(TempDate) AS Day&lt;BR /&gt;//, WeekDay(TempDate) AS WeekDay&lt;BR /&gt;, Num(Week(TempDate),00) AS Week&lt;BR /&gt;, Month(TempDate) AS Month&lt;BR /&gt;, Num(Month(TempDate),00) AS MonthNum&lt;BR /&gt;, Year(TempDate) AS Year&lt;BR /&gt;, 'Q' &amp;amp; Ceil(Month(TempDate)/3) AS Quarter&lt;BR /&gt;, WeekYear(TempDate) &amp;amp; '-w' &amp;amp; Num(Week(TempDate),00) AS YearWeek&lt;BR /&gt;, Year(TempDate) &amp;amp; '-' &amp;amp; Num(Month(TempDate),00) AS YearMonth&lt;BR /&gt;, Year(TempDate) &amp;amp; '-Q' &amp;amp; Ceil(Month(TempDate)/3) AS YearQuarter&lt;BR /&gt;, Num(Month(AddMonths(TempDate,4)),00) AS FiscalMonthNum&lt;BR /&gt;, 'FY ' &amp;amp; Right(Year(AddMonths(TempDate,-8)),2) &amp;amp; '-' &amp;amp; Right(Year(AddMonths(TempDate,4)),2) AS FiscalYear&lt;BR /&gt;, 'FY ' &amp;amp; Right(Year(AddMonths(TempDate,-8)),2) &amp;amp; '-' &amp;amp; Right(Year(AddMonths(TempDate,4)),2) &amp;amp; ' Q' &amp;amp; Ceil(Month(AddMonths(TempDate,4))/3) AS FiscalYearQuarter&lt;BR /&gt;RESIDENT CalendarDates&lt;BR /&gt;ORDER BY TempDate ASC;&lt;/P&gt;&lt;P&gt;DROP TABLE CalendarDates;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 20:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300655#M1199982</guid>
      <dc:creator />
      <dc:date>2011-01-18T20:44:14Z</dc:date>
    </item>
    <item>
      <title>Different fiscal year from calender year</title>
      <link>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300656#M1199983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI.&lt;/P&gt;&lt;P&gt;In the script you could set Month-Year field as follows:&lt;/P&gt;&lt;P&gt;Month(Date)&amp;amp;'-'&amp;amp;year(Date) as MonthYear&lt;/P&gt;&lt;P&gt;and use it to select the period.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;DIV class="g-unit almost_half_cell" id="gt-res-c"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 20:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300656#M1199983</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2011-01-18T20:48:53Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Different fiscal year from calender year</title>
      <link>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300657#M1199984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Toine Rozemeijer, I wil ltry it and see hiw it works. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 18:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300657#M1199984</guid>
      <dc:creator />
      <dc:date>2011-01-19T18:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Different fiscal year from calender year</title>
      <link>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300658#M1199985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Num(Month(AddMonths(TempDate,4)),00) AS FiscalMonthNum&lt;/P&gt;&lt;P&gt;, 'FY ' &amp;amp; Right(Year(AddMonths(TempDate,-8)),2) &amp;amp; '-' &amp;amp; Right(Year(AddMonths(TempDate,4)),2) AS FiscalYear&lt;/P&gt;&lt;P&gt;, 'FY ' &amp;amp; Right(Year(AddMonths(TempDate,-8)),2) &amp;amp; '-' &amp;amp; Right(Year(AddMonths(TempDate,4)),2) &amp;amp; ' Q' &amp;amp; Ceil(Month(AddMonths(TempDate,4))/3) AS FiscalYearQuarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was searching around and was looking to add a Fiscal Calendar to my Master.&amp;nbsp; I liked what you had here but made a slight change. In the line " Num(Month(AddMonths(TempDate,4)),00) AS FiscalMonthNum".&amp;nbsp; I changed the 4 to a 3. It appeared that it was not labeling the months correctly to the Fiscal Quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 21:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-fiscal-year-from-calender-year/m-p/300658#M1199985</guid>
      <dc:creator />
      <dc:date>2013-06-04T21:26:57Z</dc:date>
    </item>
  </channel>
</rss>

