<?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 of Average Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747495#M266752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new variable:&lt;/P&gt;&lt;P&gt;Variable1 -&amp;gt;&amp;nbsp; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Resident Full Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,QuestionType={'MPE'},IsValue={1},RatingID-={''}&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Then expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;[Resident Full Name]&amp;gt;}Aggr(((SUM({$(Variable1)}QuestionData)/&lt;BR /&gt;COUNT({$(Variable1)} Record_No))/ &lt;BR /&gt;Max({$(Variable1)}MaxRatingScore)&lt;BR /&gt;), Category,[Resident Full Name]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 10:03:14 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-12-01T10:03:14Z</dc:date>
    <item>
      <title>Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747486#M266743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get the &lt;STRONG&gt;average across the 4 student per category&lt;/STRONG&gt; highlighted in red.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, I can get the average score per student for each category.&amp;nbsp; I am using the following expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=(SUM({$(eMPE_Set)}QuestionData)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;COUNT({$(eMPE_Set)} Record_No))/ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Max({$(eMPE_Set)}MaxRatingScore)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MPE expression is a set expression to get a specific exam type, example.&amp;nbsp; English.&amp;nbsp; &lt;/P&gt;&lt;P&gt;1. QuestionData is the score value.&amp;nbsp; &lt;/P&gt;&lt;P&gt;2. Record No is a count of the number of records.&lt;/P&gt;&lt;P&gt;3. MaxRating Score is the maximum score of each questions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;4.&amp;nbsp; The result of the above expression is translate into %.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;What am I missing?&amp;nbsp; Can anyone please guide me on this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Chun Wey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.jpg" class="jive-image" height="210" src="https://community.qlik.com/legacyfs/online/72396_Sample.jpg" style="max-width: 620px; width: 605px; height: 209.798387096774px;" width="605" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 04:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747486#M266743</guid>
      <dc:creator />
      <dc:date>2014-12-01T04:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747487#M266744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you are missing TOTAL in the aggregation functions. Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=(SUM(&lt;STRONG&gt;Total&lt;/STRONG&gt; {$(eMPE_Set)}QuestionData)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;COUNT(&lt;STRONG&gt;Total&lt;/STRONG&gt; {$(eMPE_Set)} Record_No))/ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Max(&lt;STRONG&gt;Total&lt;/STRONG&gt; {$(eMPE_Set)}MaxRatingScore)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't help, try to share your sample qvw explaining the expected output there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 05:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747487#M266744</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-01T05:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747488#M266745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached qvw for your reference.&amp;nbsp; As advised, the TOTAL did not show the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you opent the qvw, expected output is the 'Avg Score per category per cohort' line result shown.&amp;nbsp; this will changed according to your cohort chosen.&amp;nbsp; The answer should be same with the image attached in previous thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if you any other questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chun Wey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 05:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747488#M266745</guid>
      <dc:creator />
      <dc:date>2014-12-01T05:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747489#M266746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lost in your 'cohort' ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; Could you be a bit more specific? chart? expression? selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 06:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747489#M266746</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-01T06:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747490#M266747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apology.&amp;nbsp; Expected Output below &lt;EM&gt;(Please refer to chart)&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Khoo Score:&lt;/STRONG&gt;&amp;nbsp; Individual student Score&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+2 SD:&lt;/STRONG&gt; +2 Standard Deviation&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-2 SD:&lt;/STRONG&gt; -2 Standard Deviation&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg Score:&lt;/STRONG&gt; Average score for all students that are peers of Khoo &lt;EM&gt;(inclusive of Khoo result) - which is also known as cohort. &lt;/EM&gt; In layman term, it is similar to the average score of the whole class where Khoo belongs to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This cohort is based on a &lt;STRONG&gt;combination of Selections&lt;/STRONG&gt; as of below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Academic Year:&lt;/STRONG&gt; 2013&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AST:&lt;/STRONG&gt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the above clear things up.&amp;nbsp; Let me know if you have any other questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72397_Sample.jpg" style="width: 620px; height: 348px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 06:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747490#M266747</guid>
      <dc:creator />
      <dc:date>2014-12-01T06:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747491#M266748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Professionalism - 301/43/9 -&amp;gt;77.78% , but you expect 70% . Please explain the numbers(x/y/z) as you want alongwith the logic. Hope his clarification be enough for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 08:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747491#M266748</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-01T08:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747492#M266749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.63636302948px;"&gt;Hi Tresesco,&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;That chart output is an illustration, the figure, 70%, is just an incorrect one. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;Have attached excel for your reference.&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;You get 77.8% because u add the raw score and divide by number of records. (In the excel sheet, I had coded in Blue background) =&amp;gt; This is an average of all score for professionalism.&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;Average of Average (In the excel sheet, I had coded in yellow background) =&amp;gt; I am trying to get this.&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;STRONG&gt;Step 1:&lt;/STRONG&gt; I need to get an average of professionalism per student.&amp;nbsp; (I have highlighted them in orange)&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;In this excel, I have 4 students with each average of 67.9%, 84.26%, 78.70%, 77.78%.&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt; I need to average this out:&amp;nbsp; (&lt;SPAN style="font-size: 13.63636302948px;"&gt;67.9 + 84.26 + 78.70 + 7.78)/ 4 to get &lt;STRONG&gt;77.16% (Figure I expected)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;Thanks again for your help!&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;Chun Wey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 08:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747492#M266749</guid>
      <dc:creator />
      <dc:date>2014-12-01T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747493#M266750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;=Avg(Aggr(((SUM({$(eMPE_Set)}QuestionData)/&lt;/P&gt;&lt;P&gt;COUNT({$(eMPE_Set)} Record_No))/ &lt;/P&gt;&lt;P&gt;Max({$(eMPE_Set)}MaxRatingScore)&lt;/P&gt;&lt;P&gt;), Category,[Resident Full Name]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747493#M266750</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-01T09:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747494#M266751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it do give the answer i want, thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&amp;nbsp; How to make this Average Score to show the student class that he/she belongs to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I don pick any student name, the score and average overlapped which is correct as I have not selected any student names:&lt;IMG alt="Sample.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72422_Sample.jpg" style="width: 620px; height: 347px;" /&gt;&lt;/P&gt;&lt;P&gt;If I select a student name, the individual score followed the average score and they overlapped with each other:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; How to make the 'Average score line' not following John score?&lt;/P&gt;&lt;P&gt;I can close this case if the above qns is solved.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample 2.jpg" class="jive-image" src="/legacyfs/online/72423_Sample 2.jpg" style="width: 620px; height: 347px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747494#M266751</guid>
      <dc:creator />
      <dc:date>2014-12-01T09:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747495#M266752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new variable:&lt;/P&gt;&lt;P&gt;Variable1 -&amp;gt;&amp;nbsp; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Resident Full Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,QuestionType={'MPE'},IsValue={1},RatingID-={''}&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Then expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;[Resident Full Name]&amp;gt;}Aggr(((SUM({$(Variable1)}QuestionData)/&lt;BR /&gt;COUNT({$(Variable1)} Record_No))/ &lt;BR /&gt;Max({$(Variable1)}MaxRatingScore)&lt;BR /&gt;), Category,[Resident Full Name]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 10:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747495#M266752</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-01T10:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Average of Average Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747496#M266753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tresesco! You're good!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 01:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-of-Average-Expression/m-p/747496#M266753</guid>
      <dc:creator />
      <dc:date>2014-12-02T01:23:06Z</dc:date>
    </item>
  </channel>
</rss>

