<?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: Aggr(Rangesum()) doesn't count off-table data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-Rangesum-doesn-t-count-off-table-data/m-p/1615136#M45804</link>
    <description>&lt;P&gt;Thanks for that quick reply. It seems to work fine.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 06:01:04 GMT</pubDate>
    <dc:creator>Gestion-PSD</dc:creator>
    <dc:date>2019-08-22T06:01:04Z</dc:date>
    <item>
      <title>Aggr(Rangesum()) doesn't count off-table data</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-Rangesum-doesn-t-count-off-table-data/m-p/1614641#M45779</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;We're facing issues with an Aggr(RangeSum(...)) expression.&lt;/P&gt;&lt;P&gt;I'd try to explain the situation:&lt;/P&gt;&lt;P&gt;We want a straigh table with WeekName as dimension and a cummulative Count as measure. (It should be a straigh table for Nprinting reports).&lt;/P&gt;&lt;P&gt;Our WeekName dimension should be 'truncated' to show from week 2019/21 to now, but there're older data that must be accumulate in the first row (WeekName 2019/21 should show its count plus previous weeks count)&lt;/P&gt;&lt;P&gt;We'd tryed with&lt;/P&gt;&lt;P&gt;Aggr(RangeSum(Above(Count({SetAnalysis} distinct[ID]), 0, RowNo())),WeekName)&lt;/P&gt;&lt;P&gt;as measure. It works almost fine, but not at all. This expression in fact show the accumulate of older weeks in the first row, but it shows nulls in rows with no data. (see image below, column "1.PA")&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17413iBCCCFE56679FCE55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We'd also tryed with the measure&lt;/P&gt;&lt;P&gt;RangeSum(Above(Count({SetAnalysis} distinct[ID]), 0, RowNo()))&lt;/P&gt;&lt;P&gt;and also works almost fine. This expression show te accumulate of above rows in each row, bot it doesn't show data older tan first week (see image below, column "1. PA")&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17414i54FCF9289550E34A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We're loonkg for an expression that "mix" both behaviors: Show the accumulate of older weeks in first row, and the accumulate of above rows in each row. I mean, Column 1.PA should show values 2,2,2,5,5,13,20,20,24,...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a look to "Total" column, it show the desired data with&lt;/P&gt;&lt;P&gt;Aggr(RangeSum(Above(Count({SetAnalysis} distinct[ID]), 0, RowNo())),WeekName)&lt;/P&gt;&lt;P&gt;The only difference between both expression is the SetAnalysis: Expression for "1. PA" column includes {&amp;lt;[TaskType] = {'1. PA'}&amp;gt;} and expression for "Total" column doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help us?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-Rangesum-doesn-t-count-off-table-data/m-p/1614641#M45779</guid>
      <dc:creator>Gestion-PSD</dc:creator>
      <dc:date>2024-11-16T04:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(Rangesum()) doesn't count off-table data</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-Rangesum-doesn-t-count-off-table-data/m-p/1615023#M45797</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Aggr(
  RangeSum(Above(
    Count({SetAnalysis} DISTINCT [ID]) + Sum({1} 0)
  , 0, RowNo()))
, WeekName)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 21 Aug 2019 18:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-Rangesum-doesn-t-count-off-table-data/m-p/1615023#M45797</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-21T18:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(Rangesum()) doesn't count off-table data</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-Rangesum-doesn-t-count-off-table-data/m-p/1615136#M45804</link>
      <description>&lt;P&gt;Thanks for that quick reply. It seems to work fine.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 06:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-Rangesum-doesn-t-count-off-table-data/m-p/1615136#M45804</guid>
      <dc:creator>Gestion-PSD</dc:creator>
      <dc:date>2019-08-22T06:01:04Z</dc:date>
    </item>
  </channel>
</rss>

