<?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: issue with aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986310#M952399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have selected 2015, But for some reason year filter&amp;nbsp; is not being Excluded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2015 18:29:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-25T18:29:23Z</dc:date>
    <item>
      <title>issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986308#M952397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know for what Year the &lt;STRONG&gt;maximum&lt;/STRONG&gt; number of&amp;nbsp; calls are received from Active type over the years in a textbox.(&lt;STRONG&gt;Excluded&lt;/STRONG&gt; the year filter so i have put "Year=")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;STRONG&gt;=max(Aggr(Count({&amp;lt;TYPE={'Active'},Year=&amp;gt;} Call_ID ),Reason,Year)).&lt;/STRONG&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;With this my result in 29813.&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;&lt;STRONG&gt;Individually&lt;/STRONG&gt; for Year &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015 - 29813,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; 2014-32994, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2013- 27661,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2012 - 13343, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2011-7232&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i do the above expression the result should be 32994.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong with the expression??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 18:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986308#M952397</guid>
      <dc:creator />
      <dc:date>2015-11-25T18:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986309#M952398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need a &lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Max(Aggr(Count(DISTINCT{&amp;lt;TYPE={'Active'},Year=&amp;gt;} Call_ID ),Reason,Year)).&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 18:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986309#M952398</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-25T18:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986310#M952399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have selected 2015, But for some reason year filter&amp;nbsp; is not being Excluded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 18:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986310#M952399</guid>
      <dc:creator />
      <dc:date>2015-11-25T18:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986311#M952400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 19:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986311#M952400</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-25T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986312#M952401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't share nothing more than this as data is confidential.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to retrieve the highest value of all the charts using an Aggr() in a textbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Selection.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107204_Selection.PNG" style="height: 445px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 19:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986312#M952401</guid>
      <dc:creator />
      <dc:date>2015-11-25T19:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986313#M952402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why do you need to aggregate on the field 'Reason'? If you take it out to leave&lt;/P&gt;&lt;P&gt;=max(Aggr(Count({&amp;lt;TYPE={'Active'},Year=&amp;gt;} Call_ID ),Year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the answer then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 2014 if you have&amp;nbsp; 29813 Active type call of reason A and 3181 for reason B (total 32994) your Aggr expression will return 29813.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 19:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986313#M952402</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-11-25T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986314#M952403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the above image. i need Highest number of calls for any reason over all the years. it is working fine if i don't select an year. but if i select an year it is limiting to the that Year.&lt;/P&gt;&lt;P&gt;That is the challenge am facing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 19:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986314#M952403</guid>
      <dc:creator />
      <dc:date>2015-11-25T19:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986315#M952404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nithin,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=max({1&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Year=&amp;gt;&lt;/SPAN&gt;}Aggr(Count({1&amp;lt; COVERAGE_TYPE={'Active'}&amp;gt;}Call_Log_ID),CallReason,Year))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double check the syntax in the editor because I've not been able to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 20:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986315#M952404</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-11-25T20:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986316#M952405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andrew, It worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 14:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986316#M952405</guid>
      <dc:creator />
      <dc:date>2015-11-30T14:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: issue with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986317#M952406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're very welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 19:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-aggregation/m-p/986317#M952406</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-11-30T19:46:13Z</dc:date>
    </item>
  </channel>
</rss>

