<?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: aggr problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835187#M293806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every time you have an AGGR() inside an object that has dimensions, those dimensions should be into your expression, unless you know exactly what you are doing. (rare situations)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Your table has Year-Month as dimension, right? So, this field should be inside your AGGR() expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 May 2015 11:38:34 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2015-05-23T11:38:34Z</dc:date>
    <item>
      <title>aggr problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835184#M293803</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 encounter a problem in using aggr. Hope someone can give me some help, much appreciate!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used below expression in the chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(sum(quantityTickets),MasterPID,packageIdCode))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is with one of the dimension (Year-Month) and it shows incorrect value. However, when I used the same expression in other charts, it doesn't have problem. Moreover, when I selected either one of the month, the value will automatically be corrected. See below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87292_1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;After&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/87303_2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Below is the linkage between the tables. The quantity is located in table colorsizes.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/87304_3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Please help and thanks for all your assistance and attention first!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 14:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835184#M293803</guid>
      <dc:creator />
      <dc:date>2015-05-22T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: aggr problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835185#M293804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(aggr(sum(quantityTickets),[&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year-Month&lt;/SPAN&gt;],MasterPID,packageIdCode))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 15:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835185#M293804</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-05-22T15:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: aggr problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835186#M293805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh! Thank you so much! It definitely resolved the problem! Would you please give me a little bit explanation of what the mistake I made to bring this problem in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 01:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835186#M293805</guid>
      <dc:creator />
      <dc:date>2015-05-23T01:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: aggr problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835187#M293806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every time you have an AGGR() inside an object that has dimensions, those dimensions should be into your expression, unless you know exactly what you are doing. (rare situations)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Your table has Year-Month as dimension, right? So, this field should be inside your AGGR() expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 11:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835187#M293806</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-05-23T11:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: aggr problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835188#M293807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it! Thank you so much! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 11:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835188#M293807</guid>
      <dc:creator />
      <dc:date>2015-05-23T11:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: aggr problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835189#M293808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you mind to close this discussion by marking Clever's answer as "correct"? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;(Otherwise it is shown as "open" forever.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 19:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835189#M293808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-23T19:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: aggr problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835190#M293809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that. I should have it done. Let me know if there is still any problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 01:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-problem/m-p/835190#M293809</guid>
      <dc:creator />
      <dc:date>2015-05-24T01:54:51Z</dc:date>
    </item>
  </channel>
</rss>

