<?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 Need help in the script to improve performance! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219315#M713071</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 did the below changes and created a group with below fields(Week,Year,WeekName and MonthName) and I am able to see some what better performance than before. But not very good though! So if you can give any other suggestion which can improve the performance please keep me updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Calendar:&lt;BR /&gt;Load *,&lt;BR /&gt; Week(date) as Week,&lt;BR /&gt; Year(date) as Year,&lt;BR /&gt; WeekName(date) as WeekName,&lt;BR /&gt; MonthName(date) as MonthName;&lt;BR /&gt;&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; DATE(StartDate+IterNo()-1) AS date&lt;BR /&gt;RESIDENT Data&lt;BR /&gt;WHILE StartDate+IterNo()-1&amp;lt;=EndDate;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Apr 2011 17:27:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-17T17:27:16Z</dc:date>
    <item>
      <title>Need help in the script to improve performance!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219314#M713070</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 created fields such as Week(date),Year(date), WeekName(date) and MonthName(date) in the front end for a group. Due to performance impact I tried to create a table called as DateFields to retrieve the above fields at the script level. But the outcome is now the performance of the chart is very very poor than before. Can some one suggest some other way of doing it so that it improves the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Data:&lt;BR /&gt;LOAD A1,&lt;BR /&gt; A2,&lt;BR /&gt; A3,&lt;BR /&gt; A4,&lt;BR /&gt; A5,&lt;BR /&gt; A6,&lt;BR /&gt; A7,&lt;BR /&gt; A8,&lt;BR /&gt; A9,&lt;BR /&gt; A10,&lt;BR /&gt; A11,&lt;BR /&gt; A12,&lt;BR /&gt; A13,&lt;BR /&gt; A14,&lt;BR /&gt; TimeStamp(A15) as StartDate,&lt;BR /&gt; TimeStamp(A16) as EndDate,&lt;BR /&gt; A17 as StartDate1,&lt;BR /&gt; A18 as EndDate1,&lt;BR /&gt; A19,&lt;BR /&gt; A20&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;BR /&gt;Calendar:&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; DATE(StartDate+IterNo()-1) AS date&lt;BR /&gt;RESIDENT Data&lt;BR /&gt;WHILE StartDate+IterNo()-1&amp;lt;=EndDate;&lt;BR /&gt;DateFields:&lt;BR /&gt;Load Week(date) as Week,&lt;BR /&gt; Year(date) as Year,&lt;BR /&gt; WeekName(date) as WeekName,&lt;BR /&gt; MonthName(date) as MonthName&lt;BR /&gt;Resident&lt;BR /&gt;Calendar;&lt;BR /&gt;&lt;/C&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 15:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219314#M713070</guid>
      <dc:creator />
      <dc:date>2011-04-17T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Need help in the script to improve performance!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219315#M713071</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 did the below changes and created a group with below fields(Week,Year,WeekName and MonthName) and I am able to see some what better performance than before. But not very good though! So if you can give any other suggestion which can improve the performance please keep me updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Calendar:&lt;BR /&gt;Load *,&lt;BR /&gt; Week(date) as Week,&lt;BR /&gt; Year(date) as Year,&lt;BR /&gt; WeekName(date) as WeekName,&lt;BR /&gt; MonthName(date) as MonthName;&lt;BR /&gt;&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; DATE(StartDate+IterNo()-1) AS date&lt;BR /&gt;RESIDENT Data&lt;BR /&gt;WHILE StartDate+IterNo()-1&amp;lt;=EndDate;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 17:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219315#M713071</guid>
      <dc:creator />
      <dc:date>2011-04-17T17:27:16Z</dc:date>
    </item>
    <item>
      <title>Need help in the script to improve performance!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219316#M713072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;Can you please give some other suggestion to improve the performance. For example, I am using the below 'IF Statement' in one of the expression of the pivot table. Can tell the required changes in the script or else can you tell me the Set Analysis with which I can improve the performance please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;SUM(IF(ImplStart&amp;lt;=date AND ImplEnd&amp;gt;=date,1))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 13:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219316#M713072</guid>
      <dc:creator />
      <dc:date>2011-04-28T13:30:15Z</dc:date>
    </item>
    <item>
      <title>Need help in the script to improve performance!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219317#M713073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For all the filters/conditions you are using in chart, create Flags for them in script part and just use the flags in expressions. That will improve your chart performence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 14:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-script-to-improve-performance/m-p/219317#M713073</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-04-28T14:19:48Z</dc:date>
    </item>
  </channel>
</rss>

