<?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 Fiscal YTD Sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fiscal-YTD-Sum/m-p/833833#M293371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a sum to only add up figures based on the Month, and the relevant fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Fiscal year start on 1st June.&amp;nbsp; So if a user selects "Sep 2014" they would see the sum of planned cost for 01/01/2014 &amp;gt; 30/09/2014&lt;/P&gt;&lt;P&gt;Where as if they select Jun 2015, the would see figures from 01/06/2015 - 31/06/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user select using the list box created by the "MonthName" function so it reutrns the 3 letter month, and the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have create a variable to select the first month in the fiscal year, but this doesn't appear to work, as if you select "Jan 2015" I would expect it to return 01/06/2014 as that was the start of the fiscal year "Jan 2015" is in.&amp;nbsp; The variable is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;YearStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Calendar.MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),5) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; I see there are plenty of suggestions out there, and they appear to work if you are using standard calendar year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I'm using to get the sum is: &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Calendar.MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vFYTDStart)&amp;lt;=$(vFYTDEnd)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Finacial_Data_Pln.Cost&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 15:01:35 GMT</pubDate>
    <dc:creator>nwilliams</dc:creator>
    <dc:date>2015-07-08T15:01:35Z</dc:date>
    <item>
      <title>Fiscal YTD Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-YTD-Sum/m-p/833833#M293371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a sum to only add up figures based on the Month, and the relevant fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Fiscal year start on 1st June.&amp;nbsp; So if a user selects "Sep 2014" they would see the sum of planned cost for 01/01/2014 &amp;gt; 30/09/2014&lt;/P&gt;&lt;P&gt;Where as if they select Jun 2015, the would see figures from 01/06/2015 - 31/06/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user select using the list box created by the "MonthName" function so it reutrns the 3 letter month, and the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have create a variable to select the first month in the fiscal year, but this doesn't appear to work, as if you select "Jan 2015" I would expect it to return 01/06/2014 as that was the start of the fiscal year "Jan 2015" is in.&amp;nbsp; The variable is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;YearStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Calendar.MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),5) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; I see there are plenty of suggestions out there, and they appear to work if you are using standard calendar year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I'm using to get the sum is: &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Calendar.MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vFYTDStart)&amp;lt;=$(vFYTDEnd)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Finacial_Data_Pln.Cost&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 15:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-YTD-Sum/m-p/833833#M293371</guid>
      <dc:creator>nwilliams</dc:creator>
      <dc:date>2015-07-08T15:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal YTD Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-YTD-Sum/m-p/833834#M293372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is formula for &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;vFYTDStart:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=IF(Month(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;Calendar.MonthName&lt;/SPAN&gt;)&amp;lt;6,MakeDate(Year(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;Calendar.MonthName&lt;/SPAN&gt;)-1,6,1),MakeDate(Year(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;Calendar.MonthName&lt;/SPAN&gt;),6,1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 17:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-YTD-Sum/m-p/833834#M293372</guid>
      <dc:creator />
      <dc:date>2015-07-08T17:06:53Z</dc:date>
    </item>
  </channel>
</rss>

