<?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 Help with Year2Date Function Please? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Year2Date-Function-Please/m-p/308209#M113807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I am trying to use the script to build a calendar table that will identify dates that fall in various historic financial years (Month 1 is May). The following code works for the current financial year and the previous financial year:-&lt;/P&gt;&lt;P&gt;-1*(Year2Date(Date(CtrlDate),0,5,$(vToday))) as IsWithinFinYTD,&lt;/P&gt;&lt;P&gt; -1*(Year2Date(Date(CtrlDate),-1,5,$(vToday))) as IsWithinLastFinYTD&lt;/P&gt;&lt;P&gt;I also need to identify the year before the last financial year but all my attempts have failed.&lt;/P&gt;&lt;P&gt;Any suggestions please?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2011 21:12:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-21T21:12:13Z</dc:date>
    <item>
      <title>Help with Year2Date Function Please?</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Year2Date-Function-Please/m-p/308209#M113807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I am trying to use the script to build a calendar table that will identify dates that fall in various historic financial years (Month 1 is May). The following code works for the current financial year and the previous financial year:-&lt;/P&gt;&lt;P&gt;-1*(Year2Date(Date(CtrlDate),0,5,$(vToday))) as IsWithinFinYTD,&lt;/P&gt;&lt;P&gt; -1*(Year2Date(Date(CtrlDate),-1,5,$(vToday))) as IsWithinLastFinYTD&lt;/P&gt;&lt;P&gt;I also need to identify the year before the last financial year but all my attempts have failed.&lt;/P&gt;&lt;P&gt;Any suggestions please?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 21:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Year2Date-Function-Please/m-p/308209#M113807</guid>
      <dc:creator />
      <dc:date>2011-06-21T21:12:13Z</dc:date>
    </item>
  </channel>
</rss>

