<?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 Fiscal Year Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223092#M75645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any 1 help me om this please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 13:05:46 GMT</pubDate>
    <dc:creator>ashfaq_haseeb</dc:creator>
    <dc:date>2010-07-15T13:05:46Z</dc:date>
    <item>
      <title>Fiscal Year Help</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223089#M75642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have A field in a table by name Fiscal year which contains years in JD EDWARDS Environment like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiscal Year&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;94&lt;/P&gt;&lt;P&gt;95&lt;/P&gt;&lt;P&gt;97&lt;/P&gt;&lt;P&gt;98&lt;/P&gt;&lt;P&gt;99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i need to create Calender based on this field?&lt;/P&gt;&lt;P&gt;Remember I don't have any date field in my table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoiw would i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 10:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223089#M75642</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2010-07-14T10:31:59Z</dc:date>
    </item>
    <item>
      <title>Fiscal Year Help</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223090#M75643</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD&lt;BR /&gt; makedate(min([Fiscal Date])) AS minDate,&lt;BR /&gt; makedate(max([Fiscal Date]),12,31) AS maxDate&lt;BR /&gt;RESIDENT&lt;BR /&gt; &lt;STRONG&gt;(&lt;EM&gt;The Table you want to load [Fiscal Date] from&lt;/EM&gt;&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;LET varMinDate = Num(Peek('minDate', 0, 'Temp'));&lt;BR /&gt;LET varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;DROP TABLE Temp;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt; $(varMinDate)+Iterno()-1 AS Num,&lt;BR /&gt; Date($(varMinDate)+Iterno()-1) AS TempDate&lt;BR /&gt;AUTOGENERATE 1 WHILE $(varMinDate)+Iterno()-1&amp;lt;= $(varMaxDate);&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt; TempDate AS OrderDate,&lt;BR /&gt; week(TempDate) AS Week,&lt;BR /&gt; Year(TempDate) AS Year,&lt;BR /&gt; Month(TempDate) AS Month,&lt;BR /&gt; Day(TempDate) AS Day,&lt;BR /&gt; Year2date(TempDate)*-1 AS CurYTDFlag,&lt;BR /&gt; Year2date(TempDate,-1)*-1 AS LastYTDFlag,&lt;BR /&gt; inyear(TempDate,Monthstart($(varMaxDate)),-1) AS RC12,&lt;BR /&gt; date(monthstart(TempDate), 'MMM-YYYY') AS MonthYear,&lt;BR /&gt; applymap('QuartersMap', month(TempDate), null()) AS Quarter,&lt;BR /&gt; Week(TempDate)&amp;amp;'-'&amp;amp;Year(TempDate) AS WeekYear,&lt;BR /&gt; weekday(TempDate) AS WeekDay&lt;BR /&gt;RESIDENT&lt;BR /&gt; TempCalendar&lt;BR /&gt;ORDER BY&lt;BR /&gt; TempDate Asc;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 11:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223090#M75643</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-07-14T11:54:34Z</dc:date>
    </item>
    <item>
      <title>Fiscal Year Help</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223091#M75644</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;Thats not the case we are looking for. If it is date then your suggestion was right. but that field only contains two digits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will elobrate it in more detail.&lt;/P&gt;&lt;P&gt;I have a table with the following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Fiscal Year],&lt;BR /&gt; if([Fiscal Year]&amp;gt;60, 1900+[Fiscal Year],2000+[Fiscal Year]) as Year,&lt;BR /&gt; [Cost Center],&lt;BR /&gt; Object,&lt;BR /&gt; Subsidiary,&lt;BR /&gt; [Ledger Type],&lt;BR /&gt; [Prior Year End Bal],&lt;BR /&gt; Subledger,&lt;BR /&gt; [Subledger Type],&lt;BR /&gt; [Jan Bal],&lt;BR /&gt; [Feb Bal],&lt;BR /&gt; [Mar Bal],&lt;BR /&gt; [Apr Bal],&lt;BR /&gt; [May Bal],&lt;BR /&gt; [Jun Bal],&lt;BR /&gt; [Jul Bal],&lt;BR /&gt; [Aug Bal],&lt;BR /&gt; [Sep Bal],&lt;BR /&gt; [oct Bal],&lt;BR /&gt; [Nov Bal],&lt;BR /&gt; [Dec Bal],&lt;BR /&gt; [Account Id]&lt;BR /&gt;FROM&lt;/P&gt;&lt;P&gt;xyz&lt;/P&gt;&lt;P&gt;where [Fiscal Year], contains numbers as mentioned above in the post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i manage to calculate year,&lt;/P&gt;&lt;P&gt;need to calculate month and quarter of the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also i need to calculate sum bused on this selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have gl period but have GL amount for each month stored in separate fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 14:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223091#M75644</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2010-07-14T14:46:04Z</dc:date>
    </item>
    <item>
      <title>Fiscal Year Help</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223092#M75645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any 1 help me om this please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 13:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223092#M75645</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2010-07-15T13:05:46Z</dc:date>
    </item>
    <item>
      <title>Fiscal Year Help</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223093#M75646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think you can load the table 12 times, one for everry month and put in the month.&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD [Fiscal Year],&lt;BR /&gt; if([Fiscal Year]&amp;gt;60, 1900+[Fiscal Year],2000+[Fiscal Year]) as Year,&lt;BR /&gt; [Cost Center],&lt;BR /&gt; Object,&lt;BR /&gt; Subsidiary,&lt;BR /&gt; [Ledger Type],&lt;BR /&gt; [Prior Year End Bal],&lt;BR /&gt; Subledger,&lt;BR /&gt; [Subledger Type],&lt;BR /&gt; [Jan Bal],&lt;BR /&gt; 'Jan' as Month,&lt;BR /&gt; [Account Id]&lt;BR /&gt;FROM&lt;/P&gt;&lt;P&gt;xyz&lt;/P&gt;&lt;P&gt;join(Table)&lt;/P&gt;&lt;P&gt;LOAD [Fiscal Year],&lt;BR /&gt; if([Fiscal Year]&amp;gt;60, 1900+[Fiscal Year],2000+[Fiscal Year]) as Year,&lt;BR /&gt; [Cost Center],&lt;BR /&gt; Object,&lt;BR /&gt; Subsidiary,&lt;BR /&gt; [Ledger Type],&lt;BR /&gt; [Prior Year End Bal],&lt;BR /&gt; Subledger,&lt;BR /&gt; [Subledger Type],&lt;BR /&gt; [Feb Bal],&lt;BR /&gt; 'Feb' as Month,&lt;BR /&gt; [Account Id]&lt;BR /&gt;FROM&lt;/P&gt;&lt;P&gt;xyz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so on for every month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 13:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223093#M75646</guid>
      <dc:creator />
      <dc:date>2010-07-15T13:27:58Z</dc:date>
    </item>
    <item>
      <title>Fiscal Year Help</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223094#M75647</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 manage to get Month nd quarter by below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GLBalanceMain:&lt;BR /&gt;LOAD [Fiscal Year],&lt;BR /&gt; Year,&lt;BR /&gt; [Cost Center],&lt;BR /&gt; Object,&lt;BR /&gt; Subsidiary,&lt;BR /&gt; [Ledger Type],&lt;BR /&gt; [Prior Year End Bal],&lt;BR /&gt; Subledger,&lt;BR /&gt; [Subledger Type],&lt;BR /&gt; [Jan Bal],&lt;BR /&gt; [Feb Bal],&lt;BR /&gt; [Mar Bal],&lt;BR /&gt; [Apr Bal],&lt;BR /&gt; [May Bal],&lt;BR /&gt; [Jun Bal],&lt;BR /&gt; [Jul Bal],&lt;BR /&gt; [Aug Bal],&lt;BR /&gt; [Sep Bal],&lt;BR /&gt; [oct Bal],&lt;BR /&gt; [Nov Bal],&lt;BR /&gt; [Dec Bal],&lt;BR /&gt; if([Jan Bal],Text('Jan'),if ([Feb Bal],Text('Feb'),if ([Mar Bal],Text('Mar'),if ([Apr Bal],Text('Apr'),if ([May Bal],Text('May'),if ([Jun Bal],Text('Jun'),if ([Jul Bal],Text('Jul'),if ([Aug Bal],Text('Aug'),if ([Sep Bal],Text('Sep'),if ([oct Bal],Text('Oct'),if ([Nov Bal],Text('Nov'),if ([Dec Bal],Text('Dec'))))))))))))) as Month,&lt;BR /&gt; [Account Id]&lt;BR /&gt;FROM&lt;BR /&gt;xyz&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Month, Quarter&lt;BR /&gt; Jan, Q1&lt;BR /&gt; Feb, Q1&lt;BR /&gt; Mar, Q1&lt;BR /&gt; Apr, Q2&lt;BR /&gt; May, Q2&lt;BR /&gt; Jun, Q2&lt;BR /&gt; Jul, Q3&lt;BR /&gt; Aug, Q3&lt;BR /&gt; Sep, Q3&lt;BR /&gt; Oct, Q4&lt;BR /&gt; Nov, Q4&lt;BR /&gt; Dec, Q4&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to calculate Period amount or te selectedmonth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EG: if year selected = 2010 and MOnth Sleted- JAN FEB and MARCH&lt;/P&gt;&lt;P&gt;then it sould giv me he Periodamount for th Particul seletion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: A seperate field with Amoun for that month is stored seperately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;how can I acheive this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jul 2010 12:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Help/m-p/223094#M75647</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2010-07-17T12:27:13Z</dc:date>
    </item>
  </channel>
</rss>

