<?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 RangeSum of 2 different lines in a chart (Region) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeSum-of-2-different-lines-in-a-chart-Region/m-p/1980503#M80918</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Can I ask how I achieve the cumulative sum of each line below, they represent the 2 regions, South and Central?&lt;BR /&gt;I want the South figures to sum up in one line and the Central in another.&lt;/P&gt;
&lt;P&gt;Ex. Central to be 4 + 1 + 12 + 6 etc those being Apr/May/June/July and the same for the South.&lt;BR /&gt;At the moment the RangeSum Sum Central and South together and I don't want that.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I can achieve this when I use one line only but it seems not to be working when I bring the Region Name in.&lt;BR /&gt;&lt;BR /&gt;I posted a screenshot of the table with the count and range sum and how they are currently behaving.&lt;/P&gt;
&lt;P&gt;The formula I used as "height of the line" is the following:&lt;/P&gt;
&lt;P&gt;=RangeSum(Above(COUNT({&amp;lt;WORK_CODE={'HL','HDU','HUR'},CURRENT_FY={'Y'}&amp;gt;}DATA_UP_DT),0,RowNo()))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MZambo89_0-1663079954808.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89021iAFCCEFF64BB2BDDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MZambo89_0-1663079954808.png" alt="MZambo89_0-1663079954808.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MZambo89_1-1663080018641.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89022i5751C7CEFB13D7AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MZambo89_1-1663080018641.png" alt="MZambo89_1-1663080018641.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 14:49:42 GMT</pubDate>
    <dc:creator>MZqlik</dc:creator>
    <dc:date>2022-09-13T14:49:42Z</dc:date>
    <item>
      <title>RangeSum of 2 different lines in a chart (Region)</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-of-2-different-lines-in-a-chart-Region/m-p/1980503#M80918</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Can I ask how I achieve the cumulative sum of each line below, they represent the 2 regions, South and Central?&lt;BR /&gt;I want the South figures to sum up in one line and the Central in another.&lt;/P&gt;
&lt;P&gt;Ex. Central to be 4 + 1 + 12 + 6 etc those being Apr/May/June/July and the same for the South.&lt;BR /&gt;At the moment the RangeSum Sum Central and South together and I don't want that.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I can achieve this when I use one line only but it seems not to be working when I bring the Region Name in.&lt;BR /&gt;&lt;BR /&gt;I posted a screenshot of the table with the count and range sum and how they are currently behaving.&lt;/P&gt;
&lt;P&gt;The formula I used as "height of the line" is the following:&lt;/P&gt;
&lt;P&gt;=RangeSum(Above(COUNT({&amp;lt;WORK_CODE={'HL','HDU','HUR'},CURRENT_FY={'Y'}&amp;gt;}DATA_UP_DT),0,RowNo()))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MZambo89_0-1663079954808.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89021iAFCCEFF64BB2BDDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MZambo89_0-1663079954808.png" alt="MZambo89_0-1663079954808.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MZambo89_1-1663080018641.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89022i5751C7CEFB13D7AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MZambo89_1-1663080018641.png" alt="MZambo89_1-1663080018641.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 14:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-of-2-different-lines-in-a-chart-Region/m-p/1980503#M80918</guid>
      <dc:creator>MZqlik</dc:creator>
      <dc:date>2022-09-13T14:49:42Z</dc:date>
    </item>
  </channel>
</rss>

