<?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: Average in aggregate function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-in-aggregate-function/m-p/1507174#M751290</link>
    <description>&lt;P&gt;Averages can get a little tricky... check this out&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654" target="_blank"&gt;Average - Which average?&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Nov 2018 12:46:47 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-11-15T12:46:47Z</dc:date>
    <item>
      <title>Average in aggregate function</title>
      <link>https://community.qlik.com/t5/QlikView/Average-in-aggregate-function/m-p/1506959#M751289</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to cliq sense and I am currently struggling with one formula.&lt;/P&gt;&lt;P&gt;I would like to calculate average number of expenses (ID) per grade of employee a per year quarter. I think the trouble is with the function agr - because if I switch it for max function for example it does calculate maximum number an employee in a particular grade posted per a particular quarter.&lt;/P&gt;&lt;P&gt;Could please anyone advise me what am I doing wrong??&lt;/P&gt;&lt;P&gt;aggr({&amp;lt;NAME_ANONYMISED=&amp;gt;} nodistinct &lt;FONT color="#FF0000"&gt;avg&lt;/FONT&gt;(aggr({&amp;lt;NAME_ANONYMISED=&amp;gt;}nodistinct count(ID),NAME_ANONYMISED, [POST_DATE.autoCalendar.YearQuarter])), GRADE,[POST_DATE.autoCalendar.YearQuarter])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.: the name anonymised is there in order to prevent qlik recalculating based on a name I select - this I would like to keep there. The average should not change with a filtered employee.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-in-aggregate-function/m-p/1506959#M751289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average in aggregate function</title>
      <link>https://community.qlik.com/t5/QlikView/Average-in-aggregate-function/m-p/1507174#M751290</link>
      <description>&lt;P&gt;Averages can get a little tricky... check this out&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654" target="_blank"&gt;Average - Which average?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 12:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-in-aggregate-function/m-p/1507174#M751290</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-15T12:46:47Z</dc:date>
    </item>
  </channel>
</rss>

