<?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: Fiscal Periods / Month Names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fiscal-Periods-Month-Names/m-p/1255827#M850309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bronwyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of below field to generate FiscalMonth (Considering Month - 1 = Jan, 2 = Feb... 12 = Dec).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14890540652876630 jive_text_macro" jivemacro_uid="_14890540652876630" modifiedtitle="true"&gt;
&lt;P&gt;If(Month&amp;gt;=7, Month-6, Month+6) AS FiscalMonth&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2017 10:11:43 GMT</pubDate>
    <dc:creator>rahulpawarb</dc:creator>
    <dc:date>2017-03-09T10:11:43Z</dc:date>
    <item>
      <title>Fiscal Periods / Month Names</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Periods-Month-Names/m-p/1255825#M850307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of data with the financial year listed as '2015/16', 2016/17 etc, and the organisation I work for uses financial year fiscal periods, so for example fiscal period 01 = July.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following code to store the FY and min and max fiscal periods into a master calendar:&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; Min(DisFP) as MinFP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(DisFP) as MaxFP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FY as FinancialYr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident TABLE_NAME Group By FY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMinFP = floor(peek('MinFP'));&lt;/P&gt;&lt;P&gt;LET vMaxFP = floor(peek('MaxFP'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now trying to align the fiscal periods to the Months and use them in a text box to show users the date range the data is applicable for.&amp;nbsp; I don't want the data to change with selection, to only calculate upon the selection of the financial year I want it to remain a static value (almost) as you switch between financial years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the formulas I've used in the text box:&lt;/P&gt;&lt;P&gt;=IF(FinancialYr='2016/17','Title used in report' &amp;amp;Month(MinFP) &amp;amp; ' to ' &amp;amp;Month(MaxFP),&lt;/P&gt;&lt;P&gt;IF(FinancialYr='2015/16','Title used in report' &amp;amp;Month(MinFP) &amp;amp; ' to ' &amp;amp;Month(MaxFP)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only being fairly new to Qlikview, I've read quite a lot of threads about years etc, but can't seem to get exactly what I am after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is two questions - how do I align my fiscal periods to the months I want (1 = July, 2 = August), or do I need to go back to the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, I can't load up any examples due to organisation policy so hopefully I've provided enough information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to update this that the above master calendar table worked, once I dropped renaming the FY it seemed to link together the way I wanted.&amp;nbsp; Thanks for everyone's responses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Periods-Month-Names/m-p/1255825#M850307</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Periods / Month Names</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Periods-Month-Names/m-p/1255826#M850308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is DisFP a date field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What isn't quite working for you as your formula look OK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 09:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Periods-Month-Names/m-p/1255826#M850308</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T09:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Periods / Month Names</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Periods-Month-Names/m-p/1255827#M850309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bronwyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of below field to generate FiscalMonth (Considering Month - 1 = Jan, 2 = Feb... 12 = Dec).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14890540652876630 jive_text_macro" jivemacro_uid="_14890540652876630" modifiedtitle="true"&gt;
&lt;P&gt;If(Month&amp;gt;=7, Month-6, Month+6) AS FiscalMonth&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Periods-Month-Names/m-p/1255827#M850309</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-09T10:11:43Z</dc:date>
    </item>
  </channel>
</rss>

