<?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: STDEV() and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937514#M323569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;thx for your suggestion. I don't want to create neither the productivity nor the average handling time within the script. It would lead us a bit far trying to explain why in detail, but this would simply deviate from the way the data is structured throughout the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence the formula above is the path laid out before me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart i posted shows what happens within a service. A service is one of many phonenumbers we handle in our ACD. So yes, Agent is the right term. Anyway, I need to display the average handling time and/or productivity for each service.&lt;/P&gt;&lt;P&gt;See the charts in my former reply to Henrics post. That is what i want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Sep 2015 15:16:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-26T15:16:36Z</dc:date>
    <item>
      <title>STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937505#M323560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a Table that containes values for ACD-Data like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SERVICE&amp;nbsp;&amp;nbsp; AGENT&amp;nbsp;&amp;nbsp; KPI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE&lt;/P&gt;&lt;P&gt;100&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&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calls&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;100&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; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calls&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/P&gt;&lt;P&gt;100&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; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calls&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;200&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&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60&lt;/P&gt;&lt;P&gt;200&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; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 42&lt;/P&gt;&lt;P&gt;200&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; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 81&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then there is a formula with set analysis, that creates the average time per call&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;KPI = {'time'}&amp;gt;} VALUE) / sum({$&amp;lt;KPI = {'calls'}&amp;gt;} VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to build the STDEV for the average time per call. Obviusly simply putting the above formula into the stdev as an argument doens't do the trick. Any Ideas how to solve this without having to remodel the tabel or precalculate the KPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for suggestions and hints if not solutions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 08:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937505#M323560</guid>
      <dc:creator />
      <dc:date>2015-09-25T08:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937506#M323561</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;You can use aggr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;stdev(aggr(sum({$&amp;lt;KPI = {'time'}&amp;gt;} VALUE) / sum({$&amp;lt;KPI = {'calls'}&amp;gt;} VALUE),Agent))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 15:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937506#M323561</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-09-25T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937507#M323562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say you want to calculate the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STDEV for the average time per call&lt;/SPAN&gt;" - i.e. you want to see how the call time varies &lt;EM style="text-decoration: underline;"&gt;within&lt;/EM&gt; the same service and agent. My answer is that this is not possible, given the data. You don't have that information. You need a table with the times for the individual calls to calculate this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you want to see how the average time varies &lt;EM style="text-decoration: underline;"&gt;between&lt;/EM&gt; services and agents, then you can use Aggr(). But you need both service and agent as grouping symbols in the Aggr():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Stdev(Aggr(Sum({$&amp;lt;KPI = {'time'}&amp;gt;} VALUE) / Sum({$&amp;lt;KPI = {'calls'}&amp;gt;} VALUE),SERVICE,AGENT))&lt;/SPAN&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>Fri, 25 Sep 2015 16:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937507#M323562</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-25T16:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937508#M323563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergey,&lt;/P&gt;&lt;P&gt;thanks very much for the formula. That's the way to go.&lt;/P&gt;&lt;P&gt;HIC is right about the dimensons. Agent alone isn't sufficent. But i wasn't very precise with describing my goal, so sorry for that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 16:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937508#M323563</guid>
      <dc:creator />
      <dc:date>2015-09-25T16:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937509#M323564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot. You are right, i didn't make myself clear here.&lt;/P&gt;&lt;P&gt;And i made a mistake in the table aswell. All required data to calculate the average time per call grouped by service, be it 100 or 200, is available. So i can generate the average time per call (average handling time AHT) via &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;KPI = {'time'}&amp;gt;} VALUE) / Sum({$&amp;lt;KPI = {'calls'}&amp;gt;} VALUE) for each individual service as a dimension in say a bar chart or pivot table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need the stdev for all calls within a service, i dont need the information for a single agent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The goal is to determine the range of average handling times for each service which represent 68% of the agents, more specific the bottom value of average handling time. So what i want do do with the value returned by the stdev() formula is to add it to and substract it from the avergage, thus getting the range of times that is representing 68% of the agents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG alt="STDEV.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100075_STDEV.JPG" style="height: 386px; width: 620px;" /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I dont want to build this chart, it's just to illustrate where i am aiming at. I just need the numbers. The green line (marked with x on top) is calculated by time / calls. The blue line should be calculated by (time / calls) - stdev(time/calls). The chart data is from one service, and the kpi here is calls / time - the mechanism should be the same.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;That seems to be the second part of your answer, if i am getting you correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The formula works and is given me data. I am just a little bit confused how i need to group correctly, to geht the data that i want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Best Hannes&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 16:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937509#M323564</guid>
      <dc:creator />
      <dc:date>2015-09-25T16:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937510#M323565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's see if I get this straight....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One service has many agents; one agent makes many calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your chart, you have &lt;EM&gt;Anzahl der Mitarbeiter&lt;/EM&gt; as Y-axis. That means that you have calculated the average call time per person, &lt;EM&gt;per agent&lt;/EM&gt;. Right? &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;One value per agent and service.&lt;/EM&gt;&lt;/SPAN&gt; (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Many calls are collapsed into one value.&lt;/SPAN&gt;) This is calculated through&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({$&amp;lt;KPI = {'time'}&amp;gt;} VALUE) / Sum({$&amp;lt;KPI = {'calls'}&amp;gt;} VALUE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;And then you want to calculate the Stdev to find the Normalbereich, by looking how the above value varies within a service. Then you want to loop over the previous calculation and calculate &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;one value per service&lt;/EM&gt;&lt;/SPAN&gt;. &lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Many agents are collapsed into one value.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) &lt;/SPAN&gt;Right? Then you should use&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Stdev(Aggr(Sum({$&amp;lt;KPI = {'time'}&amp;gt;} VALUE) / Sum({$&amp;lt;KPI = {'calls'}&amp;gt;} VALUE),SERVICE,AGENT))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Aggr() will loop over all combinations of SERVICE and AGENT. Then you should display this in a chart with SERVICE as dimension. The Stdev() function will then collaps several AGENTS into one value, which is what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://community.qlik.com/qlik-blogpost/3208"&gt;Average – Which average?&lt;/A&gt; about internal grouping entities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 12:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937510#M323565</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-26T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937511#M323566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;an absolutly perfect description of what i want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last bit i don't understand is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use a pivot chart and have Service as the only dimension i get theese results for the formula, depending on the way i group (grouping displayed in chart title - the result in the middle is what i am aiming at)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get a value for each service i need to group over service and agent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="STDEV_2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100133_STDEV_2.JPG" style="height: 213px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Having read your article (thx a lot - great piece of work) i thought that grouping by service is what i need to do -&amp;nbsp; as you suggested.&lt;/P&gt;&lt;P&gt;But this isn't giving me one value for each service and a different value as well.&lt;/P&gt;&lt;P&gt;Having grouped by agent in the third object displays, that the aggr won't consider the chart dimensions. &lt;/P&gt;&lt;P&gt;But still, why do i need to aggregate by agent and service, though agent isn't a dimension at all.&lt;/P&gt;&lt;P&gt;I can't comprehend why &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; ...&amp;nbsp; Maybe you allow me once more to tap into your vast scope of qlikview know how ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 13:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937511#M323566</guid>
      <dc:creator />
      <dc:date>2015-09-26T13:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937512#M323567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you show count of 'Mitarbeiter' (Agents?) in above sample graph, I would assume that you want a value of productivity (calls / time)&amp;nbsp; per 'Mitarbeiter'. Not sure how service comes into play here.&lt;/P&gt;&lt;P&gt;You seem to have service as an independent variable, so maybe just use it as a filter? I don't see 'service' appearing somewhere in your sample chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I think you need to step back and consider to what finest granularity you need to aggregate your productivity (i.e. aggregate calls / time values) to get the basic KPI, the average and standard deviation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I mean, create a table with a column that shows the single productivity values. If you got the table, finding the average and standard deviation&amp;nbsp; is simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 15:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937512#M323567</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-26T15:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937513#M323568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are of course right. My answer above contained an error (which I now have corrected). The Aggr() should use both SERVICE and AGENT as dimensions, and your char should just have SERVICE as dimension. So your middle chart is indeed the correct one.&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, 26 Sep 2015 15:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937513#M323568</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-26T15:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937514#M323569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;thx for your suggestion. I don't want to create neither the productivity nor the average handling time within the script. It would lead us a bit far trying to explain why in detail, but this would simply deviate from the way the data is structured throughout the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence the formula above is the path laid out before me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart i posted shows what happens within a service. A service is one of many phonenumbers we handle in our ACD. So yes, Agent is the right term. Anyway, I need to display the average handling time and/or productivity for each service.&lt;/P&gt;&lt;P&gt;See the charts in my former reply to Henrics post. That is what i want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 15:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937514#M323569</guid>
      <dc:creator />
      <dc:date>2015-09-26T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937515#M323570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was suggesting a table &lt;EM&gt;chart&lt;/EM&gt; (agreed missing the term chart here), not a separate table in the data model itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify the granularity needed for your requirements. The advanced aggregation aggr() is also creating an internal table, but it may be hard to understand the details. That's why I suggested to create a (straight) table chart first, to check if the detailed values on the required granularity level can be calculated and to derive further KPI like average or standard deviation from that. Just as an intermediate step. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if this sounds kind of confusing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 15:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937515#M323570</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-26T15:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937516#M323571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric and swuehl,&lt;/P&gt;&lt;P&gt;The formula Henric has provided is the right on&lt;/P&gt;&lt;P&gt;Stdev (aggr (sum ({$&amp;lt;KPI={'time'}&amp;gt;} VALUE) / sum ({$&amp;lt;KPI={'calls'}&amp;gt;} VALUE),Service,Agent)) does the trick.&lt;/P&gt;&lt;P&gt;I just don't understand why I have to group by Service and Agent when the dimension in a chart is service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insights on this? Be it blogs, whitepapers, a post here ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really want to embrace the concept, since this might open up new possibilties in app dev i have never in 5 years looked into. And i need to correctly adopt this example to the real data modell...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciation and best regards&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 15:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937516#M323571</guid>
      <dc:creator />
      <dc:date>2015-09-26T15:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937517#M323572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3857"&gt;QlikView Technical Brief - AGGR.docx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I think comes short in the technical brief doc as well as in the HELP or most explanations is that the advanced aggregation internal table is filtered or projected on the chart dimension value when evaluated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hm, maybe this is still a little too abstract. I assume you are aware of basic statistics, so we don't need to dive into standard deviation calculation and that there is not much sense in calculating standard deviation on 1 sample? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, then we could concentrate on the aggr() functions in your chart. But this time, I would like to suggest that you create the internal table that these functions create, and outline these tables in your answer.&lt;/P&gt;&lt;P&gt;I believe you are going to see the difference and the need for Service as well as Agent dimension as soon as you try to follow QlikView's calculation step by step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2015 12:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937517#M323572</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-27T12:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937518#M323573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;thanks a lot. having given this a first look, i tend to believe that's exactly what i need.&lt;/P&gt;&lt;P&gt;I'll work my self through it and keep you posted, showing all the tables i'll create throughout the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate the support i am recieving here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 05:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937518#M323573</guid>
      <dc:creator />
      <dc:date>2015-09-28T05:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937519#M323574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think i got the message. Thx again for the document. Helps a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aggr() grouped by service and agent provides the data for each combination of service and agent, thus enabling the stdev()&amp;nbsp; [or max(), or ...]&amp;nbsp; to plot over all agents within a service.&lt;/P&gt;&lt;P&gt;Grouping only by service in the aggr() would return only one sample. So the stdev() cannot give the result i need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the tables i created:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first the aggr() over service and agent:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SRDEV3.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100190_SRDEV3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second the nested aggr with stdev(aggr()) over service and agent. chart dimension = service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="STDEV4.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/100191_STDEV4.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;So in nested aggregations - as a rule of thumb -&amp;nbsp; i need to provide data on a granularity level that enables the last (i.e. stdev()) aggregation enough samples to work with (i.e. data on an agent level)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to succesfully implement this into the real data model. Without the document and your help i would have struggled or more likely failed to do so. So thanks a million.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 10:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937519#M323574</guid>
      <dc:creator />
      <dc:date>2015-09-28T10:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: STDEV() and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937520#M323575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a lot more documents here in the forum that will be of interest.&lt;/P&gt;&lt;P&gt;I highly recommend to read all of Henric's blog posts, which link to the technical brief documents for more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 17:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STDEV-and-Set-Analysis/m-p/937520#M323575</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-28T17:25:02Z</dc:date>
    </item>
  </channel>
</rss>

