<?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 Optimizing expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Optimizing-expression/m-p/49879#M3365</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;I have a situation.&lt;/P&gt;&lt;P&gt;I am attaching a qlikview file here:&lt;/P&gt;&lt;P&gt;I have 1 table and 2 filters in my original app(Just like the sample I am attaching here)&lt;/P&gt;&lt;P&gt;The problem is that the expression (specified below) is taking a lot of time to calculate when the number of patients increases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #ff0000;"&gt;&lt;STRONG&gt;=Pick(Match('['&amp;amp;Type&amp;amp;']',$(=Concat(DISTINCT chr(39)&amp;amp;'['&amp;amp;Type&amp;amp;']'&amp;amp;chr(39), ','))),&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;EM&gt;&amp;nbsp; $(=Concat(DISTINCT 'Sum($(vfilter)[' &amp;amp;Type&amp;amp;'])' ,','))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The application &lt;/STRONG&gt;i&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; am developing is in &lt;/STRONG&gt;&lt;/SPAN&gt;qliksense&lt;STRONG style="text-decoration: underline;"&gt;. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have made a Qlikview app and attached here just to give a reference. &lt;/P&gt;&lt;P&gt;It would be great if anyone has any other way to optimize this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 13:25:33 GMT</pubDate>
    <dc:creator>chhavi376</dc:creator>
    <dc:date>2018-04-17T13:25:33Z</dc:date>
    <item>
      <title>Optimizing expression</title>
      <link>https://community.qlik.com/t5/App-Development/Optimizing-expression/m-p/49879#M3365</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;I have a situation.&lt;/P&gt;&lt;P&gt;I am attaching a qlikview file here:&lt;/P&gt;&lt;P&gt;I have 1 table and 2 filters in my original app(Just like the sample I am attaching here)&lt;/P&gt;&lt;P&gt;The problem is that the expression (specified below) is taking a lot of time to calculate when the number of patients increases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #ff0000;"&gt;&lt;STRONG&gt;=Pick(Match('['&amp;amp;Type&amp;amp;']',$(=Concat(DISTINCT chr(39)&amp;amp;'['&amp;amp;Type&amp;amp;']'&amp;amp;chr(39), ','))),&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;EM&gt;&amp;nbsp; $(=Concat(DISTINCT 'Sum($(vfilter)[' &amp;amp;Type&amp;amp;'])' ,','))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The application &lt;/STRONG&gt;i&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; am developing is in &lt;/STRONG&gt;&lt;/SPAN&gt;qliksense&lt;STRONG style="text-decoration: underline;"&gt;. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have made a Qlikview app and attached here just to give a reference. &lt;/P&gt;&lt;P&gt;It would be great if anyone has any other way to optimize this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Optimizing-expression/m-p/49879#M3365</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2018-04-17T13:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing expression</title>
      <link>https://community.qlik.com/t5/App-Development/Optimizing-expression/m-p/49880#M3366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I no longer have QlikView installed anywhere, could you share your QlikSense version ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Optimizing-expression/m-p/49880#M3366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-17T13:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing expression</title>
      <link>https://community.qlik.com/t5/App-Development/Optimizing-expression/m-p/49881#M3367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not double-posting: &lt;A href="https://community.qlik.com/thread/298557"&gt;Optimizing Expression&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Optimizing-expression/m-p/49881#M3367</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-17T15:16:55Z</dc:date>
    </item>
  </channel>
</rss>

