<?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: Master Calender with Fiscal  year in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Master-Calender-with-Fiscal-year/m-p/1816899#M4340</link>
    <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;below script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vFM_NO=3;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Load&lt;BR /&gt;TempDate AS DATE_KEY,&lt;BR /&gt;Year(TempDate) As Year,&lt;BR /&gt;Month(TempDate) As Month,&lt;BR /&gt;Day (TempDate) as Day,&lt;/P&gt;&lt;P&gt;Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0) as FinYear,&lt;BR /&gt;Mod(Month(TempDate)-$(vFM_NO), 12)+1 as FinMonth,&lt;BR /&gt;'Q'&amp;amp;ceil((Mod(Month(TempDate)-$(vFM_NO), 12)+1)/3) as FY_Qrter,&lt;/P&gt;&lt;P&gt;Dual((Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0))-1 &amp;amp;'-'&amp;amp; (Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0)),&lt;BR /&gt;(Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0))) as FY_Year,&lt;/P&gt;&lt;P&gt;dual(Month(TempDate),Mod(Month(TempDate)-$(vFM_NO), 12)+1) as FY_Month&lt;/P&gt;&lt;P&gt;resident Master_Calendar;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jun 2021 08:08:18 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2021-06-22T08:08:18Z</dc:date>
    <item>
      <title>Master Calender with Fiscal  year</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Master-Calender-with-Fiscal-year/m-p/1816874#M4339</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create master calender with fiscal year that starts from Mar 1st .&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can any one please share the script&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 07:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Master-Calender-with-Fiscal-year/m-p/1816874#M4339</guid>
      <dc:creator>Ama1</dc:creator>
      <dc:date>2021-06-22T07:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calender with Fiscal  year</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Master-Calender-with-Fiscal-year/m-p/1816899#M4340</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;below script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vFM_NO=3;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Load&lt;BR /&gt;TempDate AS DATE_KEY,&lt;BR /&gt;Year(TempDate) As Year,&lt;BR /&gt;Month(TempDate) As Month,&lt;BR /&gt;Day (TempDate) as Day,&lt;/P&gt;&lt;P&gt;Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0) as FinYear,&lt;BR /&gt;Mod(Month(TempDate)-$(vFM_NO), 12)+1 as FinMonth,&lt;BR /&gt;'Q'&amp;amp;ceil((Mod(Month(TempDate)-$(vFM_NO), 12)+1)/3) as FY_Qrter,&lt;/P&gt;&lt;P&gt;Dual((Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0))-1 &amp;amp;'-'&amp;amp; (Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0)),&lt;BR /&gt;(Year(TempDate) + If(Month(TempDate)&amp;gt;=$(vFM_NO), 1, 0))) as FY_Year,&lt;/P&gt;&lt;P&gt;dual(Month(TempDate),Mod(Month(TempDate)-$(vFM_NO), 12)+1) as FY_Month&lt;/P&gt;&lt;P&gt;resident Master_Calendar;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Master-Calender-with-Fiscal-year/m-p/1816899#M4340</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-06-22T08:08:18Z</dc:date>
    </item>
  </channel>
</rss>

