<?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: EXIST while loading QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595803#M1111132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;Thnak you i got solution from&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/" title="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/"&gt;http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;Some examples of things that will cause a non-optimised load are:&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;- Adding new fields to the table&lt;BR /&gt;- Deriving new values from a field in the QVD&lt;BR /&gt;- Retrieving a field twice&lt;BR /&gt;- Most WHERE conditions&lt;BR /&gt;- Joining to an existing in memory table&lt;BR /&gt;- Loading data into a mapping table&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;In contrast the things you are allowed to do are:&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;- Rename fields&lt;BR /&gt;- Omit fields&lt;BR /&gt;- Do a simple one field WHERE EXISTS on a field returned in the record set&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;This sounds hugely restrictive, but then most things you would want to achieve can be coded for. For example, if you need to add fields – do this in the QVD generate routine rather than when reading the QVD. Similarly, if you need to derive a value do this when you generate the QVD also. Even complex WHERE statements can be done by deriving flags or composite keys in the QVD generate routine and then doing a simple WHERE EXISTS on a temporary table (even if that temporary table is just a single row from an in-line table).&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;In fact, optimised QVD loads with a WHERE EXISTS clause on each subsequent load statement is a simple but effective way of quickly building documents which contain related subsets of data – but that is something for another post.&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;So, how do you know if your load is optimised?&amp;nbsp; Well, the first way is by noticing it is still running when you return to your desk with a fresh cup of coffee.&amp;nbsp; The other is by checking the load progress dialog.&amp;nbsp; Optimised loads show the text &lt;STRONG&gt;qvd optimized&lt;/STRONG&gt; as the data is being pulled from the QVD – in contrast no message is shown when the load is non-optimised.&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;&lt;A class="cboxElement" href="http://www.quickintelligence.co.uk/wp-content/uploads/2013/02/OptimisedQVD.png" rel="lightbox[1284]" style="color: #a0ce4e; font-weight: bold;" title="QlikView Optimised QVD Loads"&gt;http://www.quickintelligence.co.uk/wp-content/uploads/2013/02/OptimisedQVD.png&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 21:24:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-03T21:24:38Z</dc:date>
    <item>
      <title>EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595799#M1111125</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 have used exist function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Division:&lt;/P&gt;&lt;P&gt;LOAD Division,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Division Number]&lt;/P&gt;&lt;P&gt;FROM QVD\Division.qvd (qvd)&lt;/P&gt;&lt;P&gt;Where Exists([Division Number]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;boby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595799#M1111125</guid>
      <dc:creator />
      <dc:date>2014-03-03T21:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595800#M1111126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the above scenario is it optimized load or NON Optimized load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595800#M1111126</guid>
      <dc:creator />
      <dc:date>2014-03-03T21:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595801#M1111128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any problem with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Unoptimized. You're filtering QVD records, therefor QlikView cannot load the QVD en bloc, but has to evaluate every single record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595801#M1111128</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-03T21:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595802#M1111130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your issue about?&lt;/P&gt;&lt;P&gt;Using the exists as this, it will only load the records for the first division number read !&lt;/P&gt;&lt;P&gt;EXISTS does not affect qvd optimization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595802#M1111130</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-03-03T21:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595803#M1111132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;Thnak you i got solution from&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/" title="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/"&gt;http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;Some examples of things that will cause a non-optimised load are:&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;- Adding new fields to the table&lt;BR /&gt;- Deriving new values from a field in the QVD&lt;BR /&gt;- Retrieving a field twice&lt;BR /&gt;- Most WHERE conditions&lt;BR /&gt;- Joining to an existing in memory table&lt;BR /&gt;- Loading data into a mapping table&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;In contrast the things you are allowed to do are:&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;- Rename fields&lt;BR /&gt;- Omit fields&lt;BR /&gt;- Do a simple one field WHERE EXISTS on a field returned in the record set&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;This sounds hugely restrictive, but then most things you would want to achieve can be coded for. For example, if you need to add fields – do this in the QVD generate routine rather than when reading the QVD. Similarly, if you need to derive a value do this when you generate the QVD also. Even complex WHERE statements can be done by deriving flags or composite keys in the QVD generate routine and then doing a simple WHERE EXISTS on a temporary table (even if that temporary table is just a single row from an in-line table).&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;In fact, optimised QVD loads with a WHERE EXISTS clause on each subsequent load statement is a simple but effective way of quickly building documents which contain related subsets of data – but that is something for another post.&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;So, how do you know if your load is optimised?&amp;nbsp; Well, the first way is by noticing it is still running when you return to your desk with a fresh cup of coffee.&amp;nbsp; The other is by checking the load progress dialog.&amp;nbsp; Optimised loads show the text &lt;STRONG&gt;qvd optimized&lt;/STRONG&gt; as the data is being pulled from the QVD – in contrast no message is shown when the load is non-optimised.&lt;/P&gt;&lt;P style="margin-bottom: 20px; color: #747474; font-family: 'PT Sans', Arial, Helvetica, sans-serif;"&gt;&lt;A class="cboxElement" href="http://www.quickintelligence.co.uk/wp-content/uploads/2013/02/OptimisedQVD.png" rel="lightbox[1284]" style="color: #a0ce4e; font-weight: bold;" title="QlikView Optimised QVD Loads"&gt;http://www.quickintelligence.co.uk/wp-content/uploads/2013/02/OptimisedQVD.png&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595803#M1111132</guid>
      <dc:creator />
      <dc:date>2014-03-03T21:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595804#M1111133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/3540"&gt;Peter Cammaert&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A single parameter exists() is an OPTIMIZED load. So this one is optimized. Two parameter exists() is un-optimized. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/45740"&gt;Michaël Laenen&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think you can assume that the set of [Division Number] was read in a an earlier LOAD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595804#M1111133</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-03T21:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595805#M1111135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does QT do this? Preload the entire QVD and then remove in-memory the rows it doesn't need? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595805#M1111135</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-03T21:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: EXIST while loading QVD</title>
      <link>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595806#M1111136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how it's done. But that sounds like a good theory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 22:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXIST-while-loading-QVD/m-p/595806#M1111136</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-03T22:47:06Z</dc:date>
    </item>
  </channel>
</rss>

