<?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 Average calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481280#M179851</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;I am trying to work out an average of a sum. Can anyone help? The calculation shows a percentage of utilisation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= (sum(total_anaesthetic_time ) + sum(total_theatre_time)) / sum (total_scheduled_mins)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I would get an average for this? I need it so I can break it down to specialty level and freeze the graph at this average when the user drills down further to consultant etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 12:59:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-09T12:59:33Z</dc:date>
    <item>
      <title>Average calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481280#M179851</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;I am trying to work out an average of a sum. Can anyone help? The calculation shows a percentage of utilisation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= (sum(total_anaesthetic_time ) + sum(total_theatre_time)) / sum (total_scheduled_mins)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I would get an average for this? I need it so I can break it down to specialty level and freeze the graph at this average when the user drills down further to consultant etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 12:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481280#M179851</guid>
      <dc:creator />
      <dc:date>2013-08-09T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481281#M179852</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&gt;&lt;STRONG&gt;= (sum(total_anaesthetic_time + total_theatre_time)) / sum (total_scheduled_mins)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or try this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;= (sum(time(total_anaesthetic_time) + time(total_theatre_time))) / sum (time(total_scheduled_mins))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or try this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= (sum(time(total_anaesthetic_time,'hh:mm') + time(total_theatre_time,&lt;/STRONG&gt;&lt;STRONG&gt;'hh:mm'&lt;/STRONG&gt;&lt;STRONG&gt;))) / sum (time(total_scheduled_mins,&lt;/STRONG&gt;&lt;STRONG&gt;'hh:mm'&lt;/STRONG&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or try this simply&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= (time(total_anaesthetic_time,'hh:mm') + time(total_theatre_time,'hh:mm')) / time(total_scheduled_mins,'hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481281#M179852</guid>
      <dc:creator />
      <dc:date>2013-08-09T13:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481282#M179853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for find the average sum of two field then try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(field1 + field2)/count(field1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;(sum(field1) +sum( field2))/count(field1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481282#M179853</guid>
      <dc:creator />
      <dc:date>2013-08-09T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Average calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481283#M179854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the average pecentage, you probably need an Aggr() function. See more on &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/07/29/averages"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/07/29/averages&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2013 19:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-calculations/m-p/481283#M179854</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-08-10T19:07:13Z</dc:date>
    </item>
  </channel>
</rss>

