<?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: help - aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333766#M492339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gopi,&amp;nbsp; Please find the attachments. I hope this will helpful for you.&amp;nbsp; Regards Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2012 14:03:01 GMT</pubDate>
    <dc:creator>sathishkumar_go</dc:creator>
    <dc:date>2012-07-04T14:03:01Z</dc:date>
    <item>
      <title>help - aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333764#M492337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the sum(amount) only ID's having selected date - max(date) is less than or equal to 556.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 11:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333764#M492337</guid>
      <dc:creator />
      <dc:date>2012-07-04T11:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: help - aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333765#M492338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum(aggr(if(Today()-max(DMonthEnd)&amp;lt;=556, sum(Amount)),ID))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will return a higher amount than given by you, since also IDs 7,8,10 are fulfilling the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This set expression should also work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum({&amp;lt;ID = {"=today()-max(DMonthEnd) &amp;lt;=556" }&amp;gt;}Amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 11:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333765#M492338</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-04T11:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: help - aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333766#M492339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gopi,&amp;nbsp; Please find the attachments. I hope this will helpful for you.&amp;nbsp; Regards Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 14:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333766#M492339</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2012-07-04T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: help - aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333767#M492340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you swuehl,sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried the delow expression, its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;ID={"=today()-max(DMonthEnd)&amp;lt;=555"}&amp;gt;}Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 03:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-aggr-function/m-p/333767#M492340</guid>
      <dc:creator />
      <dc:date>2012-07-05T03:42:37Z</dc:date>
    </item>
  </channel>
</rss>

