<?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 Re: How to optimize like this? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349694#M129548</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;can you please attach a sample file with this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2012 14:19:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-13T14:19:52Z</dc:date>
    <item>
      <title>How to optimize like this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349692#M129546</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;Actually i did like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote the script for getting the data along with the incremented. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with this i need to reload the data each and every time to get the data along with the incremented. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For optimization i want to do like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how can i avoid the reload for the alredy loaded data in the qvw file and do the reload for the incremented data if exist.so that i can get the total data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i do like this the performance of the application will be increased and reloading time will be decreased. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to optimize like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349692#M129546</guid>
      <dc:creator />
      <dc:date>2012-03-13T13:21:35Z</dc:date>
    </item>
    <item>
      <title>How to optimize like this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349693#M129547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use ADD after the LOAD statement and use the Partial Reload option from the File menu. Check &lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADD load * from file.qvd (Qvd)&lt;/P&gt;&lt;P&gt;where not exists(field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349693#M129547</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-03-13T13:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize like this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349694#M129548</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;can you please attach a sample file with this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349694#M129548</guid>
      <dc:creator />
      <dc:date>2012-03-13T14:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize like this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349695#M129549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rav. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Think you could think in this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total_Sales:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cust,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;From Total_Sales.qvd(qvd);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;= This is the qvd that will add the total sales&lt;/P&gt;&lt;P&gt;Let MaxDate = Max(Date);&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cust,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;From New_Sales.qvd(qvd)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;= Here you must consider the data source&lt;/P&gt;&lt;P&gt;Where Date &amp;gt; $(MaxDate);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;= Consider in use the fields that have newer values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The performance will depends on the amount of data and their structure. For example, if you can't use Date &amp;gt; $(MaxDate), because of your old data is updated too, you need to use Not Exists, and it take a lot of resources...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give more information please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 15:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349695#M129549</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-03-13T15:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize like this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349696#M129550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am doing is like that only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what i am asking is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from test.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxdate=Max(Date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from test.qvd(qvd) where Date&amp;gt;Max(Date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i reload the above script &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from the first load statement, i will get the original data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from the second load statement, i will get the increment data if exists&amp;nbsp; otherwise i will get the original data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i want to store the data exists after the reload in some memory(like assume) and when i reload this script again if there is no changes in the source file, it need's to get back the same data from that memory(assumed) without reloading.So,that i want to avoid the reload for already reloaded same source once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if there is any incremental data.That incremental data only needs to be reload and adds to the data which is in memory(assumed).Now the whole data needs to be store in that memory(assumed).Like wise i am thinking to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know is it possible or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how i want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think u understand my explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in this if it possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 07:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349696#M129550</guid>
      <dc:creator />
      <dc:date>2012-03-14T07:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize like this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349697#M129551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In first place, sorry if I don't understand you, my english is not too good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The place in memory you said is the famous hard disk! After the reload script, you store all the data in Total_Sales.qvd. Then, when you load this file again, at the beginning of the script, you will take again all the last data stored. Pay attention, like this way will function better:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group&lt;/P&gt;&lt;P&gt;From Total_Sales.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aux:&lt;/P&gt;&lt;P&gt;Load Max(Date) as MaxDate&lt;/P&gt;&lt;P&gt;Resident Data;&lt;/P&gt;&lt;P&gt;Let vMaxDate=Peek('MaxDate');&lt;/P&gt;&lt;P&gt;Drop table Aux;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate (Data)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group&lt;/P&gt;&lt;P&gt;From [Source]&lt;/P&gt;&lt;P&gt;When Date &amp;gt; $(MaxDate);&lt;/P&gt;&lt;P&gt;Store Data into Total_Sales.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The good notice is that the loading with no modifications (as, when, etc...) is very faster from qvd!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in some cases, it doesn't work better than the traditional way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 13:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349697#M129551</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-03-14T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize like this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349698#M129552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was useful for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-optimize-like-this/m-p/349698#M129552</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-03-20T16:09:17Z</dc:date>
    </item>
  </channel>
</rss>

