<?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: Running sum help in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Running-sum-help/m-p/1954448#M78716</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;solved working on backend side!&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 10:42:16 GMT</pubDate>
    <dc:creator>avenino</dc:creator>
    <dc:date>2022-07-12T10:42:16Z</dc:date>
    <item>
      <title>Running sum help</title>
      <link>https://community.qlik.com/t5/App-Development/Running-sum-help/m-p/1954168#M78689</link>
      <description>&lt;P&gt;&lt;SPAN class="case-view-details-data"&gt;Hi,&lt;BR /&gt;I need some help with a measure: I'm trying to implement a running sum, so that every month of year shows the sum of itself and the previous ones.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="case-view-details-data"&gt;I tried with:&lt;BR /&gt;RANGESUM(ABOVE(TOTAL $(SelMeasure), 0, YTD))&lt;BR /&gt;where $(SelMeasure) contains the meas I want to sum and YTD the number of month to sum: it works, but I cannot have the right total.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="case-view-details-data"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="running_sum_no_total.png" style="width: 951px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83834iAF66BFFB44570E41/image-size/large?v=v2&amp;amp;px=999" role="button" title="running_sum_no_total.png" alt="running_sum_no_total.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="case-view-details-data"&gt;&lt;BR /&gt;So I tried adding another aggregation:&lt;BR /&gt;SUM(AGGR(RANGESUM(ABOVE(TOTAL $(SelMeasure), 0, YTD)), PDVID, GIROVISITAID))&lt;BR /&gt;but I got a strange result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="case-view-details-data"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="running_sum_with_aggr.png" style="width: 761px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83835i7DA659FE0BEC2812/image-size/large?v=v2&amp;amp;px=999" role="button" title="running_sum_with_aggr.png" alt="running_sum_with_aggr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="case-view-details-data"&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;What am I doing wrong? &lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="case-view-details-data"&gt;Andrea&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 16:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Running-sum-help/m-p/1954168#M78689</guid>
      <dc:creator>avenino</dc:creator>
      <dc:date>2022-07-11T16:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Running sum help</title>
      <link>https://community.qlik.com/t5/App-Development/Running-sum-help/m-p/1954448#M78716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;solved working on backend side!&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 10:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Running-sum-help/m-p/1954448#M78716</guid>
      <dc:creator>avenino</dc:creator>
      <dc:date>2022-07-12T10:42:16Z</dc:date>
    </item>
  </channel>
</rss>

