<?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() and Only() Functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226138#M78372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DV,&lt;/P&gt;&lt;P&gt;Here a good explaination for AGGR function : &lt;A href="http://community.qlik.com/forums/p/23009/88474.aspx"&gt;http://community.qlik.com/forums/p/23009/88474.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps ;-))&lt;/P&gt;&lt;P&gt;Kindly,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2011 13:25:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-21T13:25:48Z</dc:date>
    <item>
      <title>Aggr() and Only() Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226137#M78371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I had read the QV documentation and still confused with Aggr() and Only() functions. Can someone simply the explanation for these two functions? Or you can redirect me to a previous post...&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 13:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226137#M78371</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-21T13:17:01Z</dc:date>
    </item>
    <item>
      <title>Re. :Aggr() and Only() Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226138#M78372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DV,&lt;/P&gt;&lt;P&gt;Here a good explaination for AGGR function : &lt;A href="http://community.qlik.com/forums/p/23009/88474.aspx"&gt;http://community.qlik.com/forums/p/23009/88474.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps ;-))&lt;/P&gt;&lt;P&gt;Kindly,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 13:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226138#M78372</guid>
      <dc:creator />
      <dc:date>2011-04-21T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Aggr() and Only() Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226139#M78373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The aggr function was really hard for me to learn but once I finally got it it's been one of the most useful things. Some examples can be seen below:&lt;/P&gt;&lt;P&gt;Imagine one customer can have many invoices, and I want to know how many customers have an invoice that is more than 180 days overdue. Also, I want to show this grouped by city, so the only dimension I want to show is city. I would use the expression below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=count&lt;BR /&gt;(distinct //don't want to double count customers&lt;BR /&gt; aggr&lt;BR /&gt; (&lt;BR /&gt; if([Invoice Balance]&amp;gt;0, //means they owe money on that invoice&lt;BR /&gt; if([Invoice Due Date]&amp;lt;today()-180, //only want invoices that have been due for over 180 days&lt;BR /&gt; [Customer Number]&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; ,[Customer Number],[Invoice Number] //these are the dimensions that I would need to show if I wasn't using aggr to make this work&lt;BR /&gt; )&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;It helps me to think about it in terms of "what dimensions would I need to show here to get the results I want". If some of those dimensions that you would need to show to get your results ones that you don't actually want displayed (like invoice number and customer number in the example above) then you need to use aggr. Hopefully that made any sense at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 16:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226139#M78373</guid>
      <dc:creator />
      <dc:date>2011-04-21T16:28:06Z</dc:date>
    </item>
    <item>
      <title>Re. :Aggr() and Only() Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226140#M78374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gregory,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the link is not working.&amp;nbsp; I saw another post which explains about aggr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/125490"&gt;http://community.qlik.com/message/125490&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 02:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226140#M78374</guid>
      <dc:creator />
      <dc:date>2011-11-04T02:25:08Z</dc:date>
    </item>
    <item>
      <title>Aggr() and Only() Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226141#M78375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Thank you. Although this is very old post, this should help other users who access this thread.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks for taking time to update.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 16:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-and-Only-Functions/m-p/226141#M78375</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-11-04T16:34:00Z</dc:date>
    </item>
  </channel>
</rss>

