<?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: Reusing Aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483103#M180542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say your first expression: =&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;aggr(sum(A/B), Dim1)&amp;nbsp; &lt;/STRONG&gt; and label it as 'AAA'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;then you can refer this expression in following expressions like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AAA-Sum(D)&lt;/P&gt;&lt;P&gt;=AAA/Sum(E)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;=Column(1)/Sum(D)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // column(N), 'N' is the expression column position which you refer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, even you can define a variable for the expression and refer it wherever you need it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 17:37:53 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2013-11-05T17:37:53Z</dc:date>
    <item>
      <title>Reusing Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483102#M180541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way I can reuse the aggr function especially it's virtual table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say for instance, below expression which i thought of re-using is part of almost all of my final expressions.&lt;/P&gt;&lt;P&gt;aggr(sum(A/B), Dim1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final Expressions:&lt;/P&gt;&lt;P&gt;aggr(sum(A/B), Dim1) - Sum(D)&lt;/P&gt;&lt;P&gt;aggr(sum(A/B), Dim1)/Sum(E)&lt;/P&gt;&lt;P&gt;aggr(sum(A/B), Dim1)*100&lt;/P&gt;&lt;P&gt;and many..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So by any chance I could reuse the virtual table created by one Aggr function to all of my final expressions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483102#M180541</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2013-11-05T17:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reusing Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483103#M180542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say your first expression: =&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;aggr(sum(A/B), Dim1)&amp;nbsp; &lt;/STRONG&gt; and label it as 'AAA'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;then you can refer this expression in following expressions like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AAA-Sum(D)&lt;/P&gt;&lt;P&gt;=AAA/Sum(E)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;=Column(1)/Sum(D)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // column(N), 'N' is the expression column position which you refer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, even you can define a variable for the expression and refer it wherever you need it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483103#M180542</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-11-05T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reusing Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483104#M180543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable using your constant expression and use it&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;aggr(sum(A/B), Dim1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Please refer to &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/11/04/the-magic-of-variables"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/11/04/the-magic-of-variables&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483104#M180543</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-11-05T17:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reusing Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483105#M180544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read a post by Barry regarding labeling and using variable instead of&lt;/P&gt;&lt;P&gt;direct expression but he concluded saying neither of them posses attractive&lt;/P&gt;&lt;P&gt;performance benefit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently Im in a situation where one of chart is taking almost 10 mins to&lt;/P&gt;&lt;P&gt;load, I've get of rid of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 18:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483105#M180544</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2013-11-05T18:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reusing Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483106#M180545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The more you use AGGR and such complex expressions in the UI, your UI performance would suffer. You can't hold the calculated values(apart from single value in a variable) in UI. Therefore, to get rid of it, you might have to contemplate on bringing some calculations in the script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 18:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reusing-Aggr-function/m-p/483106#M180545</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-11-05T18:27:07Z</dc:date>
    </item>
  </channel>
</rss>

