<?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 not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986212#M970332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you have "# of Students" as &lt;EM&gt;dimension&lt;/EM&gt;? I can understand that you want number of students as measure - but as &lt;EM&gt;dimension&lt;/EM&gt;? You want the numbers per Year and Subject and these should be your dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want it as dimension, you should add a total qualifier in the aggregation, e.g.&amp;nbsp; count({1} &lt;SPAN style="font-size: 13.3333px;"&gt;total &amp;lt;Name&amp;gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I suggest you don't use the all qualifier in your expression. It is a legacy function that we will remove in coming versions. Use count({1} total &amp;lt;Name&amp;gt; Seq) instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Sep 2015 16:12:43 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-09-20T16:12:43Z</dc:date>
    <item>
      <title>Aggr function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986210#M970330</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;&lt;/P&gt;&lt;P&gt;They are 4 students taking English exam in 2012, I would like to show the exam result for Student A and Others (average of the class) .&lt;BR /&gt; &lt;BR /&gt; I managed to show no. of students = 4 in Expression and result for Student A (89).&lt;BR /&gt; &lt;BR /&gt; However :&lt;BR /&gt; 1. I have problem to show 4 students in Dimension using Aggr function (1 now should be 4).&lt;BR /&gt; 2. I have problem to compute average for the class (4 students).&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 15:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986210#M970330</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2015-09-20T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986211#M970331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with Personal edition of QlikView, would you be able to share the dimension and expression information you havein your application right now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 15:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986211#M970331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-20T15:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986212#M970332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you have "# of Students" as &lt;EM&gt;dimension&lt;/EM&gt;? I can understand that you want number of students as measure - but as &lt;EM&gt;dimension&lt;/EM&gt;? You want the numbers per Year and Subject and these should be your dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want it as dimension, you should add a total qualifier in the aggregation, e.g.&amp;nbsp; count({1} &lt;SPAN style="font-size: 13.3333px;"&gt;total &amp;lt;Name&amp;gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I suggest you don't use the all qualifier in your expression. It is a legacy function that we will remove in coming versions. Use count({1} total &amp;lt;Name&amp;gt; Seq) instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 16:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986212#M970332</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-20T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986213#M970333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#Students in Dimension: Aggr(Count( {&amp;lt;Name=&amp;gt;} Seq) , Year, Subject )&lt;/P&gt;&lt;P&gt;#Students in Expression: Count(TOTAL &amp;lt;Year,Subject&amp;gt; {1} Seq)&lt;/P&gt;&lt;P&gt;Others in Expression: Avg( {&amp;lt;Name=&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ALL&lt;/STRONG&gt; should be avoided and is equivalent to TOTAL {1}. Qlik points out that ALL is deprecated and might be removed as a valid keyword in any new release of QlikView.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 16:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986213#M970333</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-20T16:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986214#M970334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Petter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your clear advice with examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly explain what is {1} and the purpose in the 2nd statement ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 23:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986214#M970334</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2015-09-20T23:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986215#M970335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;{1} is used when you don't want your expression to change based on any selection you make in your application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 03:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986215#M970335</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-21T03:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986216#M970336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 04:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-not-working/m-p/986216#M970336</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2015-09-21T04:13:47Z</dc:date>
    </item>
  </channel>
</rss>

