<?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 &amp; aggr(max) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-aggr-max/m-p/1204350#M877024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(Aggr(Total_Payment), ID) - &lt;EM&gt;Using aggr() without any aggregation function inside doesn't make much of sense.&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(Aggr(max(total_payment), ID)) - &lt;EM&gt;This gives you sum of all the max values of Total_Payment against each IDs.&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To understand such expression, best to create a sample and try to understand the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2016 04:47:36 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-10-19T04:47:36Z</dc:date>
    <item>
      <title>Aggr &amp; aggr(max)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-aggr-max/m-p/1204348#M877022</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 am really confused to use aggr function as am not clear reg. the difference between&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Aggr(Total_Payment), ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Aggr(max(total_payment), ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me understanding the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohini. M&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-aggr-max/m-p/1204348#M877022</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr &amp; aggr(max)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-aggr-max/m-p/1204349#M877023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First one is simple Aggregation which values from ID based on Total_Payment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second one is Only get which is the Maximum value from Total_Payment which Calc part should ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check by your hand using this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;total_payment=&lt;/SPAN&gt;&amp;gt;}ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;2) Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;total_payment= {"$(=Max(&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;total_payment&lt;/STRONG&gt;))"}&lt;/SPAN&gt;&amp;gt;}ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-aggr-max/m-p/1204349#M877023</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-19T04:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr &amp; aggr(max)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-aggr-max/m-p/1204350#M877024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(Aggr(Total_Payment), ID) - &lt;EM&gt;Using aggr() without any aggregation function inside doesn't make much of sense.&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(Aggr(max(total_payment), ID)) - &lt;EM&gt;This gives you sum of all the max values of Total_Payment against each IDs.&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To understand such expression, best to create a sample and try to understand the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-aggr-max/m-p/1204350#M877024</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-19T04:47:36Z</dc:date>
    </item>
  </channel>
</rss>

