<?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: How to count that? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497982#M1127106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/438171"&gt;How to count amount for date?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/438206-84520/comm102179.qvw" title="http://community.qlik.com/servlet/JiveServlet/download/438206-84520/comm102179.qvw"&gt;http://community.qlik.com/servlet/JiveServlet/download/438206-84520/comm102179.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the answer. Thanks for cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all we load 3 colums from my table into table &lt;SPAN style="color: #3d3d3d; font-family: inherit;"&gt;&lt;EM&gt;INPUT &lt;/EM&gt;&lt;/SPAN&gt;. Next:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;RESULT:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; Agreement as &lt;SPAN style="color: #3d3d3d; font-family: inherit;"&gt;&lt;EM&gt;Agreement_1&lt;/EM&gt;&lt;/SPAN&gt;,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; Date,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; Amount,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; if(peek(Agreement_1)&amp;lt;&amp;gt;Agreement, Amount, rangesum(peek([Amount for Date]),Amount)) as [Amount for Date]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;Resident INPUT order by Agreement, Date desc;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2013 10:13:18 GMT</pubDate>
    <dc:creator>stantrolav</dc:creator>
    <dc:date>2013-12-18T10:13:18Z</dc:date>
    <item>
      <title>How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497975#M1127099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i count [Amount for date]:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 415px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="81"&gt;Agreement&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="106"&gt;Amount&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="126"&gt;Amount for date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;25.01.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;33999,07&lt;/TD&gt;&lt;TD class="xl72"&gt;167897,57&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;31.01.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;-420,93&lt;/TD&gt;&lt;TD class="xl72"&gt;133898,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;26.02.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;33835,26&lt;/TD&gt;&lt;TD class="xl72"&gt;134319,43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;28.02.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;-105,19&lt;/TD&gt;&lt;TD class="xl72"&gt;100484,17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;25.03.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;33574,91&lt;/TD&gt;&lt;TD class="xl72"&gt;100589,36&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;31.03.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;-210,67&lt;/TD&gt;&lt;TD class="xl72"&gt;67014,45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;25.04.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;33700,58&lt;/TD&gt;&lt;TD class="xl72"&gt;67225,12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;30.04.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;-87,8&lt;/TD&gt;&lt;TD class="xl72"&gt;33524,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1302&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;27.05.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;33612,34&lt;/TD&gt;&lt;TD class="xl72"&gt;33612,34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1303&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;26.02.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;56769,77&lt;/TD&gt;&lt;TD class="xl72"&gt;113209,12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1303&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;28.02.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;-55,3&lt;/TD&gt;&lt;TD class="xl72"&gt;56439,35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1303&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;25.03.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;56494,65&lt;/TD&gt;&lt;TD class="xl72"&gt;56494,65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1304&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;41269&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;115212,56&lt;/TD&gt;&lt;TD class="xl72"&gt;460674,63&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1304&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;30.01.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;-174,66&lt;/TD&gt;&lt;TD class="xl72"&gt;460674,63&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1304&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;31.01.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;115249,02&lt;/TD&gt;&lt;TD class="xl72"&gt;345462,07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1304&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;28.02.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;115157,08&lt;/TD&gt;&lt;TD class="xl72"&gt;345636,73&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1304&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;29.03.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;-116,55&lt;/TD&gt;&lt;TD class="xl72"&gt;230387,71&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" style="border-top: none;" width="81"&gt;1304&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="102"&gt;31.03.2013&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;115347,18&lt;/TD&gt;&lt;TD class="xl72"&gt;115230,63&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here examples with logic:&lt;/P&gt;&lt;P&gt;Amount For Date in 1302 agreement for 28.02.2013 equals sum of all amounts except amounts of days before. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497975#M1127099</guid>
      <dc:creator>stantrolav</dc:creator>
      <dc:date>2013-12-18T08:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497976#M1127100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also this column may be loaded in load script. But how can I make that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497976#M1127100</guid>
      <dc:creator>stantrolav</dc:creator>
      <dc:date>2013-12-18T08:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497977#M1127101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make your question more clear like&lt;/P&gt;&lt;P&gt;your statement&lt;/P&gt;&lt;P&gt;Amount For Date in 1302 agreement for 28.02.2013 equals sum of all amounts except amounts of days before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please write or explain in diffrentt way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;anant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497977#M1127101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-18T08:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497978#M1127102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Amount for date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;is the field that i want to express.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497978#M1127102</guid>
      <dc:creator>stantrolav</dc:creator>
      <dc:date>2013-12-18T08:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497979#M1127103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM(C5:C10)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497979#M1127103</guid>
      <dc:creator>stantrolav</dc:creator>
      <dc:date>2013-12-18T08:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497980#M1127104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I think I understand what Stanislav is asking, but don't know how to write the expression requested. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The way I read it, he wants to know what the expression should be to show the 'Amount for Date' column, based on the following:&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Take the balance from the previous day, minus the 'Amount' for the previous day (a running balance excluding the current date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So, taking 25.03.2013 as an example, the previous 'Amount for Date' is 100,484.17, if you minus the -105.19 you’ll get a new ‘Amount for Date’ as 100,589.36.&amp;nbsp;&amp;nbsp; The next entry (31.03.2013)&amp;nbsp; is 100,589.36 minus 33,574.91 = 67,014.45.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is this what you need Stanlislav?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497980#M1127104</guid>
      <dc:creator>ljackson</dc:creator>
      <dc:date>2013-12-18T09:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497981#M1127105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like attached sample?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Input:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load * Inline [&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Agreement,Date,Amount, "Amount for date"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,25.01.2013,3399907,16789757&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,31.01.2013,-42093,1338985&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,26.02.2013,3383526,13431943&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,28.02.2013,-10519,10048417&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,25.03.2013,3357491,10058936&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,31.03.2013,-21067,6701445&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,25.04.2013,3370058,6722512&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,30.04.2013,-878,3352454&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1302,27.05.2013,3361234,3361234&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1303,26.02.2013,5676977,11320912&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1303,28.02.2013,-553,5643935&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1303,25.03.2013,5649465,5649465&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1304,41269,11521256,46067463&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1304,30.01.2013,-17466,46067463&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1304,31.01.2013,11524902,34546207&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1304,28.02.2013,11515708,34563673&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1304,29.03.2013,-11655,23038771&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;1304,31.03.2013,11534718,11523063&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;outer join&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Agreement,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Date as NewDate&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Resident Input;&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt;Output:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Load Agreement, Date, Amount, "Amount for date",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Count(If(NewDate&amp;gt;=Date,Amount)) as CountF&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Resident Input Group By Agreement, Date, Amount, "Amount for date";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Drop Table Input;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497981#M1127105</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-18T09:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to count that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497982#M1127106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/438171"&gt;How to count amount for date?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/438206-84520/comm102179.qvw" title="http://community.qlik.com/servlet/JiveServlet/download/438206-84520/comm102179.qvw"&gt;http://community.qlik.com/servlet/JiveServlet/download/438206-84520/comm102179.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the answer. Thanks for cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all we load 3 colums from my table into table &lt;SPAN style="color: #3d3d3d; font-family: inherit;"&gt;&lt;EM&gt;INPUT &lt;/EM&gt;&lt;/SPAN&gt;. Next:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;RESULT:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; Agreement as &lt;SPAN style="color: #3d3d3d; font-family: inherit;"&gt;&lt;EM&gt;Agreement_1&lt;/EM&gt;&lt;/SPAN&gt;,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; Date,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; Amount,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; if(peek(Agreement_1)&amp;lt;&amp;gt;Agreement, Amount, rangesum(peek([Amount for Date]),Amount)) as [Amount for Date]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;Resident INPUT order by Agreement, Date desc;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-that/m-p/497982#M1127106</guid>
      <dc:creator>stantrolav</dc:creator>
      <dc:date>2013-12-18T10:13:18Z</dc:date>
    </item>
  </channel>
</rss>

