<?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 Problem with aggr() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr/m-p/238153#M89097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved it by using Total&amp;lt;&amp;gt; instead of aggr().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2009 18:55:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-11T18:55:47Z</dc:date>
    <item>
      <title>Problem with aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr/m-p/238152#M89096</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;In the Pivot table, I have the expossre of activities into different part (any number betweeb 0 to 1).&lt;/P&gt;&lt;P&gt;my expression is: =sum(Exposure_Weight)&lt;/P&gt;&lt;P&gt;It works perfectly fine. But when I try to reweight them by the partial total of expsoure, using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;B&gt;sum&lt;/B&gt;({$&amp;lt;&lt;B&gt;Type_Sub&lt;/B&gt;={"*"}-{&lt;B&gt;[Others]&lt;/B&gt;}&amp;gt;}Exposure&lt;B&gt;_Weight&lt;/B&gt;)*(100-Rest)/&lt;B&gt;aggr&lt;/B&gt;(&lt;B&gt;sum&lt;/B&gt;({$&amp;lt;&lt;B&gt;Type_Sub&lt;/B&gt;={"*"}-{&lt;B&gt;[Other]&lt;/B&gt;}&amp;gt;}Exposure&lt;B&gt;_Weight&lt;/B&gt;),&lt;B&gt;Year&lt;/B&gt;,&lt;B&gt;Month)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;I can get the partial total figures correst. But there is one reweighting figures shown on the table after Type_Sub and other rows just shown "-". If I click to different Type_Sub, there correct figure is back and only for that one.&lt;/P&gt;&lt;P&gt;Is there anything wrong?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 17:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr/m-p/238152#M89096</guid>
      <dc:creator />
      <dc:date>2009-11-11T17:44:10Z</dc:date>
    </item>
    <item>
      <title>Problem with aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr/m-p/238153#M89097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved it by using Total&amp;lt;&amp;gt; instead of aggr().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 18:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr/m-p/238153#M89097</guid>
      <dc:creator />
      <dc:date>2009-11-11T18:55:47Z</dc:date>
    </item>
    <item>
      <title>Problem with aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr/m-p/238154#M89098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way: Still use aggr, but this this , add nodistinct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 19:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr/m-p/238154#M89098</guid>
      <dc:creator />
      <dc:date>2009-11-11T19:23:48Z</dc:date>
    </item>
  </channel>
</rss>

