<?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 Performance issues with a very large expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Performance-issues-with-a-very-large-expression/m-p/291085#M108055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="gt-src-wrap"&gt;&lt;DIV style="width: 100%;"&gt;&lt;TEXTAREA class="goog-textarea" dir="ltr" id="source" name="text" style="overflow-y: hidden; overflow-x: auto; height: 220px; padding-bottom: 32px;" tabindex="0"&gt;Performance problem with a bigger Expression&lt;/TEXTAREA&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="almost_half_cell" id="gt-res-content"&gt;&lt;/P&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt;&lt;SPAN class="long_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;expression&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;X =&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Sales -&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Cost -&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;Ga-&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;Gb-&lt;/SPAN&gt;Gc-Gd &lt;SPAN class="hps atn"&gt;each party (&lt;/SPAN&gt;Sales - &lt;SPAN class="hps"&gt;Cost -&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;Ga-&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;Gb-&lt;/SPAN&gt;Gc-Gd) is a &lt;SPAN class="hps"&gt;large&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;expression&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;containing different&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Sum()&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with set&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="long_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;analysis conditions &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="long_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;and aggregates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt; &lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;performance problems&lt;/SPAN&gt; (CPU Performance) &lt;SPAN class="hps"&gt;when calculating&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;formula. The QV Server has 16GB and Xeon Processor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;Can anyone&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;suggest a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;technique&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to develop&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this, I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;try the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;pre-calculate&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;from the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;load statement&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Ga&lt;/SPAN&gt;&lt;SPAN&gt;, Gb&lt;/SPAN&gt;, Gc &lt;SPAN class="hps"&gt;and Gd&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;would lose&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the detail&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of each of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;these concepts&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in other reports&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;necessary to show&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;individual&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Ga&lt;/SPAN&gt;&lt;SPAN&gt;, Gb&lt;/SPAN&gt;&lt;SPAN&gt;, Gc&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Gd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"&gt;﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 16:18:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-26T16:18:53Z</dc:date>
    <item>
      <title>Performance issues with a very large expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-issues-with-a-very-large-expression/m-p/291085#M108055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="gt-src-wrap"&gt;&lt;DIV style="width: 100%;"&gt;&lt;TEXTAREA class="goog-textarea" dir="ltr" id="source" name="text" style="overflow-y: hidden; overflow-x: auto; height: 220px; padding-bottom: 32px;" tabindex="0"&gt;Performance problem with a bigger Expression&lt;/TEXTAREA&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="almost_half_cell" id="gt-res-content"&gt;&lt;/P&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt;&lt;SPAN class="long_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;expression&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;X =&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Sales -&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Cost -&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;Ga-&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;Gb-&lt;/SPAN&gt;Gc-Gd &lt;SPAN class="hps atn"&gt;each party (&lt;/SPAN&gt;Sales - &lt;SPAN class="hps"&gt;Cost -&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;Ga-&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;Gb-&lt;/SPAN&gt;Gc-Gd) is a &lt;SPAN class="hps"&gt;large&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;expression&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;containing different&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Sum()&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with set&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="long_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;analysis conditions &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="long_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;and aggregates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt; &lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;performance problems&lt;/SPAN&gt; (CPU Performance) &lt;SPAN class="hps"&gt;when calculating&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;formula. The QV Server has 16GB and Xeon Processor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;Can anyone&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;suggest a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;technique&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to develop&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this, I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;try the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;pre-calculate&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;from the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;load statement&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Ga&lt;/SPAN&gt;&lt;SPAN&gt;, Gb&lt;/SPAN&gt;, Gc &lt;SPAN class="hps"&gt;and Gd&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;would lose&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the detail&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of each of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;these concepts&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in other reports&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;necessary to show&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;individual&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Ga&lt;/SPAN&gt;&lt;SPAN&gt;, Gb&lt;/SPAN&gt;&lt;SPAN&gt;, Gc&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Gd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"&gt;﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 16:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-issues-with-a-very-large-expression/m-p/291085#M108055</guid>
      <dc:creator />
      <dc:date>2011-09-26T16:18:53Z</dc:date>
    </item>
    <item>
      <title>Performance issues with a very large expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-issues-with-a-very-large-expression/m-p/291086#M108056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/marcosengineerqv" id="jive-276735487338423970569" style="font-size: 12px; color: #007fc0; font-weight: bold;"&gt;marcosengineerQV&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I would suggest to do the calculation in the load script level. Use this expression to create a new field in your fact table.&lt;/P&gt;&lt;P&gt;BTW, what is the data volume(number of records) and data size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 16:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-issues-with-a-very-large-expression/m-p/291086#M108056</guid>
      <dc:creator />
      <dc:date>2011-09-26T16:42:25Z</dc:date>
    </item>
    <item>
      <title>Performance issues with a very large expression</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-issues-with-a-very-large-expression/m-p/291087#M108057</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;The performance of the expression is also affected by the structure of your data model. If, in the expression, you are using fields from many tables, especially if the association goes through too many levels, the performace will suffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can reduce the number of tables in your loadscript by mapping attributes into the fact table and denormalising others and your expression performance may improve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 17:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-issues-with-a-very-large-expression/m-p/291087#M108057</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-09-26T17:38:30Z</dc:date>
    </item>
  </channel>
</rss>

