<?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 Need the fiscal year as a variable in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1593913#M138564</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need the fiscal year as a variable during load. The data load is exectured on a daily basis via a daily trigger.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need this to setup an if statement in different diagrams.&lt;/P&gt;&lt;P&gt;Thanks for supporting.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2019 06:35:39 GMT</pubDate>
    <dc:creator>QlikSensor</dc:creator>
    <dc:date>2019-06-20T06:35:39Z</dc:date>
    <item>
      <title>Need the fiscal year as a variable</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1593913#M138564</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need the fiscal year as a variable during load. The data load is exectured on a daily basis via a daily trigger.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need this to setup an if statement in different diagrams.&lt;/P&gt;&lt;P&gt;Thanks for supporting.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 06:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1593913#M138564</guid>
      <dc:creator>QlikSensor</dc:creator>
      <dc:date>2019-06-20T06:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need the fiscal year as a variable</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1593926#M138569</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Because fiscal years are company dependent, you will need to have this information in your calendar.&lt;/P&gt;&lt;P&gt;If you have this calendar you can extract this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Calendar:
Load
  [Fiscal year]
From [YourSource] (qvd)
Where %Date = floor(today());  // Assumption is that you have a floored date

Let vCurrentFiscalYear = Peek('Fiscal year',0,'Calendar')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you have your variable&amp;nbsp;vCurrentFiscalYear.&lt;/P&gt;&lt;P&gt;Jordy&lt;/P&gt;&lt;P&gt;Climber&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 06:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1593926#M138569</guid>
      <dc:creator>JordyWegman</dc:creator>
      <dc:date>2019-06-20T06:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need the fiscal year as a variable</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1594135#M138625</link>
      <description>&lt;P&gt;Hm,&lt;/P&gt;&lt;P&gt;I haven't this calendar. Our fy starts on 1.10.&lt;/P&gt;&lt;P&gt;I would need for today 2019 and on 1.10.2019 2020. Can't this be done more easily during load?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 13:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1594135#M138625</guid>
      <dc:creator>QlikSensor</dc:creator>
      <dc:date>2019-06-20T13:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need the fiscal year as a variable</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1594473#M138720</link>
      <description>&lt;P&gt;Yes this is possible of course, use this formula:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if(date(Date,'MMDD')&amp;amp;'' &amp;gt;= 1001 &amp;amp; '' and date(Date,'MMDD')&amp;amp;'' &amp;lt;= 1231 &amp;amp; '' ,Year(Date) + 1,Year(Date))	as [Fiscal year],&lt;/LI-CODE&gt;&lt;P&gt;Jordy&lt;/P&gt;&lt;P&gt;Climber&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 07:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1594473#M138720</guid>
      <dc:creator>JordyWegman</dc:creator>
      <dc:date>2019-06-21T07:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need the fiscal year as a variable</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1594498#M138724</link>
      <description>&lt;P&gt;Or simpler:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Year(AddMonths(Date, 3)) as [Fiscal Year],&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 21 Jun 2019 07:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Need-the-fiscal-year-as-a-variable/m-p/1594498#M138724</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-06-21T07:53:37Z</dc:date>
    </item>
  </channel>
</rss>

