<?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 on line chart with 2 dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeSum-on-line-chart-with-2-dimensions/m-p/2141470#M92830</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;got a line chart with 1 dimension called Category&lt;BR /&gt;I got a simply expression sum(man_days)&lt;BR /&gt;I want the cumulative sum so I used the &lt;STRONG&gt;rangesum(above(sum(man_days),0,rowno()))&lt;/STRONG&gt; and it works fine&lt;BR /&gt;Now I added a new dimension called Division and I want to calculate the cumulative % of mandays per each division by category&lt;/P&gt;
&lt;P&gt;the expression is now&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;rangesum(above(sum(man_days)/sum(total&amp;lt;Division&amp;gt;man_days),1,rowno()))&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;the above expression doesn't work ( i mean no accumulation is made) checked&amp;nbsp;rangesum(above(sum(man_days)/sum(total&amp;lt;Division&amp;gt;man_days),1,rowno())) it gives zero&lt;BR /&gt;&lt;BR /&gt;I then tried &lt;STRONG&gt;aggr(rangesum(above(sum(man_days)/sum(total&amp;lt;Division&amp;gt;man_days),1,rowno())) ,CAtegory, Divsion)&lt;/STRONG&gt; but didn't work&lt;BR /&gt;&lt;BR /&gt;Kindly advise&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 09:27:13 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2023-11-27T09:27:13Z</dc:date>
    <item>
      <title>RangeSum on line chart with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-on-line-chart-with-2-dimensions/m-p/2141470#M92830</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;got a line chart with 1 dimension called Category&lt;BR /&gt;I got a simply expression sum(man_days)&lt;BR /&gt;I want the cumulative sum so I used the &lt;STRONG&gt;rangesum(above(sum(man_days),0,rowno()))&lt;/STRONG&gt; and it works fine&lt;BR /&gt;Now I added a new dimension called Division and I want to calculate the cumulative % of mandays per each division by category&lt;/P&gt;
&lt;P&gt;the expression is now&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;rangesum(above(sum(man_days)/sum(total&amp;lt;Division&amp;gt;man_days),1,rowno()))&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;the above expression doesn't work ( i mean no accumulation is made) checked&amp;nbsp;rangesum(above(sum(man_days)/sum(total&amp;lt;Division&amp;gt;man_days),1,rowno())) it gives zero&lt;BR /&gt;&lt;BR /&gt;I then tried &lt;STRONG&gt;aggr(rangesum(above(sum(man_days)/sum(total&amp;lt;Division&amp;gt;man_days),1,rowno())) ,CAtegory, Divsion)&lt;/STRONG&gt; but didn't work&lt;BR /&gt;&lt;BR /&gt;Kindly advise&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-on-line-chart-with-2-dimensions/m-p/2141470#M92830</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2023-11-27T09:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum on line chart with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-on-line-chart-with-2-dimensions/m-p/2141477#M92831</link>
      <description>&lt;P&gt;RangeSum(Above(Sum(man_days) / Sum(Total &amp;lt;Division&amp;gt; man_days), 0, RowNo(Total &amp;lt;Category, Division&amp;gt;)))&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-on-line-chart-with-2-dimensions/m-p/2141477#M92831</guid>
      <dc:creator>Aasir</dc:creator>
      <dc:date>2023-11-27T09:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum on line chart with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-on-line-chart-with-2-dimensions/m-p/2141522#M92836</link>
      <description>&lt;P&gt;rowno() doesn't take other than Total as parameter&lt;/P&gt;
&lt;P&gt;please if you are not sure of the answer, don't post it&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 11:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-on-line-chart-with-2-dimensions/m-p/2141522#M92836</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2023-11-27T11:24:42Z</dc:date>
    </item>
  </channel>
</rss>

