<?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: Using RangeSum values conditionally in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-RangeSum-values-conditionally/m-p/663905#M241796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use an if-loop or set analysis within your rangesum, maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date = {"&amp;gt;=$(vMin)&amp;lt;=$(vMax)"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 09:10:50 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-09-23T09:10:50Z</dc:date>
    <item>
      <title>Using RangeSum values conditionally</title>
      <link>https://community.qlik.com/t5/QlikView/Using-RangeSum-values-conditionally/m-p/663904#M241795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to Qlikview and need some help figuring out on how to use RangeSum functionality. I was able to create cumulative values across a pivot table using the following formula -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum(Alt(Before([Amount Acc]), 0), Sum([Amount]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amount is the column being accumulated and Amount Acc is my expression on the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to conditionally show the accumulated values in the pivot table based on a range of values of that a user will input. For this I've created two variables vMax and vMin. Is there anyway I can limit the accumulated values to between these 2 variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-RangeSum-values-conditionally/m-p/663904#M241795</guid>
      <dc:creator />
      <dc:date>2014-09-22T16:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using RangeSum values conditionally</title>
      <link>https://community.qlik.com/t5/QlikView/Using-RangeSum-values-conditionally/m-p/663905#M241796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use an if-loop or set analysis within your rangesum, maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date = {"&amp;gt;=$(vMin)&amp;lt;=$(vMax)"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 09:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-RangeSum-values-conditionally/m-p/663905#M241796</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-23T09:10:50Z</dc:date>
    </item>
  </channel>
</rss>

