<?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: Trouble with Aggr in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-with-Aggr-in-pivot-table/m-p/1459429#M435780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, that has fixed the issue I was facing.&amp;nbsp; I forgot you could specify the total dimensions within the statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 13:59:05 GMT</pubDate>
    <dc:creator>jarrad_murray</dc:creator>
    <dc:date>2018-01-05T13:59:05Z</dc:date>
    <item>
      <title>Trouble with Aggr in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Aggr-in-pivot-table/m-p/1459427#M435778</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 am having difficulty with some aggregation within a pivot table (attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently column 3 displays the value 15,360.85 when nothing is selected, as a month, CCG or specialty are selected the value amends itself. &lt;/P&gt;&lt;P&gt;What I am trying to achieve is for column 3 to show a single value (the same value for all specialties) for each CCG and Month &lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;April&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06L - 100 - 27.02&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06L - 101 - 27.02&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06L - 110 - 27.02 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06Q - 155.78&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06T - 1389.88&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07G - 0.80&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06L - 23.37&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06Q - 134.76&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06T - 1211.72&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07G - 0.69&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried changing the aggregate statement but don't seem to be able to achieve what I am after.&lt;/P&gt;&lt;P&gt;If possible, can someone tell me where I am going wrong and what I need to do to fix this please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Aggr-in-pivot-table/m-p/1459427#M435778</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-01-05T10:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Aggr in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Aggr-in-pivot-table/m-p/1459428#M435779</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 &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;MonthName, CCG_Code&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(if(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CCG_Code = '06T', sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;}RTTTotal),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;}RTTTotal)*max(Excl06T)) * 0.92)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- if(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CCG_Code = '06T', sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;} [&amp;lt;18]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;}[&amp;lt;18])*max(Excl06T)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;) &amp;lt; 0, 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(if(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CCG_Code = '06T', sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;}RTTTotal),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;}RTTTotal)*max(Excl06T)) * 0.92)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- if(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CCG_Code = '06T', sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;} [&amp;lt;18]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;Spec -= {'INCOM92%'}&amp;gt;}[&amp;lt;18])*max(Excl06T)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,MonthName,CCG_Code, Spec))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189066_Capture.PNG" style="height: 723px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 12:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Aggr-in-pivot-table/m-p/1459428#M435779</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-05T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Aggr in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Aggr-in-pivot-table/m-p/1459429#M435780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, that has fixed the issue I was facing.&amp;nbsp; I forgot you could specify the total dimensions within the statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Aggr-in-pivot-table/m-p/1459429#M435780</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-01-05T13:59:05Z</dc:date>
    </item>
  </channel>
</rss>

