<?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 Function expression issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-Function-expression-issue/m-p/519950#M194307</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;just an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the function &lt;STRONG&gt;getcurrentfield(GroupName)&lt;/STRONG&gt; can solve your issue. It displays the Name of the actike Field in the drill down group&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2013 10:35:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-28T10:35:36Z</dc:date>
    <item>
      <title>Aggr Function expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function-expression-issue/m-p/519949#M194306</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;&lt;/P&gt;&lt;P&gt;I am facing some performance issues in a qlikview application that process around 50 Mil rows of data.&lt;/P&gt;&lt;P&gt;The issue is 2 fold:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; We have multiple drill groups in the applications and are displaying labels at multiple places based on the current drill down group level. Hence a lot of nested ifs are there.I am just thinking if nested ifs can be converted to something more efficient.&lt;/P&gt;&lt;P&gt;&amp;gt; We are using aggr functions in many expressions that could be causing slowness. An example format of the aggr logic we are using is this. I am thinking if it can be replaced with a set expression, but not sure. What set expression would it be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if(aggr(sum({&amp;lt;[Unique ID]={"&amp;gt;0"}&amp;gt;}' &amp;amp; Chr(36) &amp;amp; '(GrossSales)),' &amp;amp; Chr(36) &amp;amp; '(vAggrHierarchyFieldName), [uniqueIDs])&amp;gt;=10000,1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here vAggrHierachyFieldName is a nested iff to get the field name of the current level of the drill down group. Its again a nested iff statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&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;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 09:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function-expression-issue/m-p/519949#M194306</guid>
      <dc:creator />
      <dc:date>2013-06-28T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function-expression-issue/m-p/519950#M194307</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;just an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the function &lt;STRONG&gt;getcurrentfield(GroupName)&lt;/STRONG&gt; can solve your issue. It displays the Name of the actike Field in the drill down group&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 10:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function-expression-issue/m-p/519950#M194307</guid>
      <dc:creator />
      <dc:date>2013-06-28T10:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function expression issue</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function-expression-issue/m-p/519951#M194308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to convert the Aggr based expression into set analysis. I have a feeling that its too heavy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 11:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function-expression-issue/m-p/519951#M194308</guid>
      <dc:creator />
      <dc:date>2013-06-28T11:56:39Z</dc:date>
    </item>
  </channel>
</rss>

