<?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 Aggr Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-Question/m-p/697961#M252070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon All, I am having an issue with AGGR which I am hoping you will assist with. I need to place a value in a Text Object. The below expression works, but returns the result for every Task_ID. The Task_ID’s are numeric and will always be in sequential order. I only need the Amount for the max Task_ID. =aggr( sum( if(Effective_Date = '2010-01-01 00:00', Amount)), Task_ID ) I need to only sum the Amount for the Max(Task_ID). I am trying the below expression, but is does not return any value. =aggr( sum( max(if(Effective_Date = '2010-01-01 00:00', [Loan Disbursement Amount]), Task_ID)), Task_ID ) Regards, John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jul 2014 13:13:09 GMT</pubDate>
    <dc:creator>johngouws</dc:creator>
    <dc:date>2014-07-02T13:13:09Z</dc:date>
    <item>
      <title>Aggr Question</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Question/m-p/697961#M252070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon All, I am having an issue with AGGR which I am hoping you will assist with. I need to place a value in a Text Object. The below expression works, but returns the result for every Task_ID. The Task_ID’s are numeric and will always be in sequential order. I only need the Amount for the max Task_ID. =aggr( sum( if(Effective_Date = '2010-01-01 00:00', Amount)), Task_ID ) I need to only sum the Amount for the Max(Task_ID). I am trying the below expression, but is does not return any value. =aggr( sum( max(if(Effective_Date = '2010-01-01 00:00', [Loan Disbursement Amount]), Task_ID)), Task_ID ) Regards, John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 13:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Question/m-p/697961#M252070</guid>
      <dc:creator>johngouws</dc:creator>
      <dc:date>2014-07-02T13:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Question</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Question/m-p/697962#M252071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FirstSortedValue(aggr(sum(Amount),Task_ID), -Task_ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 13:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Question/m-p/697962#M252071</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-07-02T13:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Question</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Question/m-p/697963#M252072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried something like this:&lt;/P&gt;&lt;P&gt;=sum(aggr(max(if(Effective_Date='2010-01-01 00:00',Task_ID)),[Loan Disbursement Amount]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 13:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Question/m-p/697963#M252072</guid>
      <dc:creator>Greg_Williams</dc:creator>
      <dc:date>2014-07-02T13:53:51Z</dc:date>
    </item>
  </channel>
</rss>

