<?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: Same Sum, disregards dimensions in a chart, except one in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557954#M2189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the service field within &amp;lt; &amp;gt;.&amp;nbsp; When you said it doesn't work, do you mean that no value is returned or the value is incorrect?&amp;nbsp; Please include the formula you are using.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards, Karl &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 03:47:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-03T03:47:04Z</dc:date>
    <item>
      <title>Same Sum, disregards dimensions in a chart, except one</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557951#M2186</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'm trying to get KPIs of my customer service, which i control every customers request as a CASE. I'm basically extracting data from Microsoft Dynamics CRM, which i have all my CASES, and analyzing them in QV. I need to know the average time my employees are executing services, then compare this average per service and per case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already know the average of time of every service (picture 1), but when i'm trying to drilldown and compare this average per case and per employee, the average changes in the chart, like picture 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I basically want to check if cases were solved according the average like picture 3. So, for all cases, the average must be the same as the value of picture 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the average i'm using expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(ceil((Aggr(sum([Case Spent Time]),[Service]))/&lt;/P&gt;&lt;P&gt;(aggr(COUNT(DISTINCT{$&amp;lt;{[Case Status] = {'solved'}&amp;gt;}[Case Number]),[Service]))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already tried without the first sum, but instead 0 i got null. Also tried with aggr fuction, but didn't work as well.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura de Tela 2013-08-31 às 21.43.09.png" class="jive-image" src="/legacyfs/online/46079_Captura de Tela 2013-08-31 às 21.43.09.png" style="width: 620px; height: 221px;" /&gt;&lt;/P&gt;&lt;P&gt;picture 1&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura de Tela 2013-08-31 às 21.54.20.png" class="jive-image" src="/legacyfs/online/46082_Captura de Tela 2013-08-31 às 21.54.20.png" style="width: 620px; height: 273px;" /&gt;&lt;/P&gt;&lt;P&gt;picture 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura de Tela 2013-08-31 às 21.51.32.png" class="jive-image" src="/legacyfs/online/46080_Captura de Tela 2013-08-31 às 21.51.32.png" style="width: 620px; height: 277px;" /&gt;&lt;/P&gt;&lt;P&gt;picture 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be very glad if someone could help me, it's driving me crazy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Sep 2013 01:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557951#M2186</guid>
      <dc:creator />
      <dc:date>2013-09-01T01:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Same Sum, disregards dimensions in a chart, except one</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557952#M2187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of the aggr() function use the total function to calculate the average time for the service and then the discrepancy.&amp;nbsp; For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;Service&amp;gt; [Case Spent Time])/count(distinct total &amp;lt;Service&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;{$&amp;lt;{[Case Status] = {'solved'}&amp;gt;} [Case Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards, Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Sep 2013 03:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557952#M2187</guid>
      <dc:creator />
      <dc:date>2013-09-01T03:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Same Sum, disregards dimensions in a chart, except one</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557953#M2188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you said &amp;lt;Service&amp;gt; what does it means? Use only SERVICE dimension, or dimentios between &amp;lt; &amp;gt; symbols?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, i have used dimension plus &amp;lt; &amp;gt;, as &amp;lt;Service&amp;gt;, and i dind't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 13:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557953#M2188</guid>
      <dc:creator />
      <dc:date>2013-09-02T13:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Same Sum, disregards dimensions in a chart, except one</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557954#M2189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the service field within &amp;lt; &amp;gt;.&amp;nbsp; When you said it doesn't work, do you mean that no value is returned or the value is incorrect?&amp;nbsp; Please include the formula you are using.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards, Karl &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 03:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557954#M2189</guid>
      <dc:creator />
      <dc:date>2013-09-03T03:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Same Sum, disregards dimensions in a chart, except one</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557955#M2190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not working mean there are no values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(TOTAL &amp;lt;SERVICO_OCORRENCIA&amp;gt; TEMPO_GASTO_OCORRENCIA)/Count(DISTINCT TOTAL &amp;lt;SERVICO_OCORRENCIA&amp;gt; {$&amp;lt;STATUS_OCORRENCIA={'Resolvido'}&amp;gt;} NUMER_OCORRENCIA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing in portuguese, so here are translations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SERVICO_OCORRENCIA - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TEMPO_GASTO_OCORRENCIA - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Case Spent Time]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;STATUS_OCORRENCIA - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Case Status]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resolvido - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;solved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NUMER_OCORRENCIA - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; [Case Number]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557955#M2190</guid>
      <dc:creator />
      <dc:date>2013-09-03T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Same Sum, disregards dimensions in a chart, except one</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557956#M2191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula looks good.&amp;nbsp; If you're still having a problem, try to divide and test each part of the formula.&amp;nbsp; First try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(TOTAL &amp;lt;SERVICO_OCORRENCIA&amp;gt; TEMPO_GASTO_OCORRENCIA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT TOTAL &amp;lt;SERVICO_OCORRENCIA&amp;gt; {$&amp;lt;STATUS_OCORRENCIA={'Resolvido'}&amp;gt;} NUMER_OCORRENCIA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uploading a sample file might help, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 22:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Same-Sum-disregards-dimensions-in-a-chart-except-one/m-p/557956#M2191</guid>
      <dc:creator />
      <dc:date>2013-09-08T22:51:37Z</dc:date>
    </item>
  </channel>
</rss>

