<?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: Aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244649#M394835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am getting only Week 3-9 as output...i want this same output with all the weeks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 02:25:16 GMT</pubDate>
    <dc:creator>saumyashah90</dc:creator>
    <dc:date>2016-11-15T02:25:16Z</dc:date>
    <item>
      <title>Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244646#M394832</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;Please find attached my excel and qvw for expression used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have weekly data representation for two countries.&lt;/P&gt;&lt;P&gt;For a given week(Oct 3rd to Oct 9th) , for one country data comes till 8th and other country data comes till 9th .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have to show display amount at the end of each week.&lt;/P&gt;&lt;P&gt;When i select country separately i get correct data but when i dont select any or select both together i get data only for&amp;nbsp; other country having data till 9th.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want sum of amount for maximum dates for that week.&lt;/P&gt;&lt;P&gt;for example attached.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For a given week(Oct 3rd to Oct 9th) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SG is having data till 8th&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;HK is having data till 9th&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When i select country differently i get correct answer .But when i select it together i get amount for HK only.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 10:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244646#M394832</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2016-11-14T10:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244647#M394833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Sum(Aggr(&lt;/SPAN&gt;FirstSortedValue(Aggr(Sum({&amp;lt;type={'AUM'}&amp;gt;}amount),weekseries,date, &lt;SPAN style="color: #ff0000;"&gt;country&lt;/SPAN&gt;),-Aggr(date,weekseries,date, &lt;SPAN style="color: #ff0000;"&gt;country&lt;/SPAN&gt;))&lt;SPAN style="color: #ff0000;"&gt;, country))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 12:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244647#M394833</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-14T12:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244648#M394834</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((FirstSortedValue(aggr(sum(amount), country,weekseries,date), -date)), country, weekseries))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 12:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244648#M394834</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-11-14T12:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244649#M394835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am getting only Week 3-9 as output...i want this same output with all the weeks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 02:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244649#M394835</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2016-11-15T02:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244650#M394836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i wan this output together with all other week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 02:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244650#M394836</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2016-11-15T02:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244651#M394837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 06:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244651#M394837</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2016-11-15T06:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244652#M394838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(FirstSortedValue(Aggr(Sum({&amp;lt;type={'AUM'}&amp;gt;}amount),weekseries,date, country),-Aggr(date,weekseries,date, country)), country, &lt;SPAN style="color: #ff0000;"&gt;weekseries&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143880_Capture.PNG" style="height: 259px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 07:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244652#M394838</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-15T07:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244653#M394839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;looks good thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 08:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244653#M394839</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2016-11-15T08:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244654#M394840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143904_1.png" style="height: 245px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 08:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/1244654#M394840</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-11-15T08:53:38Z</dc:date>
    </item>
  </channel>
</rss>

