<?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: Calculate Avg in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002241#M340627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this in a Text Object and the result was -2.3633333, which I believe averaged out the (-negative) amount calculated based on the Count and not the average of all 5 calculated Category Scores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Dec 2015 15:23:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-11T15:23:58Z</dc:date>
    <item>
      <title>Calculate Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002239#M340625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I need help in calculating the Overall Close Score based on the Category Score calculations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Looking to do it in a TEXT OBJECT since it will be just a single value.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Picture4.png" class="jive-image image-2" height="72" src="https://community.qlik.com/legacyfs/online/108770_Picture4.png" style="height: 72px; width: 74.3607px;" width="74" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108757_Picture1.jpg" style="height: 174px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Table expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SLA Category(Critical-High-Medium-Low)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=count(DISTINCT {&amp;lt;[SLA Impact]={"Critical"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;=count(DISTINCT {&amp;lt;[SLA Impact]={"High"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;=count(DISTINCT {&amp;lt;[SLA Impact]={"Medium"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;=count(DISTINCT {&amp;lt;[SLA Impact]={"Low"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Points Deducted&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=(Critical *(-10)) + (High *(-5)) + (Medium *(-3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Category Score&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=(1) + ([Points Deducted]/(100))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Need to calculate an Overall Close Score &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Category Scores/5&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ie: 97+94+100+100+97= 488&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;488/5 = 97.6%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 14:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002239#M340625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T14:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002240#M340626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this in the text box object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1) + (&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count(DISTINCT {&amp;lt;[SLA Impact]={"Critical"}&amp;gt;}ID)&lt;/SPAN&gt;*(-10)) + (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count(DISTINCT {&amp;lt;[SLA Impact]={"High"}&amp;gt;}ID)&lt;/SPAN&gt;*(-5)) + (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count(DISTINCT {&amp;lt;[SLA Impact]={"Medium"}&amp;gt;}ID)&lt;/SPAN&gt;*(-3))/(100)), [SLA Category]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002240#M340626</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-11T15:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002241#M340627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this in a Text Object and the result was -2.3633333, which I believe averaged out the (-negative) amount calculated based on the Count and not the average of all 5 calculated Category Scores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002241#M340627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T15:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002242#M340628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Avg(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;(1) + (&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;count(DISTINCT {&amp;lt;[SLA Impact]={"Critical"}&amp;gt;}ID)&lt;/SPAN&gt;*(-10)) + (&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;count(DISTINCT {&amp;lt;[SLA Impact]={"High"}&amp;gt;}ID)&lt;/SPAN&gt;*(-5)) + (&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;count(DISTINCT {&amp;lt;[SLA Impact]={"Medium"}&amp;gt;}ID)&lt;/SPAN&gt;*(-3))/(100))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;, [SLA Category]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Avg/m-p/1002242#M340628</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-11T15:33:04Z</dc:date>
    </item>
  </channel>
</rss>

