<?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 Referring Calculated Dimension in an Expression - Optimization in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referring-Calculated-Dimension-in-an-Expression-Optimization/m-p/1284556#M402344</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 have a straight table that has a column "CompletionStatus" which is a calculated dimension( If (ConditionSatisfied), 'Completed', 'Not Complete')). Now, I have a second column StudentDescription which should populate only when CompletionStatus='Completed'. I tried if(CompletionStatus='Completed', StudentDescription, Null()). But, this does not seem to work, since CompletionStatus is not a field. For now, I am using the expression in CompletionStatus to make the second column StudentDescription work &lt;SPAN style="font-size: 13.3333px;"&gt; If (ConditionSatisfied), StudentDescription, Null())).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is causing performance issues as I have millions of records, and every record has an associated CompletionStatus and StudentDescription.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I optimize the expression &lt;SPAN style="font-size: 13.3333px;"&gt;If (ConditionSatisfied), StudentDescription, Null())).&lt;/SPAN&gt; for better performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 22:32:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-15T22:32:31Z</dc:date>
    <item>
      <title>Referring Calculated Dimension in an Expression - Optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-Calculated-Dimension-in-an-Expression-Optimization/m-p/1284556#M402344</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 have a straight table that has a column "CompletionStatus" which is a calculated dimension( If (ConditionSatisfied), 'Completed', 'Not Complete')). Now, I have a second column StudentDescription which should populate only when CompletionStatus='Completed'. I tried if(CompletionStatus='Completed', StudentDescription, Null()). But, this does not seem to work, since CompletionStatus is not a field. For now, I am using the expression in CompletionStatus to make the second column StudentDescription work &lt;SPAN style="font-size: 13.3333px;"&gt; If (ConditionSatisfied), StudentDescription, Null())).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is causing performance issues as I have millions of records, and every record has an associated CompletionStatus and StudentDescription.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I optimize the expression &lt;SPAN style="font-size: 13.3333px;"&gt;If (ConditionSatisfied), StudentDescription, Null())).&lt;/SPAN&gt; for better performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 22:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-Calculated-Dimension-in-an-Expression-Optimization/m-p/1284556#M402344</guid>
      <dc:creator />
      <dc:date>2017-02-15T22:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Calculated Dimension in an Expression - Optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-Calculated-Dimension-in-an-Expression-Optimization/m-p/1284557#M402345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;the best approach would be to move the calculation to script if possible.&lt;/LI&gt;&lt;LI&gt;Limit the number of rows in the straight table by specifying in the presentation tab.&lt;/LI&gt;&lt;LI&gt;or On open sheet make predefined selections such as Current month/year to limit the no.of rows&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 05:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-Calculated-Dimension-in-an-Expression-Optimization/m-p/1284557#M402345</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-02-16T05:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Referring Calculated Dimension in an Expression - Optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-Calculated-Dimension-in-an-Expression-Optimization/m-p/1284558#M402346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And one more thing is Force user to select any combination of filters so that the no.of records will be reduced .&lt;/P&gt;&lt;P&gt;Ex: Year, Month etc.&lt;/P&gt;&lt;P&gt;1) Create a calculation condition in chart general properties&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetselectedCount(Year)&amp;lt;0 and GetselectedCount(Month)&amp;gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) &lt;/STRONG&gt;Go to Error Messages and select Condition unfulfilled Then write a message&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Please select at least one Year and Month"&amp;nbsp; &lt;/STRONG&gt;it will be easy for the user &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 05:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-Calculated-Dimension-in-an-Expression-Optimization/m-p/1284558#M402346</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2017-02-16T05:57:02Z</dc:date>
    </item>
  </channel>
</rss>

