<?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 YTD Calculation in Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7180#M570</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;Can anybody please suggest about YTD calculation in table with filter selection on dimension. I am able to write below code which works fine if value are selected in filter but doesn't work if no value are selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If(GetSelectedCount(Period)=1,&lt;/P&gt;&lt;P&gt;aggr(rangesum(Below(total sum({&amp;lt;Period=&amp;gt;}Value),0,$(vMonthDiff))),Period),&lt;/P&gt;&lt;P&gt;aggr(rangesum(Below(total sum({&amp;lt;Period=&amp;gt;}Value),0,Right(Period,2))),Period))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Please find attached QVF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 10:20:21 GMT</pubDate>
    <dc:creator>ramkrishna86</dc:creator>
    <dc:date>2018-01-25T10:20:21Z</dc:date>
    <item>
      <title>YTD Calculation in Table</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7180#M570</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;Can anybody please suggest about YTD calculation in table with filter selection on dimension. I am able to write below code which works fine if value are selected in filter but doesn't work if no value are selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If(GetSelectedCount(Period)=1,&lt;/P&gt;&lt;P&gt;aggr(rangesum(Below(total sum({&amp;lt;Period=&amp;gt;}Value),0,$(vMonthDiff))),Period),&lt;/P&gt;&lt;P&gt;aggr(rangesum(Below(total sum({&amp;lt;Period=&amp;gt;}Value),0,Right(Period,2))),Period))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Please find attached QVF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 10:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7180#M570</guid>
      <dc:creator>ramkrishna86</dc:creator>
      <dc:date>2018-01-25T10:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation in Table</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7181#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After what selection does this work? I tried selecting Period and it doesn't seem to be working... am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191381_Capture.PNG" style="height: 611px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 12:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7181#M571</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-25T12:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation in Table</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7182#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you also select vaue from AccCls and AccN then it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest other approach to calculate YTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 13:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7182#M572</guid>
      <dc:creator>ramkrishna86</dc:creator>
      <dc:date>2018-01-25T13:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation in Table</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7183#M573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetSelectedCount(Period)=1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(rangesum(Below(Sum({&amp;lt;Period=&amp;gt;}Value),0,$(vMonthDiff))), AccCls, AccNm, Period),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(rangesum(Below(Sum({&amp;lt;Period=&amp;gt;}Value),0,Right(Period,2))),AccCls, AccNm, Period))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 13:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-Calculation-in-Table/m-p/7183#M573</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-25T13:36:45Z</dc:date>
    </item>
  </channel>
</rss>

