<?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: Running total at max date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650353#M237864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've wrapped the expression in this: max(aggr( exp , [Visit Date]))&amp;nbsp; and it's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2014 14:32:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-25T14:32:39Z</dc:date>
    <item>
      <title>Running total at max date</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650347#M237858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the following expression to accumulate figures in a column:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;aggr&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Above&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;aggr&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;({&amp;lt;&lt;/SPAN&gt;ID&lt;SPAN class="s2"&gt; = {'34'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Total&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &amp;lt;&lt;/SPAN&gt;[Visit IP Country ISO]&lt;SPAN class="s2"&gt;,&lt;/SPAN&gt;[Visit Date]&lt;SPAN class="s2"&gt;&amp;gt; &lt;/SPAN&gt;Signups&lt;SPAN class="s2"&gt;)&lt;BR /&gt; ,&lt;/SPAN&gt;[Visit IP Country ISO]&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;[Visit Date]&lt;SPAN class="s2"&gt;)&lt;BR /&gt; )&lt;BR /&gt; , 0, &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;()))&lt;BR /&gt; ,&lt;/SPAN&gt;[Visit IP Country ISO]&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;[Visit Date]&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This works well, but the expression total is the sum of the accumulated values, whereas I need the expression total to be the running total at the max date. Can anyone think of a way to add this logic to the expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Here's a screenshot illustrating the output I'm after. 235, the running total at max date should be the expression total instead of 1001:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="Screen Shot 2014-07-24 at 17.28.51.png" class="jive-image" src="/legacyfs/online/63096_Screen Shot 2014-07-24 at 17.28.51.png" style="width: 620px; height: 158px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I've attached an example below. Apologies in advance, this is a repost, but I'm in a pinch and would like to get some help on this soon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 21:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650347#M237858</guid>
      <dc:creator />
      <dc:date>2014-07-24T21:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Running total at max date</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650348#M237859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached with answer.&lt;/P&gt;&lt;P&gt;Select Max of Rows for Totals&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 21:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650348#M237859</guid>
      <dc:creator />
      <dc:date>2014-07-24T21:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Running total at max date</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650349#M237860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Test.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63090_Test.png" style="width: 620px; height: 301px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 21:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650349#M237860</guid>
      <dc:creator />
      <dc:date>2014-07-24T21:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Running total at max date</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650350#M237861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max isn't an option for me, it needs to be done with set analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how the expression can be modified to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 21:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650350#M237861</guid>
      <dc:creator />
      <dc:date>2014-07-24T21:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running total at max date</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650351#M237862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I ask why Max wont work for you. It gives the desired result, doesn't it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 21:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650351#M237862</guid>
      <dc:creator />
      <dc:date>2014-07-24T21:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running total at max date</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650352#M237863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to use the expression alone in a text box as well as the straight table and the max option won't work there. In the straight table I'll also be dividing it to create another expression (see column 'CR BL' above) and need the expression total based on max date for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 21:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650352#M237863</guid>
      <dc:creator />
      <dc:date>2014-07-24T21:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Running total at max date</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650353#M237864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've wrapped the expression in this: max(aggr( exp , [Visit Date]))&amp;nbsp; and it's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 14:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-at-max-date/m-p/650353#M237864</guid>
      <dc:creator />
      <dc:date>2014-07-25T14:32:39Z</dc:date>
    </item>
  </channel>
</rss>

