<?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 Sum in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2138094#M92500</link>
    <description>&lt;P&gt;Thank you very much Vincent. Managed to get the results. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 14:58:43 GMT</pubDate>
    <dc:creator>americanetsMD</dc:creator>
    <dc:date>2023-11-15T14:58:43Z</dc:date>
    <item>
      <title>Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135398#M92277</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;consider the next table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="693"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;ID&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;CheckNr&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Year&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Period&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Value&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Cumulative EXPECTED&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002295481&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;01.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;39.531,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;39.531,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;01.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;0,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;39.531,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002295481&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;02.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;17.729,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;57.260,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;03.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;14.910,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;72.170,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002280650&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;04.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;38.224,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;110.394,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002280650&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;05.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;22.042,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;132.436,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002280650&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;06.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-7.395,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;125.041,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002295481&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;07.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-18.807,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;106.234,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;33.148,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;139.382,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;09.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-18.827,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;120.555,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002124331&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;10.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;11.340,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;131.895,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002223674&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;11.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-9.730,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;122.165,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002305918&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;12.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-7.425,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;114.740,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002124331&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;12.2022&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-25.964,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;88.776,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002124251&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;02.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2.023,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;90.799,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;03.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;86.068,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;176.867,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;04.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-136.292,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;40.575,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002351693&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;05.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3.207,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;43.782,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;06.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;102.385,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;146.167,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;07.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-105.491,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;40.676,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;keine Zuordnung&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;88.776,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;129.452,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002124331&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;14.624,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;144.076,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002223674&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;9.730,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;153.806,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002305918&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;7.425,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;161.231,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002280650&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-22.965,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;138.266,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002131001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-29.231,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;109.035,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002295481&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;08.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-38.453,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;70.582,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3002&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;3002280650&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;09.2023&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;19.170,00&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;89.752,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this table i have to calculate the cumulative amount for each ID, no matter the period, as you can see in the column "Cumulative EXPECTED".&lt;/P&gt;
&lt;P&gt;I have to create a Pivot table based on these columns (without column "Value").&lt;/P&gt;
&lt;P&gt;Can anyone please suggest a way i can do this.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 13:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135398#M92277</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2023-11-07T13:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135405#M92278</link>
      <description>&lt;P&gt;or how to get a cumulative sum per year, where amount for january every year =&amp;nbsp; amount january + total amount last year.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 13:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135405#M92278</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2023-11-07T13:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135418#M92279</link>
      <description>&lt;P&gt;Something like this:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RangeSum(Above(TOTAL Sum(Value),1,RowNo(TOTAL)),Sum(Value))&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135418#M92279</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-07T14:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135433#M92280</link>
      <description>&lt;P&gt;Hi Vincent,&lt;/P&gt;
&lt;P&gt;This works fine in a straight table. However, i cannot use this formula in the pivot table. This is why i am hoping there is a way to do this in the script maybe, so that i have a column with all cumulated amount.&lt;/P&gt;
&lt;P&gt;p.s i have also tried to get the result by creating an As-Of Table by Period, but the number is reseted every year, and i need that amount from period 12 last year. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="americanetsMD_0-1699366826021.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119493i769C613A05931B54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="americanetsMD_0-1699366826021.png" alt="americanetsMD_0-1699366826021.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135433#M92280</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2023-11-07T14:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135446#M92281</link>
      <description>&lt;P&gt;Ok, in the script do something like this (your source table is [SourceTable]):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;TargetTable:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load *,RangeSum(Value,Peek(Cumulative)) as Cumulative Resident SourceTable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;order by Period,CheckNr;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;drop Table SourceTable;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135446#M92281</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-07T14:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135475#M92282</link>
      <description>&lt;P&gt;I have tried you code, but i get some weird numbers... i believe that the reasons are that there are multiple IDs in the table, and the Order By also does not work somehow properly.&lt;/P&gt;
