<?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 Guage showing performance % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Guage-showing-performance/m-p/375181#M139727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys. I sit with 2 problems &amp;amp; really hope you are able to assist please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build 3 guages to show an effectiveness rating for non internal staff as of month-to-date, year-to-date, and in total&lt;/P&gt;&lt;P&gt;Basically it is [TimeSpent] in min converted to hours, against the [AvailableHours]&lt;/P&gt;&lt;P&gt;So if they spent 40 hours, and there are 100 available the guage must show 40%.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For Total i am trying to use:&lt;/P&gt;&lt;P&gt;SUM( {$&amp;lt;ProductRollup -= 'Internal'&amp;gt;} (([TimeSpent]/60) / [AvailableHours]) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That gives me a big total of over 16000%.&lt;/P&gt;&lt;P&gt;Using AVG gives me a very low % of about 1 or 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Month-to-date i am using this:&lt;/P&gt;&lt;P&gt;SUM( {$&amp;lt;YEAR = {$(vCurrentYear)}, MONTHNUMBER ={$(vCurrentMonth)}, ProductRollup -= 'Internal'&amp;gt;} (([TimeSpent]/60) / [AvailableHours]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this works great if I selected only 1 employee. But when I select another or all employees, again it adds my total.&lt;/P&gt;&lt;P&gt;Replacing SUM with AVG results in a completely wrong total of about 1 to 2 %.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance in getting these 3 working will be greatly appreciated. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 09:07:31 GMT</pubDate>
    <dc:creator>hschultz</dc:creator>
    <dc:date>2012-03-29T09:07:31Z</dc:date>
    <item>
      <title>Guage showing performance %</title>
      <link>https://community.qlik.com/t5/QlikView/Guage-showing-performance/m-p/375181#M139727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys. I sit with 2 problems &amp;amp; really hope you are able to assist please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build 3 guages to show an effectiveness rating for non internal staff as of month-to-date, year-to-date, and in total&lt;/P&gt;&lt;P&gt;Basically it is [TimeSpent] in min converted to hours, against the [AvailableHours]&lt;/P&gt;&lt;P&gt;So if they spent 40 hours, and there are 100 available the guage must show 40%.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For Total i am trying to use:&lt;/P&gt;&lt;P&gt;SUM( {$&amp;lt;ProductRollup -= 'Internal'&amp;gt;} (([TimeSpent]/60) / [AvailableHours]) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That gives me a big total of over 16000%.&lt;/P&gt;&lt;P&gt;Using AVG gives me a very low % of about 1 or 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Month-to-date i am using this:&lt;/P&gt;&lt;P&gt;SUM( {$&amp;lt;YEAR = {$(vCurrentYear)}, MONTHNUMBER ={$(vCurrentMonth)}, ProductRollup -= 'Internal'&amp;gt;} (([TimeSpent]/60) / [AvailableHours]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this works great if I selected only 1 employee. But when I select another or all employees, again it adds my total.&lt;/P&gt;&lt;P&gt;Replacing SUM with AVG results in a completely wrong total of about 1 to 2 %.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance in getting these 3 working will be greatly appreciated. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 09:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Guage-showing-performance/m-p/375181#M139727</guid>
      <dc:creator>hschultz</dc:creator>
      <dc:date>2012-03-29T09:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Guage showing performance %</title>
      <link>https://community.qlik.com/t5/QlikView/Guage-showing-performance/m-p/375182#M139728</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 have managed to fix this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Dimension i just added 'SUM', then in the Expression added:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;YEAR={$(vCurrentYear)}&amp;gt;}(TimeSpent/60)) &lt;/P&gt;&lt;P&gt;/ &lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;YEAR={$(vCurrentYear)}&amp;gt;}AvailableHours)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The porblem was obviously against the dimension not being a total, but something speciffic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 07:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Guage-showing-performance/m-p/375182#M139728</guid>
      <dc:creator>hschultz</dc:creator>
      <dc:date>2012-06-15T07:08:29Z</dc:date>
    </item>
  </channel>
</rss>

