<?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: Exists question for load optimization in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562246#M690773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I have high level of tolerance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 20:33:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-15T20:33:27Z</dc:date>
    <item>
      <title>Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562241#M690768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since most where statements other than Exists do not keep a load optimized I have created a temp table storing the dates I wish to pull using the Exists(DateKey) to keep my load optimized but I have ran into a problem that makes what I think is an ugly solution when I have multiple tables to load with different Date names. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We already have a calendar table and the where allows me to only grab the dates I want.&amp;nbsp; I have named the date according to the Payments table I will later load.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;tDate:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DateKey as PostedDt &lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;CalendarTraditional.qvd &lt;SPAN style="font-size: 10pt;"&gt;(qvd)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;where DateKey &amp;gt;= YearStart(today(), -1) and DateKey &amp;lt;= MonthEnd(today());&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Payments:&lt;/P&gt;
&lt;P&gt;LOAD PaymentID, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PostedDt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PaymentCounter&lt;/P&gt;
&lt;P&gt;FROM &lt;SPAN style="font-size: 10pt;"&gt;Payments.qvd &lt;/SPAN&gt;(qvd)&lt;/P&gt;
&lt;P&gt;where Exists(PostedDt);&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great and is optimized.&amp;nbsp; The problem is I am then going to add a second table where the Date field is name CreateDt and this load will not be optimized because Exists(PostedDt, CreateDt) seems to unOptimize it.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Journals:&lt;/P&gt;
&lt;P&gt;Load JournalID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreateDt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JournalCounter&lt;/P&gt;
&lt;P&gt;From Journals.qvd (qvd)&lt;/P&gt;
&lt;P&gt;where Exists(PostedDt, CreateDt);&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only solution I could think of was to do a Resident load of my tDate table and rename the Date to suit each table I am about to load.&amp;nbsp; It would be fast but kind of ugly in my opinion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 19:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562241#M690768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T19:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562242#M690769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Unfortunately&lt;/SPAN&gt;, I do not &lt;SPAN class="hps"&gt;think there is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;another&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I recently had the same issue and i renamed&lt;/SPAN&gt;&lt;SPAN class="hps"&gt; the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;field&lt;/SPAN&gt; because &lt;SPAN class="hps"&gt;the optimized&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;load&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;does not work when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the name of the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;search field&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is different from the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;field name in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;table loaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 19:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562242#M690769</guid>
      <dc:creator />
      <dc:date>2013-10-15T19:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562243#M690770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this blog post from Steve Dark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&gt;Maybe that could help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 19:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562243#M690770</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-15T19:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562244#M690771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean this, I guess:&lt;/P&gt;&lt;P&gt;tDate:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; DateKey as PostedDt ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DateKey as CreateDt ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DateKey as &amp;lt;another date&amp;gt;&lt;/P&gt;&lt;P&gt;FROM CalendarTraditional.qvd &lt;SPAN style="font-size: 10pt;"&gt;(qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where DateKey &amp;gt;= YearStart(today(), -1) and DateKey &amp;lt;= MonthEnd(today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is nothing ugly about that, not for me at least...&amp;nbsp; Anyway, it is just a temp table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 20:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562244#M690771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T20:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562245#M690772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael, &lt;/P&gt;&lt;P&gt;Don't you hate when something so simple is staring you in the face.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 20:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562245#M690772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T20:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562246#M690773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I have high level of tolerance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 20:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562246#M690773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T20:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562247#M690774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're from New York?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're made of stern stuff over there as well as a high tolerance&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 20:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562247#M690774</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-15T20:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exists question for load optimization</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562248#M690775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you. No, I'm from Ukraine. It recently joined the community, I work at a large bank: www.sberbank.ua&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Отправлено с iPad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;15 окт. 2013, в 23:48, Alan Farrell &amp;lt;qcwebmaster@qlik.com&amp;gt; написал(а):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikCommunity&lt;/P&gt;&lt;P&gt;Exists question for load optimization&lt;/P&gt;&lt;P&gt;reply from Alan Farrell in Scripting - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're from New York?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're made of stern stuff over there as well as a high tolerance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on QlikCommunity&lt;/P&gt;&lt;P&gt;Start a new discussion in Scripting by email or at QlikCommunity&lt;/P&gt;&lt;P&gt;Following Exists question for load optimization in these streams: Inbox&lt;/P&gt;&lt;P&gt;© 1993-2013 QlikTech International AB     Copyright &amp;amp; Trademarks | Privacy | Terms of Use | Software EULA&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 18:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question-for-load-optimization/m-p/562248#M690775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-16T18:36:59Z</dc:date>
    </item>
  </channel>
</rss>

