<?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: cumulative line chart - rangesum in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2479045#M100552</link>
    <description>&lt;P data-unlink="true"&gt;Hi Team&amp;nbsp;&lt;SPAN class=""&gt;Dataintellinalytics,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;I have observed that it works equivalent to {1} identifier.&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Also, the TOTAL keyword does not add up for anything&lt;BR /&gt;(I removed the TOTAL keyword and it works the same)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Hence the below solution works the same -&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Aggr(Rangesum({1}Above(&lt;/SPAN&gt;&lt;SPAN&gt;Sales,0,4)),FQ)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Sep 2024 13:23:37 GMT</pubDate>
    <dc:creator>koustubh</dc:creator>
    <dc:date>2024-09-01T13:23:37Z</dc:date>
    <item>
      <title>cumulative line chart - rangesum</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2431435#M96627</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am working in the QlikCloud.&lt;/P&gt;
&lt;P&gt;I have a specified dataset with 20 quarters and sales volume. I would like to show a line chart where I provide for every quarter the cumulated sum of the last four quarters.&lt;/P&gt;
&lt;P&gt;My dimension is: FQ and my expression is: rangesum(above(TOTAL Sales,0,4))&lt;/P&gt;
&lt;P&gt;This works fine, but now I want to select only the last 5 quarters (15-20) and still see meaningful data in the line chart. unfortunately what happens is that if selecting those last 5 quarters, the chart does not show correct values anymore. Instead, in FQ15 I can see only the sales value for this specific quarter and not the sum of 12+13+14+15 anymore, like I would expect. Same for FQ16 &amp;amp; 17. From FQ18 on it is fine again.&lt;/P&gt;
&lt;P&gt;please see attached example.&lt;/P&gt;
&lt;P&gt;Can anyone please explain me what I am missing here?&lt;BR /&gt;I have created a similar chart in QlikView in the past and there it worked fine with the selections.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 16:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2431435#M96627</guid>
      <dc:creator>tobiasaechter</dc:creator>
      <dc:date>2024-03-15T16:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative line chart - rangesum</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2431517#M96632</link>
      <description>&lt;P&gt;Please try this,&lt;BR /&gt;Aggr(Rangesum({&amp;lt;FQ=&amp;gt;}Above(TOTAL Sales,0,4)),FQ)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://youtu.be/sac2z4xyz70" target="_blank"&gt;https://youtu.be/sac2z4xyz70&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Mar 2024 06:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2431517#M96632</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2024-03-16T06:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative line chart - rangesum</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2479044#M100551</link>
      <description>&lt;DIV&gt;one solution is to add an additional column that stores the record of the last 5 quarters (check below query) and then using it in line chart&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Temp:&lt;/DIV&gt;
&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;
&lt;DIV&gt;Load FQ,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Sales,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Sales+peek(Sales)+Peek(Sales,-2)+peek(Sales,-3) as sales_sum&lt;/DIV&gt;
&lt;DIV&gt;Resident Inline&lt;/DIV&gt;
&lt;DIV&gt;Order by FQ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Drop Table Inline;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 12:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2479044#M100551</guid>
      <dc:creator>koustubh</dc:creator>
      <dc:date>2024-09-01T12:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative line chart - rangesum</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2479045#M100552</link>
      <description>&lt;P data-unlink="true"&gt;Hi Team&amp;nbsp;&lt;SPAN class=""&gt;Dataintellinalytics,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;I have observed that it works equivalent to {1} identifier.&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Also, the TOTAL keyword does not add up for anything&lt;BR /&gt;(I removed the TOTAL keyword and it works the same)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Hence the below solution works the same -&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Aggr(Rangesum({1}Above(&lt;/SPAN&gt;&lt;SPAN&gt;Sales,0,4)),FQ)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 13:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-line-chart-rangesum/m-p/2479045#M100552</guid>
      <dc:creator>koustubh</dc:creator>
      <dc:date>2024-09-01T13:23:37Z</dc:date>
    </item>
  </channel>
</rss>

