<?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: QVD load not optimized when used Exists function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946804#M326072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try including the comparative field [Product Type] in the load (and then drop), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LoadDates:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Product Type]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;abc.qvd(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;exists&lt;/STRONG&gt;([Product Type]);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Product Type];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2015 13:13:50 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2015-10-09T13:13:50Z</dc:date>
    <item>
      <title>QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946797#M326065</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 a QVD of around 60M rows. I am trying to load the dates for a particular type of products. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample script:&lt;/P&gt;&lt;P&gt;------------------------------------------&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Product Type&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LoadDates:&lt;/P&gt;&lt;P&gt;Load [Invoice Date]&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;abc.qvd(qvd)&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;exists&lt;/STRONG&gt;([Product Type]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp;&lt;/P&gt;&lt;P&gt;-------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me the data for Product Type A, B and C, but takes very long time to execute and in Trace window, it does not show as Optimized Load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;without this filter, I am able to load the dates in 1/10th time of the time taken to load the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help what i am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 12:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946797#M326065</guid>
      <dc:creator>manishnarang</dc:creator>
      <dc:date>2015-10-09T12:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946798#M326066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script you shared seems to be a sample one. Could you share the exact load statement you are trying?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 12:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946798#M326066</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-09T12:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946799#M326067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;appriciate your response but&lt;/P&gt;&lt;P&gt;I won't be able to share the exact script but this is exactly the same logic i am using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 12:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946799#M326067</guid>
      <dc:creator>manishnarang</dc:creator>
      <dc:date>2015-10-09T12:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946800#M326068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not even that exact load &lt;STRONG&gt;section&lt;/STRONG&gt; of the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 12:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946800#M326068</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-09T12:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946801#M326069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you selecting Product Type from your qvd?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 13:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946801#M326069</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-10-09T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946802#M326070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again. This is,in fact, the exact same script except column names changed..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 13:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946802#M326070</guid>
      <dc:creator>manishnarang</dc:creator>
      <dc:date>2015-10-09T13:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946803#M326071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No, Just loading the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product Type is in where clause only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 13:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946803#M326071</guid>
      <dc:creator>manishnarang</dc:creator>
      <dc:date>2015-10-09T13:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946804#M326072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try including the comparative field [Product Type] in the load (and then drop), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LoadDates:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Product Type]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;abc.qvd(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;exists&lt;/STRONG&gt;([Product Type]);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Product Type];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 13:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946804#M326072</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-09T13:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: QVD load not optimized when used Exists function</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946805#M326073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. It worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 13:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-load-not-optimized-when-used-Exists-function/m-p/946805#M326073</guid>
      <dc:creator>manishnarang</dc:creator>
      <dc:date>2015-10-09T13:20:42Z</dc:date>
    </item>
  </channel>
</rss>

