<?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: Performance comparison between aggr() and Intervalmatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Performance-comparison-between-aggr-and-Intervalmatch/m-p/492064#M183967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anjos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that was all the answer I was looking for.&lt;/P&gt;&lt;P&gt;Of course it is more complicated than that, there are always several factors involved. But I can understand that a calculation made only once is faster than one made every time the user selects something.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 07:15:02 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2013-10-21T07:15:02Z</dc:date>
    <item>
      <title>Performance comparison between aggr() and Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-comparison-between-aggr-and-Intervalmatch/m-p/492062#M183965</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;&lt;/P&gt;&lt;P&gt;I just read in my book "QlikView 11 for Developers", the chapter about using the "Class" function,&lt;/P&gt;&lt;P&gt;in particular about building that fct. into a nested aggregation with AGGR() and using that as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a QlikView app where the outcome is a diagram that looks essentially like the one used as an example&lt;/P&gt;&lt;P&gt;in the book:&lt;/P&gt;&lt;P&gt;=&amp;gt; I calculate how many remaining holidays (not yet taken and not planned) every employee has, I group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; them into categories ("-1 to 0", "1 to 10" etc.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;=&amp;gt; Only in that app I use a different approach:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - I calculate that "holiday remaining" in a rather complex way from three tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Then I use the Intervalmatch fct. to group that into categories which I specify in an Inline table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I remember once reading that calculated dimensions using aggr() are quite&lt;/P&gt;&lt;P&gt;resource-heavy, but I'd still like to be sure here:&lt;/P&gt;&lt;P&gt;=&amp;gt; Is the approach using IntervalMatch the faster/ less resource-heavy way or is it the one using aggr()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 17:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-comparison-between-aggr-and-Intervalmatch/m-p/492062#M183965</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-10-18T17:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Performance comparison between aggr() and Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-comparison-between-aggr-and-Intervalmatch/m-p/492063#M183966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends, there are other variables (quantity of rows, complexity of your AGGR expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually script level calculations use resources only one time (at reload) and AGGR will recalculate every selection was made.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 17:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-comparison-between-aggr-and-Intervalmatch/m-p/492063#M183966</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-18T17:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance comparison between aggr() and Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-comparison-between-aggr-and-Intervalmatch/m-p/492064#M183967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anjos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that was all the answer I was looking for.&lt;/P&gt;&lt;P&gt;Of course it is more complicated than that, there are always several factors involved. But I can understand that a calculation made only once is faster than one made every time the user selects something.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 07:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-comparison-between-aggr-and-Intervalmatch/m-p/492064#M183967</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-10-21T07:15:02Z</dc:date>
    </item>
  </channel>
</rss>

