<?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 Poor Performance because of Nested If-Else in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900503#M1257502</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;We have a requirement, in which we have to choose the Dimensions as per selection in MultiBox values. &lt;/P&gt;&lt;P&gt;PFA, the demo application, in which I have created two Text Objects, one is "DrillDown Value" which indicates the value of one dimension and "Even DrillDown Value" which indicates the second Dimension Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the expressions in the Text Object has Nested If-Else statements, because of which we are facing poor performance issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DrillDown Object, for &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DrillDown Value, but it fails, when there is a single value in the child, it directly moves to GrandChild Value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We thought to have CASE statements in Script, but it may not be possible, as we want the value to come as per selection from User.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide any workaround for both the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;MK &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Poor Performance because of Nested If-Else</title>
      <link>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900503#M1257502</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;We have a requirement, in which we have to choose the Dimensions as per selection in MultiBox values. &lt;/P&gt;&lt;P&gt;PFA, the demo application, in which I have created two Text Objects, one is "DrillDown Value" which indicates the value of one dimension and "Even DrillDown Value" which indicates the second Dimension Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the expressions in the Text Object has Nested If-Else statements, because of which we are facing poor performance issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DrillDown Object, for &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DrillDown Value, but it fails, when there is a single value in the child, it directly moves to GrandChild Value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We thought to have CASE statements in Script, but it may not be possible, as we want the value to come as per selection from User.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide any workaround for both the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;MK &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900503#M1257502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Performance because of Nested If-Else</title>
      <link>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900504#M1257504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't know if this solution could be right for your case.&lt;/P&gt;&lt;P&gt;I suggest you to give to the user the possibility to chose the 2 dimensions he want to use changing the value of 2 different variables.&lt;/P&gt;&lt;P&gt;Check out the attachment.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900504#M1257504</guid>
      <dc:creator>mrossoit</dc:creator>
      <dc:date>2015-05-08T09:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Performance because of Nested If-Else</title>
      <link>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900505#M1257508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MK,&lt;/P&gt;&lt;P&gt;Have you read the blog by Rob Wunderlich called 'how not to choose an expression'?&lt;/P&gt;&lt;P&gt;He explains how QV calculates IF statements and that it will calculate both possible outcomes of the IF even we think it shouldn't. He also shows how to code around this and it might help the performance of your app!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 09:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900505#M1257508</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2015-06-05T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Performance because of Nested If-Else</title>
      <link>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900506#M1257511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry here's the direct link &lt;A href="http://qlikviewcookbook.com/2014/12/how-not-to-choose-an-expression/" title="http://qlikviewcookbook.com/2014/12/how-not-to-choose-an-expression/"&gt;How Not to Choose an Expression | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 09:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900506#M1257511</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2015-06-05T09:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Performance because of Nested If-Else</title>
      <link>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900507#M1257512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this could be helpful for you: &lt;A _jive_internal="true" href="https://community.qlik.com/message/723682#723682" title="https://community.qlik.com/message/723682#723682"&gt;https://community.qlik.com/message/723682#723682&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 10:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Poor-Performance-because-of-Nested-If-Else/m-p/900507#M1257512</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-07T10:08:36Z</dc:date>
    </item>
  </channel>
</rss>