&lt;P&gt;I mean, i have filtered the table to one ID and tried the Order By different fields and also made it ASC, and i am still getting incorect values.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 15:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135475#M92282</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2023-11-07T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135484#M92283</link>
      <description>&lt;P&gt;Maybe this is because your field Period is not seen as a date but as a number.&lt;BR /&gt;For example, this one is working fine on my side, but I have converted Period initially.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;SourceTable:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load ID,CheckNr,Year,MakeDate(Right(Period,4),Left(Period,2)) as Period,Value Inline&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[ID,CheckNr,Year,Period,Value&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002295481, 2022,01.2022,39531&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2022,01.2022,0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002295481, 2022,02.2022,17729&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2022,03.2022,14910&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002280650, 2022,04.2022,38224&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002280650, 2022,05.2022,22042&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002280650, 2022,06.2022,-7395&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002295481, 2022,07.2022,-18807&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2022,08.2022,33148&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2022,09.2022,-18827&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002124331, 2022,10.2022,11340&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002223674, 2022,11.2022,-9730&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002305918, 2022,12.2022,-7425&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002124331, 2022,12.2022,-25964&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002124251, 2023,02.2023,2023&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2023,03.2023,86068&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2023,04.2023,-136292&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002351693, 2023,05.2023,3207&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2023,06.2023,102385&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2023,07.2023,-105491&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,keine Zuordnung,2023,08.2023,88776&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002124331, 2023,08.2023,14624&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002223674, 2023,08.2023,9730&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002305918, 2023,08.2023,7425&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002280650, 2023,08.2023,-22965&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002131001, 2023,08.2023,-29231&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002295481, 2023,08.2023,-38453&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3002,3002280650, 2023,09.2023,19170];&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;TargetTable:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load *,RangeSum(Value,Peek(Cumulative)) as Cumulative Resident SourceTable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;order by Period,CheckNr;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;drop Table SourceTable;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 15:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135484#M92283</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-07T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135757#M92312</link>
      <description>&lt;P&gt;Hi Vincent, this code seems to work only when there is one ID. But i have Many ID, that can have the same checkNr.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering if it's possible to somehow sum cumulative for the whole year, and store the value into january next year. In this case, cumulate sum for year 2022 must be =&amp;nbsp;&lt;SPAN&gt;88.776,00. This value should be stored as new value for Periode 01.2023. Then i could comfortably use the As- Of Table in order to get the cumulative sums for each year in the Pivot Table.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 10:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135757#M92312</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2023-11-08T10:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135758#M92313</link>
      <description>&lt;P&gt;In the end it would look like:&lt;/P&gt;
&lt;TABLE width="693"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="75.3594px" height="25px"&gt;3002&lt;/TD&gt;
&lt;TD width="159.344px" height="25px"&gt;3002124331&lt;/TD&gt;
&lt;TD width="75.3594px" height="25px"&gt;2022&lt;/TD&gt;
&lt;TD width="110.375px" height="25px"&gt;12.2022&lt;/TD&gt;
&lt;TD width="140.125px" height="25px"&gt;-25.964,00&lt;/TD&gt;
&lt;TD width="131.438px" height="25px"&gt;88.776,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;3002&lt;/TD&gt;
&lt;TD&gt;sumLastYear&lt;/TD&gt;
&lt;TD&gt;2023&lt;/TD&gt;
&lt;TD&gt;01.2023&lt;/TD&gt;
&lt;TD&gt;88.776,00&lt;/TD&gt;
&lt;TD&gt;88.776,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="75.3594px" height="25px"&gt;3002&lt;/TD&gt;
&lt;TD width="159.344px" height="25px"&gt;3002124251&lt;/TD&gt;
&lt;TD width="75.3594px" height="25px"&gt;2023&lt;/TD&gt;
&lt;TD width="110.375px" height="25px"&gt;02.2023&lt;/TD&gt;
&lt;TD width="140.125px" height="25px"&gt;2.023,00&lt;/TD&gt;
&lt;TD width="131.438px" height="25px"&gt;90.799,00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 08 Nov 2023 10:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135758#M92313</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2023-11-08T10:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135777#M92315</link>
      <description>&lt;P&gt;Sorry I missed the "for each ID", this should be better, and I have added a YearlyCumulative field:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;TargetTable:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load &lt;BR /&gt;&amp;nbsp; &amp;nbsp; *&lt;BR /&gt;&amp;nbsp; &amp;nbsp;,If(Peek(ID)=ID,RangeSum(Value,Peek(TotalCumulative)),Value) as TotalCumulative&lt;BR /&gt;&amp;nbsp; &amp;nbsp;,If(Peek(Year)=Year and Peek(ID)=ID,RangeSum(Value,Peek(YearlyCumulative)),Value) as YearlyCumulative &lt;BR /&gt;Resident SourceTable&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;order by ID,Period,CheckNr;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 10:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2135777#M92315</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-08T10:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2138094#M92500</link>
      <description>&lt;P&gt;Thank you very much Vincent. Managed to get the results. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 14:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Sum/m-p/2138094#M92500</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2023-11-15T14:58:43Z</dc:date>
    </item>
  </channel>
</rss>

