<?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 Calculated dimension consumes long time to load the data. in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Calculated-dimension-consumes-long-time-to-load-the-data/m-p/2048240#M226054</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am using the below calculated dimension in a chart to show the data.&lt;/P&gt;
&lt;P&gt;if(len(CP_Key_P)&amp;gt;0,protocol)&lt;/P&gt;
&lt;P&gt;But there are too may records and it is consuming a long time to display the data.&lt;/P&gt;
&lt;P&gt;Can you please suggest how to write optimized condition for this.&lt;/P&gt;
&lt;P&gt;Note: all the above fields are coming from different tables and if I can join the tables table size is increasing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 04:23:44 GMT</pubDate>
    <dc:creator>deep2021</dc:creator>
    <dc:date>2023-03-13T04:23:44Z</dc:date>
    <item>
      <title>Calculated dimension consumes long time to load the data.</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Calculated-dimension-consumes-long-time-to-load-the-data/m-p/2048240#M226054</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am using the below calculated dimension in a chart to show the data.&lt;/P&gt;
&lt;P&gt;if(len(CP_Key_P)&amp;gt;0,protocol)&lt;/P&gt;
&lt;P&gt;But there are too may records and it is consuming a long time to display the data.&lt;/P&gt;
&lt;P&gt;Can you please suggest how to write optimized condition for this.&lt;/P&gt;
&lt;P&gt;Note: all the above fields are coming from different tables and if I can join the tables table size is increasing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 04:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Calculated-dimension-consumes-long-time-to-load-the-data/m-p/2048240#M226054</guid>
      <dc:creator>deep2021</dc:creator>
      <dc:date>2023-03-13T04:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension consumes long time to load the data.</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Calculated-dimension-consumes-long-time-to-load-the-data/m-p/2048331#M226083</link>
      <description>&lt;P&gt;Hi, maybe changing to a set analysis expression.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimension: &lt;/STRONG&gt;protocol&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt; &lt;FONT color="#000000"&gt;Count&lt;/FONT&gt;({$&amp;lt;CP_Key_P={"*"}&amp;gt;} DISTINCT CP_Key_P)&lt;/P&gt;
&lt;P&gt;On the other hand, filtering in the script uses the least amount of memory and ensures high performance.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-message-read"&gt;To remove null values in the model, you can add a where clause to the load statement&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Where Len(Trim(CP_Key_P)) &amp;gt; 0 ;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 08:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Calculated-dimension-consumes-long-time-to-load-the-data/m-p/2048331#M226083</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-03-13T08:42:55Z</dc:date>
    </item>
  </channel>
</rss>

