<?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 Above function help - chart function in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Above-function-help-chart-function/m-p/2104681#M1323</link>
    <description>&lt;P&gt;Hello I am fairly new to qlik, so maybe there’s a way to do this which I don’t understand. I am using the Above() function nested in RangeSum() which essentially gives me the sum of an array. However, I would the 3rd parameter, count, to be dynamic - change accounting to the number of dates available for a particular year. Can someone please help me with this? Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 23:02:17 GMT</pubDate>
    <dc:creator>indio99</dc:creator>
    <dc:date>2025-03-19T23:02:17Z</dc:date>
    <item>
      <title>Above function help - chart function</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Above-function-help-chart-function/m-p/2104681#M1323</link>
      <description>&lt;P&gt;Hello I am fairly new to qlik, so maybe there’s a way to do this which I don’t understand. I am using the Above() function nested in RangeSum() which essentially gives me the sum of an array. However, I would the 3rd parameter, count, to be dynamic - change accounting to the number of dates available for a particular year. Can someone please help me with this? Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 23:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Above-function-help-chart-function/m-p/2104681#M1323</guid>
      <dc:creator>indio99</dc:creator>
      <dc:date>2025-03-19T23:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Above function help - chart function</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Above-function-help-chart-function/m-p/2104812#M1324</link>
      <description>&lt;P&gt;You can utilize the Count function to dynamically change the range for the &lt;STRONG&gt;Above() &lt;/STRONG&gt;function based on the number of dates available for a particular year. For example, you might use this: &lt;STRONG&gt;RangeSum(Above(Sum(Value), 0, Count(DISTINCT DateField)))&lt;/STRONG&gt;. In this example, DateField would be the name of the field containing your dates. The &lt;STRONG&gt;Above() &lt;/STRONG&gt;function will then look at the range above the current row, up to the number of distinct dates you have.&lt;BR /&gt;&lt;BR /&gt;If you need to filter this specifically by a year, you could modify this to include a set analysis within the Count function: &lt;STRONG&gt;RangeSum(Above(Sum(Value), 0, Count({&amp;lt;YearField={$=(Year(Today()))}&amp;gt;} DISTINCT DateField)))&lt;/STRONG&gt;. Here, &lt;STRONG&gt;YearField&lt;/STRONG&gt; would be the name of the field containing the year value, and&lt;STRONG&gt; Year(Today())&lt;/STRONG&gt; would evaluate to the current year. You would adjust this expression to filter based on the specific year you are interested in. Remember to replace &lt;STRONG&gt;Value, DateField, and YearField &lt;/STRONG&gt;with your actual field names&lt;BR /&gt;&lt;BR /&gt;Please refer to this other &lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Above-function-help-chart-function/td-p/2102831" target="_blank"&gt;post &lt;/A&gt;with a similar question for more information&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 07:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Above-function-help-chart-function/m-p/2104812#M1324</guid>
      <dc:creator>Chirantha</dc:creator>
      <dc:date>2023-08-11T07:33:20Z</dc:date>
    </item>
  </channel>
</rss>

