<?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: Deferred Fiscal Year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Deferred-Fiscal-Year/m-p/1671270#M50761</link>
    <description>&lt;P&gt;&amp;nbsp;see here:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Fiscal-Year/ba-p/1472103" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Fiscal-Year/ba-p/1472103&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 11:40:58 GMT</pubDate>
    <dc:creator>lorenzoconforti</dc:creator>
    <dc:date>2020-01-31T11:40:58Z</dc:date>
    <item>
      <title>Deferred Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Deferred-Fiscal-Year/m-p/1671227#M50754</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;our fiscal year is not the calender year. It beginns in March. So now I want to insert in the standard calender that the year should beginn in march. I found the declare function, but I don´t know how to use it correctly.&lt;/P&gt;&lt;P&gt;My actual calender is:&lt;/P&gt;&lt;P&gt;[Kal]:&lt;/P&gt;&lt;P&gt;DECLARE FIELD DEFINITION Tagged ('$date')&lt;BR /&gt;&lt;BR /&gt;Parameters&lt;BR /&gt;first_month_of_year = 3&lt;/P&gt;&lt;P&gt;FIELDS&lt;BR /&gt;Dual(Year($1), YearStart($1)) AS [Year] Tagged ('$axis', '$year'),&lt;BR /&gt;Dual('Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),Num(Ceil(NUM(Month($1))/3),00)) AS [Quarter] Tagged ('$quarter', '$cyclic'),&lt;BR /&gt;Dual(Year($1)&amp;amp;'-Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),QuarterStart($1)) AS [YearQuarter] Tagged ('$yearquarter', '$qualified'),&lt;BR /&gt;Dual('Q'&amp;amp;Num(Ceil(Num(Month($1))/3)),QuarterStart($1)) AS [_YearQuarter] Tagged ('$yearquarter', '$hidden', '$simplified'),&lt;BR /&gt;Month($1) AS [Month] Tagged ('$month', '$cyclic'),&lt;BR /&gt;Dual(Year($1)&amp;amp;'-'&amp;amp;Month($1), monthstart($1)) AS [YearMonth] Tagged ('$axis', '$yearmonth', '$qualified'),&lt;BR /&gt;Dual(Month($1), monthstart($1)) AS [_YearMonth] Tagged ('$axis', '$yearmonth', '$simplified', '$hidden'),&lt;BR /&gt;Dual('W'&amp;amp;Num(Week($1),00), Num(Week($1),00)) AS [Week] Tagged ('$weeknumber', '$cyclic'),&lt;BR /&gt;Date(Floor($1)) AS [Date] Tagged ('$axis', '$date', '$qualified'),&lt;BR /&gt;Date(Floor($1), 'D') AS [_Date] Tagged ('$axis', '$date', '$hidden', '$simplified'),&lt;BR /&gt;If (DayNumberOfYear($1) &amp;lt;= DayNumberOfYear(Today()), 1, 0) AS [InYTD] ,&lt;BR /&gt;Year(Today())-Year($1) AS [YearsAgo] ,&lt;BR /&gt;If (DayNumberOfQuarter($1) &amp;lt;= DayNumberOfQuarter(Today()),1,0) AS [InQTD] ,&lt;BR /&gt;4*Year(Today())+Ceil(Month(Today())/3)-4*Year($1)-Ceil(Month($1)/3) AS [QuartersAgo] ,&lt;BR /&gt;Ceil(Month(Today())/3)-Ceil(Month($1)/3) AS [QuarterRelNo] ,&lt;BR /&gt;If(Day($1)&amp;lt;=Day(Today()),1,0) AS [InMTD] ,&lt;BR /&gt;12*Year(Today())+Month(Today())-12*Year($1)-Month($1) AS [MonthsAgo] ,&lt;BR /&gt;Month(Today())-Month($1) AS [MonthRelNo] ,&lt;BR /&gt;If(WeekDay($1)&amp;lt;=WeekDay(Today()),1,0) AS [InWTD] ,&lt;BR /&gt;(WeekStart(Today())-WeekStart($1))/7 AS [WeeksAgo] ,&lt;BR /&gt;Week(Today())-Week($1) AS [WeekRelNo] ;&lt;/P&gt;&lt;P&gt;DERIVE FIELDS FROM FIELDS [C01AEDAT] USING [Kal] ;&lt;BR /&gt;DERIVE FIELDS FROM FIELDS [C01ERDAT] USING [Kal] ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 10:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deferred-Fiscal-Year/m-p/1671227#M50754</guid>
      <dc:creator>Bianca123</dc:creator>
      <dc:date>2020-01-31T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deferred Fiscal Year</title>
      <link>https://community.qlik.com/t5/App-Development/Deferred-Fiscal-Year/m-p/1671270#M50761</link>
      <description>&lt;P&gt;&amp;nbsp;see here:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Fiscal-Year/ba-p/1472103" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Fiscal-Year/ba-p/1472103&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 11:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deferred-Fiscal-Year/m-p/1671270#M50761</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-01-31T11:40:58Z</dc:date>
    </item>
  </channel>
</rss>

