<?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: What is a performance efficient way to write SUM expression with nested AGGR inside? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95196#M6342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without seeing the real thing, it might be difficult to suggest ideas for improvement...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2018 11:50:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-17T11:50:16Z</dc:date>
    <item>
      <title>What is a performance efficient way to write SUM expression with nested AGGR inside?</title>
      <link>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95193#M6339</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;Let's say I have an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(&lt;/P&gt;&lt;P&gt;Pick($(vSelectorValue),&lt;/P&gt;&lt;P&gt;Aggr(Sales),&lt;/P&gt;&lt;P&gt;Aggr(Orders),&lt;/P&gt;&lt;P&gt;Aggr(Shipments)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to SUM one of the Aggr values based on the variable value of &lt;SPAN style="font-size: 13.3333px;"&gt;vSelectorValue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is the above expression an efficient way to write? Is there a better way to write the expression to make it efficient?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I am aware that Aggr can be performance impacting but my question is around the above expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 11:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95193#M6339</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2018-07-17T11:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: What is a performance efficient way to write SUM expression with nested AGGR inside?</title>
      <link>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95194#M6340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need Aggr() here? Is Sales, Order, and Shipments expressions or fields? If they are fields, why don't you just do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum(Pick($(vSelectorValue), Sales, Orders, Shipments))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 11:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95194#M6340</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-17T11:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is a performance efficient way to write SUM expression with nested AGGR inside?</title>
      <link>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95195#M6341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's because I am presenting a simplified version for the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In reality my Aggr is a bit more complex and contains variables etc inside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 11:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95195#M6341</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2018-07-17T11:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is a performance efficient way to write SUM expression with nested AGGR inside?</title>
      <link>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95196#M6342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without seeing the real thing, it might be difficult to suggest ideas for improvement...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 11:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-is-a-performance-efficient-way-to-write-SUM-expression-with/m-p/95196#M6342</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-17T11:50:16Z</dc:date>
    </item>
  </channel>
</rss>

