<?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 Need help with RangeSum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937476#M323549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me attempt to state my problem to the best of my ability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have leavers by month Jan (2); Feb (1); Mar (3); Apr (None); May (4); Jun (2) and Jul (None). I would like to calculate YTD Leavers to get the following results:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan (2); Feb (3); Mar (6); Apr (6); May (10); Jun (12) and &lt;/SPAN&gt;Jul (12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: Aggr(RangeSum(SUM({&amp;lt;CalYear={'$(=vCurrentYear)'}&amp;gt;}Leavers), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABOVE(SUM({&amp;lt;CalYear={'$(=vCurrentYear)'}&amp;gt;}Leavers), 1, RowNo())), CalMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"CalMonth" is the dimension used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge is with the month Apr and Jul where no one has left. The RangeSum expression is correct but does not reflect any value for these two months. Thereby I am unable to use the YTD Leaver count and further compute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 11:16:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-31T11:16:48Z</dc:date>
    <item>
      <title>Need help with RangeSum</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937476#M323549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me attempt to state my problem to the best of my ability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have leavers by month Jan (2); Feb (1); Mar (3); Apr (None); May (4); Jun (2) and Jul (None). I would like to calculate YTD Leavers to get the following results:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan (2); Feb (3); Mar (6); Apr (6); May (10); Jun (12) and &lt;/SPAN&gt;Jul (12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: Aggr(RangeSum(SUM({&amp;lt;CalYear={'$(=vCurrentYear)'}&amp;gt;}Leavers), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABOVE(SUM({&amp;lt;CalYear={'$(=vCurrentYear)'}&amp;gt;}Leavers), 1, RowNo())), CalMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"CalMonth" is the dimension used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge is with the month Apr and Jul where no one has left. The RangeSum expression is correct but does not reflect any value for these two months. Thereby I am unable to use the YTD Leaver count and further compute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 11:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937476#M323549</guid>
      <dc:creator />
      <dc:date>2015-08-31T11:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with RangeSum</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937477#M323550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the context you are using the rangesum expression? A chart with dimension CalMonth?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Rangesum( Above( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;CalYear={'$(=vCurrentYear)'}&amp;gt;}Leavers), 0,Rowno() ))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 11:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937477#M323550</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-31T11:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with RangeSum</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937478#M323551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am using it in a chart. The suggested solution did not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 11:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937478#M323551</guid>
      <dc:creator />
      <dc:date>2015-08-31T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with RangeSum</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937479#M323552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A chart with more dimensions than 1 (CalMonth)? Could you post a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 11:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937479#M323552</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-31T11:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with RangeSum</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937480#M323553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is your calmonth sorted properly? may be you should use a numeric month so that the above function returns the correct results..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 13:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937480#M323553</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-31T13:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with RangeSum</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937481#M323554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delayed response. I have attached a sample QVW with a note on my expectation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 04:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-RangeSum/m-p/937481#M323554</guid>
      <dc:creator />
      <dc:date>2015-09-01T04:31:02Z</dc:date>
    </item>
  </channel>
</rss>

