<?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: Cummulative amount by date selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cummulative-amount-by-date-selection/m-p/1790348#M1210559</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;LOAD %ID,&lt;BR /&gt;%Date,&lt;BR /&gt;Amount&lt;BR /&gt;FROM&lt;BR /&gt;[dummy.xls]&lt;BR /&gt;(biff, embedded labels, table is Sheet1$)&lt;BR /&gt;Where %ID &amp;lt;&amp;gt; 'Total';&lt;/P&gt;&lt;P&gt;LOad *, If(%ID = Peek('%ID'), Amount+Peek('Cummulative'), Amount) as Cummulative Resident Temp Order by %ID, %Date;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 06:15:26 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-03-11T06:15:26Z</dc:date>
    <item>
      <title>Cummulative amount by date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Cummulative-amount-by-date-selection/m-p/1790342#M1210558</link>
      <description>&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;I'd like to perform a cumulative sum by date preferably in the scripts.&lt;/P&gt;&lt;P&gt;In the table below column(1) has the raw values, whilst column(2) displays the cumulative figure.&lt;/P&gt;&lt;P&gt;Now upon selecting a date i.e. 12/10/2020 this expression "(RangeSum(Above(SUM({&amp;lt;%Date={"&amp;lt;=$(=MAX(%Date))"} &amp;gt;}m_InterestAccruals),0,RowNo())))" , sums up from 22/09/2020 to give a correct output of&amp;nbsp;258,655.08&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peter_brown_2-1615436153221.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50922iCF5AFDEE40E4D959/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peter_brown_2-1615436153221.png" alt="peter_brown_2-1615436153221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My challenge is getting only this total figure of 258,655.08 just a single row each and each time a date is selected.&lt;/P&gt;&lt;P&gt;Sample data attached, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 04:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cummulative-amount-by-date-selection/m-p/1790342#M1210558</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2021-03-11T04:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative amount by date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Cummulative-amount-by-date-selection/m-p/1790348#M1210559</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;LOAD %ID,&lt;BR /&gt;%Date,&lt;BR /&gt;Amount&lt;BR /&gt;FROM&lt;BR /&gt;[dummy.xls]&lt;BR /&gt;(biff, embedded labels, table is Sheet1$)&lt;BR /&gt;Where %ID &amp;lt;&amp;gt; 'Total';&lt;/P&gt;&lt;P&gt;LOad *, If(%ID = Peek('%ID'), Amount+Peek('Cummulative'), Amount) as Cummulative Resident Temp Order by %ID, %Date;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 06:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cummulative-amount-by-date-selection/m-p/1790348#M1210559</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-03-11T06:15:26Z</dc:date>
    </item>
  </channel>
</rss>

