<?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: Year to Date for Fiscal Year using Range Sum function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-to-Date-for-Fiscal-Year-using-Range-Sum-function/m-p/810068#M285953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3138"&gt;Fiscal Year&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 05:22:11 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2014-12-11T05:22:11Z</dc:date>
    <item>
      <title>Year to Date for Fiscal Year using Range Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-Date-for-Fiscal-Year-using-Range-Sum-function/m-p/810067#M285952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use RangeSum for YTD calculations. As you can see in the photo attached it work well when I select the maximum date (in this case September 2014), however if you choose October (there is no data for October yet) it still shows September figure which is distorting the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to achieve is make any date beyond September 2014 unselectable as the data is not yet available.&lt;/P&gt;&lt;P&gt;Here is the set expression that I used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=rangesum( above( sum({$&amp;lt;[Exec P&amp;amp;L Heading]={'NET PROFIT/ (LOSS)'},fYear = {"$(=Max(fYear))"},fMonth=,Quarter=, Year =, FMonth =, FYear =, Date, Year=,Quarter=, YearMonth = {"&amp;lt;=$(=max(YearMonth))"},Month= &amp;gt;} Amount*-1),0,12)) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to change 0,12 set values to 0, Max(Date)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73171" alt="YTD issue.png" class="image-1 jive-image" src="/legacyfs/online/73171_YTD issue.png" style="height: 213px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 03:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-Date-for-Fiscal-Year-using-Range-Sum-function/m-p/810067#M285952</guid>
      <dc:creator />
      <dc:date>2014-12-11T03:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Year to Date for Fiscal Year using Range Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-Date-for-Fiscal-Year-using-Range-Sum-function/m-p/810068#M285953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3138"&gt;Fiscal Year&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 05:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-Date-for-Fiscal-Year-using-Range-Sum-function/m-p/810068#M285953</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-12-11T05:22:11Z</dc:date>
    </item>
  </channel>
</rss>

