<?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() Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128591#M764225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few of these all get me the same result if I filter on one ID, for example I get $618.40 for 66761, but when I run it for the the entire I do not receive the correct number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2018 18:28:28 GMT</pubDate>
    <dc:creator>greend21</dc:creator>
    <dc:date>2018-07-10T18:28:28Z</dc:date>
    <item>
      <title>Aggr() Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128589#M764223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen examples online of how to sum totals per distinct ID but unless I am missing something it is not working for me. If I sum charge I correctly get $244,102,899.29, just as in excel. If I remove duplicate ID's in excel I get $244,082.019.66 but I cannot get this number within Qlik. Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128589#M764223</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128590#M764224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what expression you tried, but try one of these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(DISTINCT Charge), ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Avg(Charge), ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Charge, ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Min(Charge), ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Max(Charge), ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 18:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128590#M764224</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-10T18:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128591#M764225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few of these all get me the same result if I filter on one ID, for example I get $618.40 for 66761, but when I run it for the the entire I do not receive the correct number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 18:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128591#M764225</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2018-07-10T18:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128592#M764226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you mean when you run it for entire? What is that you are expecting as your output based on selection. Sunny's expr should work, unless your requirement is different? Please let us know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 18:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128592#M764226</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-10T18:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128593#M764227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the information in columns I and J in my sample data where I had excel remove duplicates I would expect Qlik to show the same $244,082,019.66 but it does not. If you use the data in Column A and B and look at ID 66761 and just summed you would get $1236.80 which is wrong. Sunny's expression gets me the correct $618.40 if I happen to filter on this receivable but it does not give me $244,082,019.66 with no selections. Aggr should give me the amount per unique ID right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 12:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128593#M764227</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2018-07-11T12:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128594#M764228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were you able to get it to work correctly with the sample data? I'm still not having any luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 20:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128594#M764228</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2018-07-11T20:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr() Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128595#M764229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a few spots where this is not working as expected. Does anyone have any suggestions or fixes using the sample data? I'm still not having any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify, I am only showing the grand total of charges and not the charge per ID in a table, but I need the duplicates removed from the total. Aggr seems to work per ID but not on a grand total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 15:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Issue/m-p/128595#M764229</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2018-07-18T15:36:09Z</dc:date>
    </item>
  </channel>
</rss>

