<?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: Taking Average after COUNT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/2156930#M1225112</link>
    <description>&lt;P&gt;Hi - I am not able to download the attachment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to complete the same function.&amp;nbsp; average(count(function)).&amp;nbsp; I'm getting the error:&lt;/P&gt;
&lt;P&gt;"Nested aggregation not allowed"&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2023 22:03:26 GMT</pubDate>
    <dc:creator>becky3832</dc:creator>
    <dc:date>2023-12-29T22:03:26Z</dc:date>
    <item>
      <title>Taking Average after COUNT</title>
      <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361599#M134368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have to count ACTIVITY and then take its average. I am using this code &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;Avg&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ACTIVITY&lt;/SPAN&gt;)) but its not working. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can Anyone help me with this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;With Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Vikas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 21:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361599#M134368</guid>
      <dc:creator />
      <dc:date>2012-07-20T21:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Taking Average after COUNT</title>
      <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361600#M134369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you give a bit more details? An example qvw or a situation (with some data in a table) where we can see what you want? Average per....? year, week, month or per car, or per person? per ehhh??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say it is activity per person and your table is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- person 1 day 1 activity 3 hours&lt;/P&gt;&lt;P&gt;- person 1 day 1 activity 5 hours&lt;/P&gt;&lt;P&gt;- person 2 day 1 activity 3 hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you'd like to have the average hours per person, then a chart with&lt;/P&gt;&lt;P&gt;- dimension person and &lt;/P&gt;&lt;P&gt;- expression&amp;nbsp; like sum(activity) / count(person) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would give you the average activity per person&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;Avg(count(activity)) won't work as count(activity) just returns 2 and 1 in my example (per person) the average of that count would result in the same values too...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 21:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361600#M134369</guid>
      <dc:creator />
      <dc:date>2012-07-20T21:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Taking Average after COUNT</title>
      <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361601#M134370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I have Activity like&lt;/P&gt;&lt;P&gt;ACTIVTY&lt;/P&gt;&lt;P&gt;1)CREATED&lt;/P&gt;&lt;P&gt;2)OPEN&lt;/P&gt;&lt;P&gt;3)VIEWED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to find out how many activity is done per month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which I can find by COUNT(ACTIVITY), but I have to also find AVERAGRE Activity per month...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 21:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361601#M134370</guid>
      <dc:creator />
      <dc:date>2012-07-20T21:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Taking Average after COUNT</title>
      <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361602#M134371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached... Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 22:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361602#M134371</guid>
      <dc:creator />
      <dc:date>2012-07-20T22:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Taking Average after COUNT</title>
      <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361603#M134372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks It worked..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 22:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361603#M134372</guid>
      <dc:creator />
      <dc:date>2012-07-20T22:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Taking Average after COUNT</title>
      <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361604#M134373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the following expression also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg(Aggr(Count(activity),activityYearMonth))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 22:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/361604#M134373</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2012-07-20T22:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Taking Average after COUNT</title>
      <link>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/2156930#M1225112</link>
      <description>&lt;P&gt;Hi - I am not able to download the attachment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to complete the same function.&amp;nbsp; average(count(function)).&amp;nbsp; I'm getting the error:&lt;/P&gt;
&lt;P&gt;"Nested aggregation not allowed"&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 22:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Taking-Average-after-COUNT/m-p/2156930#M1225112</guid>
      <dc:creator>becky3832</dc:creator>
      <dc:date>2023-12-29T22:03:26Z</dc:date>
    </item>
  </channel>
</rss>

