<?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: Help with aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256027#M1185773</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;If you use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(sum(Production),Region,Class)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;aggr(SUM(Production),Region)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for desire calculation then you get corrct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2011 11:08:36 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-10-24T11:08:36Z</dc:date>
    <item>
      <title>Help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256025#M1185771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;I am new to QV and need your help with the following issue:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;I am using a Mekko chart in order to show the distribution of production per region per class (class of production).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;The problem is when I check the “Relative” checkbox, the distribution is done based on the total production from all regions, and not per region as desired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;I was able to use the aggr function in order to sum the production by region, but I wasn’t able to calculate the production by class and region.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;I’ve attached a file with the desired outcome and the outcome I get now.&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;I would appreciate your help,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Maya&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 09:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256025#M1185771</guid>
      <dc:creator />
      <dc:date>2011-10-18T09:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256026#M1185772</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 have used drill down group for the dimentions(region and class). Click on any Region it ll show its corresponding class's production hope it ll help u.&lt;/P&gt;&lt;P&gt;Just see the attachment. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 10:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256026#M1185772</guid>
      <dc:creator />
      <dc:date>2011-10-24T10:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256027#M1185773</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;If you use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(sum(Production),Region,Class)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;aggr(SUM(Production),Region)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for desire calculation then you get corrct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 11:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256027#M1185773</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-24T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256028#M1185774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;First, thanks for the help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;It did not work properly... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Now it shows only one class ("Not specified") per region.-Each region gets the % in that specific class (("Not specified")- the result is not correct either.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Maya&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 11:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-aggr-function/m-p/256028#M1185774</guid>
      <dc:creator />
      <dc:date>2011-10-24T11:53:53Z</dc:date>
    </item>
  </channel>
</rss>

