<?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: RangeSum function in script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1946058#M77959</link>
    <description>&lt;P&gt;You need to adapt it to your used dimensionality - this means you may need to include more checks within the if-loop(s) as just A = previous(A) - and/or the sorting is different which is applied per order by statement.&lt;/P&gt;
&lt;P&gt;You may just add a recno() and a rowno() within the load to see which source-record becomes now which target-record and with this information you could adjust the sorting.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 07:36:29 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2022-06-21T07:36:29Z</dc:date>
    <item>
      <title>RangeSum function in script</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1944511#M77833</link>
      <description>&lt;P&gt;Hi Qlikers,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't know why but i am always having troubles to create measure from front-end in data_load_editor script;&lt;BR /&gt;How to write this expression in script please in order to get the third column in prtscr:&lt;BR /&gt;&lt;STRONG&gt;RANGESUM(ABOVE(TOTAL SUM([_C_Free_Stock_Balance(Fixed)]),0,ROWNO(TOTAL)))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;whatever i tried in script, i get different numbers..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ena1309_0-1655377779127.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81923iF218190DD858D70D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ena1309_0-1655377779127.png" alt="ena1309_0-1655377779127.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 11:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1944511#M77833</guid>
      <dc:creator>ena1309</dc:creator>
      <dc:date>2022-06-16T11:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum function in script</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1944611#M77845</link>
      <description>&lt;P&gt;It might be look like:&lt;/P&gt;
&lt;P&gt;t: load A, B, C, if(A = previous(A), rangesum(C, peek('D')), C) as D&lt;BR /&gt;resident X order by A, B;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 13:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1944611#M77845</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-06-16T13:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum function in script</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1945388#M77918</link>
      <description>&lt;P&gt;unfortunately something doesn't calculate right, because with that function I get different values than when I do it front in master item &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jun 2022 19:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1945388#M77918</guid>
      <dc:creator>ena1309</dc:creator>
      <dc:date>2022-06-19T19:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum function in script</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1946058#M77959</link>
      <description>&lt;P&gt;You need to adapt it to your used dimensionality - this means you may need to include more checks within the if-loop(s) as just A = previous(A) - and/or the sorting is different which is applied per order by statement.&lt;/P&gt;
&lt;P&gt;You may just add a recno() and a rowno() within the load to see which source-record becomes now which target-record and with this information you could adjust the sorting.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 07:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-function-in-script/m-p/1946058#M77959</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-06-21T07:36:29Z</dc:date>
    </item>
  </channel>
</rss>

