<?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: Should I be using Aggr? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683823#M247877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is helpful: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 13:27:53 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-09-24T13:27:53Z</dc:date>
    <item>
      <title>Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683821#M247875</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 new to Qlikview and currently working on a project where I take the sum of a field for a number of individual loans and depending on the sum, I multiply that amount by a certain percentage to be placed in another field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, IF(Aggr(SUM( loan), employee) &amp;lt; 1000, SUM(loan*.0035). This syntax is giving me the intended results but in the field in which I show the results, I am only getting the total and the highest loan for each employee. I want to be able to see the results from each loan not just the highest loan and the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume this is a result of using AGGR. Is there any other way to get the same output but show all the data I need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using COUNT(IF(Aggr(SUM( loan), employee) &amp;lt; 1000, SUM(loan*.0035)) is multiplying individual loans by .0035 and not the total sum of the loan field and outputting incorrect data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683821#M247875</guid>
      <dc:creator />
      <dc:date>2014-09-24T12:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683822#M247876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post an example document with some data? Read this document if you're worried about confidential information: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683822#M247876</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-24T13:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683823#M247877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is helpful: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/11/when-should-the-aggr-function-not-be-used&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683823#M247877</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-24T13:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683824#M247878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have posted the document I am working on. The goal here is to take the individual loan sum in [Loan Amount] and using this syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(sum(loan_amt),LoanOfficer) &amp;lt; 500000, sum(loan_amt*.0035), &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;aggr(sum(loan_amt),LoanOfficer) &amp;gt; 500000 and aggr(sum(loan_amt),LoanOfficer) &amp;lt;= 700000, sum(loan_amt*.0050)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the data in [Tier_On_Commission]. This code works just fine for outputting my expected data. The issue here is that I want to see the sum for the individual loans as well &lt;STRONG&gt;NOT &lt;/STRONG&gt;just the &lt;STRONG&gt;highest sum&lt;/STRONG&gt; loan which you can see in the document. Data which are not the highest value are coming up as&lt;STRONG&gt; '-'&lt;/STRONG&gt; ; yet the data is available if I were to drill down into the individual loan.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The question is how do I get that data to show up on this sheet?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I assumed it was my use of &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;AGGR&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;() which is filtering the data to just show the highest sum. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683824#M247878</guid>
      <dc:creator />
      <dc:date>2014-09-24T14:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683825#M247879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried without using AGGR()&amp;nbsp; but I do not get my intended results or the expression just does not work. Maybe I need to reword my logic? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683825#M247879</guid>
      <dc:creator />
      <dc:date>2014-09-24T14:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683826#M247880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid I cannot find the document you say you posted. Or are you referring to the screenshot? I cannot tell from a screenshot how to help you solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683826#M247880</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-24T14:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683827#M247881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize for the confusion. How would I go about uploading the document? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683827#M247881</guid>
      <dc:creator />
      <dc:date>2014-09-24T14:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683828#M247882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using AGGR() was unnecessary, and was the reason for the apparent null data I was getting. SUM(DISTANT&amp;lt;&amp;gt;) gave me the result I intended. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 16:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Should-I-be-using-Aggr/m-p/683828#M247882</guid>
      <dc:creator />
      <dc:date>2014-09-24T16:57:21Z</dc:date>
    </item>
  </channel>
</rss>

