<?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 optimization of Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451876#M434483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this needed to be aggregated on the front end (in other words does this need to work with selections)? If it doesn't then may be pre-aggregate this in the script and then create a flag for each Precriber and then select the flag field...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 13:53:33 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-23T13:53:33Z</dc:date>
    <item>
      <title>Performance optimization of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451875#M434482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my app I am selecting Prescriber using the below expression in a list box and on Map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a trigger condition on a button :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat(aggr(if(sum(Volume)&amp;gt;20, only(Prescriber)),Prescriber),'|','')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the selection is taking more than a minute if number of prescribers is high(e.g &amp;gt;10000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how we can optimize above scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451875#M434482</guid>
      <dc:creator />
      <dc:date>2017-08-23T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance optimization of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451876#M434483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this needed to be aggregated on the front end (in other words does this need to work with selections)? If it doesn't then may be pre-aggregate this in the script and then create a flag for each Precriber and then select the flag field...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451876#M434483</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Performance optimization of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451877#M434484</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;This needs to be aggregated on the front end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Volume)&amp;gt;20, is user input field. User may select some other metric or combination of metrics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence,&amp;nbsp; this cannot be calculated from script side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 06:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451877#M434484</guid>
      <dc:creator />
      <dc:date>2017-08-24T06:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance optimization of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451878#M434485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='(' &amp;amp; concat(Distinct {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Prescriber&lt;/SPAN&gt;={"=sum(Volume)&amp;gt;20"}&amp;gt;} Prescriber ,'|')&amp;nbsp; &amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Edit: corrected a bracket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 06:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451878#M434485</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-24T06:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance optimization of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451879#M434486</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;I feel you dont need any trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All you do if add a filter i.e &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Prescriber&amp;nbsp; and ask your user to search on that field as =sum(Volume)&amp;gt;20&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;it will do the relevant selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;give it a try.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 07:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451879#M434486</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-08-24T07:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance optimization of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451880#M434487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Trsesco for the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in my actual implementation,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(Volume)&amp;gt;20 is something which the user is selecting on the fly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This is coming from a var: vExp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='(' &amp;amp; concat(Distinct {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Prescriber&lt;/SPAN&gt;={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vExp&lt;/SPAN&gt;"}&amp;gt;} Prescriber ,'|')&amp;nbsp; &amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When i try this prescribers are coming as blank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Am i doing anything wrong in above expression. Is there anyway to correct the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451880#M434487</guid>
      <dc:creator />
      <dc:date>2017-08-24T10:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Performance optimization of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451881#M434488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with $ expansion like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='(' &amp;amp; concat(Distinct {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Prescriber&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;={"=&lt;STRONG&gt;$&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vExp)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"}&amp;gt;} Prescriber ,'|')&amp;nbsp; &amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-optimization-of-Expression/m-p/1451881#M434488</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-24T10:57:10Z</dc:date>
    </item>
  </channel>
</rss>

