<?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 Last Year YTD (Financial Year) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Year-YTD-Financial-Year/m-p/156370#M32257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;this is what I use for my LY YTD calculations but our fiscal year starts in October. You can adjust &lt;STRONG&gt;FinYear={'$(=(if(month(today())&amp;gt;=10&lt;/STRONG&gt; the 10 depending what month your financial starts at, ie) 10 being october.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum( {$&amp;lt;GLTranDate={'&amp;lt;=$(=makedate(year(today())-1,month(today()),day(today())))'},FinYear={'$(=(if(month(today())&amp;gt;=10, Year(today())+1, Year(today()))-1))'} &amp;gt;} GLProfitLossTranAmount)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2009 03:05:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-14T03:05:32Z</dc:date>
    <item>
      <title>Last Year YTD (Financial Year)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-YTD-Financial-Year/m-p/156368#M32255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I have a requirement to write a set analysis expression to calculate Last Year YTD.&lt;/P&gt;&lt;P&gt;My YTD formula is : Sum({$&amp;lt;Month =&amp;gt;} If(InYearToDate(GLTranDate, vMaxDate, 0, 7), GLProfitLossTranAmount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a variable called vLYMaxDate, which is vMaxDate - one year. But I can't use this effectively.&lt;/P&gt;&lt;P&gt;The user makes selections on Month and FinYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 09:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-YTD-Financial-Year/m-p/156368#M32255</guid>
      <dc:creator />
      <dc:date>2009-08-13T09:56:34Z</dc:date>
    </item>
    <item>
      <title>Last Year YTD (Financial Year)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-YTD-Financial-Year/m-p/156369#M32256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use variables to read in the Month and FinYear and translate that to a date start or end of month to use for your purpose. just a suggestion.&lt;/P&gt;&lt;P&gt;need more detail for a better reply. what do the Month and FinYear define? the max date? the date to verify if in year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 01:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-YTD-Financial-Year/m-p/156369#M32256</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2009-08-14T01:51:10Z</dc:date>
    </item>
    <item>
      <title>Last Year YTD (Financial Year)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-YTD-Financial-Year/m-p/156370#M32257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;this is what I use for my LY YTD calculations but our fiscal year starts in October. You can adjust &lt;STRONG&gt;FinYear={'$(=(if(month(today())&amp;gt;=10&lt;/STRONG&gt; the 10 depending what month your financial starts at, ie) 10 being october.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum( {$&amp;lt;GLTranDate={'&amp;lt;=$(=makedate(year(today())-1,month(today()),day(today())))'},FinYear={'$(=(if(month(today())&amp;gt;=10, Year(today())+1, Year(today()))-1))'} &amp;gt;} GLProfitLossTranAmount)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 03:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-YTD-Financial-Year/m-p/156370#M32257</guid>
      <dc:creator />
      <dc:date>2009-08-14T03:05:32Z</dc:date>
    </item>
  </channel>
</rss>

