<?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 calculation over dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1583796#M740953</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am not sure if I understood your issue but I think that the following expresion may work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avg(Total Aggr(Count(Value), Name, Date))&lt;/LI-CODE&gt;&lt;P&gt;Where I supposed that your count expression is "Count(Value)". Please, use your correct count expression above. I get the following output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-23 11_13_43-Window.png" style="width: 515px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12542i4CFED64048CBB67B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-23 11_13_43-Window.png" alt="2019-05-23 11_13_43-Window.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope it helps! Regards,&lt;/P&gt;&lt;P&gt;Jaime.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 09:13:50 GMT</pubDate>
    <dc:creator>jaibau1993</dc:creator>
    <dc:date>2019-05-23T09:13:50Z</dc:date>
    <item>
      <title>Average calculation over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1583659#M740951</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am trying to calculate overall average over a dimension.As shown in below table how to calculate avg for Count column and display same overall average for all dates.Tried Aggr and avg in expression but no luck.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QQ.PNG" style="width: 285px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12528iB119A2EC47B02F57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QQ.PNG" alt="QQ.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1583659#M740951</guid>
      <dc:creator>qlikknow</dc:creator>
      <dc:date>2024-11-16T03:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculation over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1583700#M740952</link>
      <description>&lt;P&gt;please provide a sample of input and desired output&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 07:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1583700#M740952</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-05-23T07:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculation over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1583796#M740953</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am not sure if I understood your issue but I think that the following expresion may work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avg(Total Aggr(Count(Value), Name, Date))&lt;/LI-CODE&gt;&lt;P&gt;Where I supposed that your count expression is "Count(Value)". Please, use your correct count expression above. I get the following output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-23 11_13_43-Window.png" style="width: 515px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12542i4CFED64048CBB67B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-23 11_13_43-Window.png" alt="2019-05-23 11_13_43-Window.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope it helps! Regards,&lt;/P&gt;&lt;P&gt;Jaime.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 09:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1583796#M740953</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-05-23T09:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculation over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1585815#M740954</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/4168"&gt;@jaibau1993&lt;/a&gt;&amp;nbsp; it worked added dimension after Total.I want to make small change to avg.In numerator I want to consider all records (4 records as shown) for Avg but divided by 3 instead of 4.So for ABC I want to show 10/3=3.33 instead of 10/4=2.5.thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avg(Total&amp;lt;Name&amp;gt; Aggr(Count(Value), Name, Date))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 20:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1585815#M740954</guid>
      <dc:creator>qlikknow</dc:creator>
      <dc:date>2019-05-28T20:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculation over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1585912#M740955</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;The following expression does what you need:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(Total Aggr(Count(Value), Name, Date))
/
(Count(Total Aggr(Count(Value), Name, Date)) - 1)&lt;/LI-CODE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 06:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1585912#M740955</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-05-29T06:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculation over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1586125#M740958</link>
      <description>&lt;P&gt;Thanks.It worked&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 12:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculation-over-dimension/m-p/1586125#M740958</guid>
      <dc:creator>qlikknow</dc:creator>
      <dc:date>2019-05-29T12:16:42Z</dc:date>
    </item>
  </channel>
</rss>

