<?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: Dynamically Calculating Fiscal Month and Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamically-Calculating-Fiscal-Month-and-Year/m-p/494539#M1126650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this blog post: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/05/28/fiscal-year" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Fiscal Year&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also see this discussion for the creation of a master calendar: &lt;A _jive_internal="true" href="https://community.qlik.com/message/283501#283501" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Tutorial - Using Common Date Dimensions and Shared Calendars&lt;/A&gt;. The qvc library used in the tutorial can create fiscal calendars starting at any month you like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2014 16:44:31 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-01-10T16:44:31Z</dc:date>
    <item>
      <title>Dynamically Calculating Fiscal Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-Calculating-Fiscal-Month-and-Year/m-p/494538#M1126649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;I have two dates fields, a list in an AcctSetup table and a list in a Bill Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;FiscalYearBeginDate&lt;BR /&gt;for example 7/1/2012, 8/1/2012, 9/1/2012, etc. (AcctSetup Table)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;BillStartDate for&lt;BR /&gt;example 2/1/2013 (Bill Table)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;I load my AcctSetup Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;AcctNum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;FiscalYearBeginDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;I load my Bill Table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;AcctNum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;BillStartDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;What I need to know is the Fiscal Month and Fiscal Year for the BillStartDate. I'll probably put this in a Load Script to perhaps add those two additional fields to the Bill Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 10pt;"&gt;If FiscalYearBeginDate = 7/1/2012 then BillStartDate 2/1/2013 is Month 7 of Fiscal Year 2012, BillStartDate 8/1/2012 is Month 6 of Fiscal Year 2012, 9/1/2012 is Month 5 of Fiscal Year 2012, etc.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;So for each BillStartDate I need to know which month and fiscal year that date falls into. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any suggestions on what the calcs should be in the load script for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 16:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-Calculating-Fiscal-Month-and-Year/m-p/494538#M1126649</guid>
      <dc:creator />
      <dc:date>2014-01-10T16:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Calculating Fiscal Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-Calculating-Fiscal-Month-and-Year/m-p/494539#M1126650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this blog post: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/05/28/fiscal-year" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Fiscal Year&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also see this discussion for the creation of a master calendar: &lt;A _jive_internal="true" href="https://community.qlik.com/message/283501#283501" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Tutorial - Using Common Date Dimensions and Shared Calendars&lt;/A&gt;. The qvc library used in the tutorial can create fiscal calendars starting at any month you like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 16:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-Calculating-Fiscal-Month-and-Year/m-p/494539#M1126650</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-10T16:44:31Z</dc:date>
    </item>
  </channel>
</rss>

