<?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: Question about TOTALs over fields / aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-about-TOTALs-over-fields-aggregation/m-p/358925#M492879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to add some Set Analysis in the denominator portion of your expression to release selection on each field included in the drill down group.&lt;BR /&gt;For example, if the fields in the group are [Category], [Brand], and [Product], the expression would look as follows:&lt;BR /&gt;COUNT({$&amp;lt;DMC = {'True'}&amp;gt;} callResultId)&lt;BR /&gt;/&lt;BR /&gt;COUNT({$&amp;lt;DMC = {'True'}, [Category]=, [Brand]=,[Product]=&amp;gt;} TOTAL &amp;lt;Week, AgentName&amp;gt; callResultId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to only release selection in the current level of the drill down, this will require some logic to determine what level you are at - basically checking for 1 possible value &lt;SPAN style="color: #333333; line-height: 115%; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;starting &lt;/SPAN&gt;at the lowest level of the hierarchy.&lt;BR /&gt;-Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 12:48:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-19T12:48:20Z</dc:date>
    <item>
      <title>Question about TOTALs over fields / aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-TOTALs-over-fields-aggregation/m-p/358924#M492878</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'm going round in circles here and hope someone can help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table that has 3 dimensions&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Week&lt;/P&gt;&lt;P&gt;Agent&lt;/P&gt;&lt;P&gt;[Contact Outcome] * this is a drill down group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table shows the percentage of call results falling in each contact group for each agent per week, and this works fine, I use the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;DMC = {'True'}&amp;gt;} callResultId)/COUNT({$&amp;lt;DMC = {'True'}&amp;gt;} TOTAL &amp;lt;Week, AgentName&amp;gt; callResultId) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I drill into the contact outcome drill down group, it shows the percentage of call results in the week for the agent within that Contact Outcome group. What I want it to do is show the count of the lower level field in the group as a percentage of ALL the calls for that agent for that week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise where I'm going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 08:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-TOTALs-over-fields-aggregation/m-p/358924#M492878</guid>
      <dc:creator />
      <dc:date>2012-06-19T08:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Question about TOTALs over fields / aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-TOTALs-over-fields-aggregation/m-p/358925#M492879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to add some Set Analysis in the denominator portion of your expression to release selection on each field included in the drill down group.&lt;BR /&gt;For example, if the fields in the group are [Category], [Brand], and [Product], the expression would look as follows:&lt;BR /&gt;COUNT({$&amp;lt;DMC = {'True'}&amp;gt;} callResultId)&lt;BR /&gt;/&lt;BR /&gt;COUNT({$&amp;lt;DMC = {'True'}, [Category]=, [Brand]=,[Product]=&amp;gt;} TOTAL &amp;lt;Week, AgentName&amp;gt; callResultId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to only release selection in the current level of the drill down, this will require some logic to determine what level you are at - basically checking for 1 possible value &lt;SPAN style="color: #333333; line-height: 115%; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;starting &lt;/SPAN&gt;at the lowest level of the hierarchy.&lt;BR /&gt;-Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 12:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-TOTALs-over-fields-aggregation/m-p/358925#M492879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-19T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question about TOTALs over fields / aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-TOTALs-over-fields-aggregation/m-p/358926#M492880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic, works a treat... thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 12:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-TOTALs-over-fields-aggregation/m-p/358926#M492880</guid>
      <dc:creator />
      <dc:date>2012-06-19T12:59:38Z</dc:date>
    </item>
  </channel>
</rss>

