<?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: Bank Account Balance in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819225#M11286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Janusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my formula in excel I used that to calculate the PREVIOUS DAY END BALANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I SUM the PREVIOUS DAY END BALANCE + TODAY BALANCE, and then I got the "RUNNING TOTAL" BALANCE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say that I have movements (credit and debit) in an account starting in 01/01/2000 and ending today:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEBIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TODAY BALANCE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL BALANCE&lt;/P&gt;&lt;P&gt;01/08/2014&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t wanna show all dates from 01/01/2000 on the table/chart, I just wanna select and show todays movements and balance like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEBIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TODAY BALANCE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL BALANCE&lt;/P&gt;&lt;P&gt;01/08/2014&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to get the total balance I need the previous dates running total balances (witch in this example is 50,00). I figured out yesterday, that I can do that, using RANGESUM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGESUM(ABOVE(SUM({1&amp;lt;ACCOUNT = P(ACCOUNT), DATE = {"=$(=(date(MIN(DATE))))"} &amp;gt;} BALANCE),0,ROWNO()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I could not find a way, to consider the previous dates in the calc, without showing it on the table/chart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I need, consider previous dates (all dates) in the calc, but just show the selected dates on the table/chart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I could not explain better. Again... I appreciated your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Henrique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 12:01:19 GMT</pubDate>
    <dc:creator>hvfalcao</dc:creator>
    <dc:date>2015-01-08T12:01:19Z</dc:date>
    <item>
      <title>Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819219#M11280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I create a calculated field like this excel formula in Sense:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Consulta" is the PivotTable name, witch have movements from a lot of bank accounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=CALCULATE(SUM(Consulta[BALANCE]);FILTER(ALLEXCEPT(Consulta;Consulta[ACCOUNT];CONTA[ACCOUNT]);Consulta[DATE]&amp;lt;MIN(Consulta[DATE])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What this formula do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- SUM the bank account BALANCE (credit - debit) WHERE DATE is less than the MIN selected date on the report, ignoring all filters (except the field ACCOUNT). This I call INITIAL BALANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- In other words, I want calculate the running total of the bank account by the select period plus the INICIAL BALANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I was not clear enough let me know to explain better.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 19:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819219#M11280</guid>
      <dc:creator>hvfalcao</dc:creator>
      <dc:date>2015-01-05T19:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819220#M11281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Henrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my understanding is correct you are looking for something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt; FIELD_1=, FIELD_2=, DATE = {"&amp;lt;=$(=date(min(DATE)))"} &amp;gt;} BALANCE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;FIELD_1 and FIELD_2 are fields you want filters to be ignorre (you would have to list all fields except ACCOUNT).&lt;/P&gt;&lt;P&gt;You might use the CONCAT function to achieve that automatically (search the community for the solution).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might as well do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM( {1&amp;lt; ACCOUNT = P(ACCOUNT), DATE = {"&amp;lt;=$(=date(min(DATE)))"} &amp;gt;} BALANCE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however I found it to work slower comparing to the first expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, give it a try and let me know if you have any further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 12:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819220#M11281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T12:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819221#M11282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could almost got what I want with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABOVE(SUM( {1&amp;lt; ACCOUNT = P(ACCOUNT), DATE = {"&amp;lt;$(=date(MAX(DATE)))"} &amp;gt;} BALANCE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is that it is still showing the Dates before my date selection... I just wanna see in the table the dates i´ve selected... Please check the print-screens bellow:&lt;/P&gt;&lt;P&gt;The calculated field with the above formula is "Saldo Anterior"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="balance1.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74701_balance1.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="balance2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/74705_balance2.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 17:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819221#M11282</guid>
      <dc:creator>hvfalcao</dc:creator>
      <dc:date>2015-01-06T17:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819222#M11283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;ABOVE(SUM( {1&amp;lt; ACCOUNT = P(ACCOUNT), DATE = {"&amp;gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;$(=date(MIN(DATE)))&lt;/SPAN&gt;&amp;lt;$(=date(MAX(DATE)))"} &amp;gt;} BALANCE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Janusz&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819222#M11283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-07T13:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819223#M11284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it didnt worked out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to SUM the above BALANCE line, but just show on the table the selected dates on the filter... If I dont select the date, I need to SUM that line anyway (that is working), but dont show on the report (this is not working)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 22:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819223#M11284</guid>
      <dc:creator>hvfalcao</dc:creator>
      <dc:date>2015-01-07T22:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819224#M11285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain again the logic of the date selection and the impact it has on the chart you are showing, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 11:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819224#M11285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T11:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819225#M11286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Janusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my formula in excel I used that to calculate the PREVIOUS DAY END BALANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I SUM the PREVIOUS DAY END BALANCE + TODAY BALANCE, and then I got the "RUNNING TOTAL" BALANCE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say that I have movements (credit and debit) in an account starting in 01/01/2000 and ending today:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEBIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TODAY BALANCE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL BALANCE&lt;/P&gt;&lt;P&gt;01/08/2014&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t wanna show all dates from 01/01/2000 on the table/chart, I just wanna select and show todays movements and balance like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEBIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TODAY BALANCE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTAL BALANCE&lt;/P&gt;&lt;P&gt;01/08/2014&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50,00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to get the total balance I need the previous dates running total balances (witch in this example is 50,00). I figured out yesterday, that I can do that, using RANGESUM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGESUM(ABOVE(SUM({1&amp;lt;ACCOUNT = P(ACCOUNT), DATE = {"=$(=(date(MIN(DATE))))"} &amp;gt;} BALANCE),0,ROWNO()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I could not find a way, to consider the previous dates in the calc, without showing it on the table/chart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I need, consider previous dates (all dates) in the calc, but just show the selected dates on the table/chart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I could not explain better. Again... I appreciated your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Henrique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819225#M11286</guid>
      <dc:creator>hvfalcao</dc:creator>
      <dc:date>2015-01-08T12:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819226#M11287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the solution to your scenario is to pre-calculate START BALANCE for each date within a script. &lt;/P&gt;&lt;P&gt;Then in the final expression you will be simply adding TODAY BALANCE to it to calculate TOTAL BALANCE for dates from selected range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will use more space in RAM, however it will bring more simplicity to your expressions at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 14:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819226#M11287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T14:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bank Account Balance</title>
      <link>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819227#M11288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m new to Sense/View, and don´t know how to do it... Any sugestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bank-Account-Balance/m-p/819227#M11288</guid>
      <dc:creator>hvfalcao</dc:creator>
      <dc:date>2015-01-08T16:21:01Z</dc:date>
    </item>
  </channel>
</rss>

