<?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: Processing of WHERE clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243466#M862212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is not so correct to say that fetching means subsequent processing of rows. There are some inner mechanisms, that are not presented to you. Like if you have Group- and Where-clauses within one table transformation, you will only have the final number of rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 08:01:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-13T08:01:11Z</dc:date>
    <item>
      <title>Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243460#M862203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have a &lt;/SPAN&gt;conceptual question considering the WHERE-clause in load script. How does Qlik process this statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple example:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where 1 = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and Year(Date) = 2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and Activity = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;How does Qlik process this statement?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I see 2 possible approaches.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1. a) take Table1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) take all the rows in Table1 with year = 2016 (let us call it subset1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c) take all the rows in subset1 with Activity = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2. &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;a) take Table1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) check if the row has year = 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c) if step b is true, check if the row has activity = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; d) process next row&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I think right understanding of this process can be very useful in performance increasing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Have a nice day!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Elena&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243460#M862203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243461#M862204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should take all rows from Table1 where Year(Date) = 2016 and Activity = 1&lt;/P&gt;&lt;P&gt;I think 2 is the right one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 07:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243461#M862204</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-01-13T07:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243462#M862206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your opinion, Manish!&lt;/P&gt;&lt;P&gt;Have you somehow checked it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 07:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243462#M862206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-13T07:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243463#M862207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me know how to check it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 07:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243463#M862207</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-01-13T07:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243464#M862209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you use Debug, you will see the number of rows fetched.&lt;/P&gt;&lt;P&gt;You will never see that first 1000 lines fetched and now using 2nd where clause 500 lines fetched..&lt;/P&gt;&lt;P&gt;it will give you one only (500 lines fetched) sentences.&lt;/P&gt;&lt;P&gt;So I think the where clause is not creating any subset ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 07:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243464#M862209</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-01-13T07:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243465#M862210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can also try this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; Simple example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Load *&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Resident Table1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Where &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG&gt; match (Year(Date),' 2016') and match (&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;Activity &lt;/EM&gt;,'1');&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 07:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243465#M862210</guid>
      <dc:creator>susovan</dc:creator>
      <dc:date>2017-01-13T07:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243466#M862212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is not so correct to say that fetching means subsequent processing of rows. There are some inner mechanisms, that are not presented to you. Like if you have Group- and Where-clauses within one table transformation, you will only have the final number of rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243466#M862212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-13T08:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243467#M862213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Susovan, &lt;/P&gt;&lt;P&gt;I think you didn't catch my question. It is more about the performance.&lt;/P&gt;&lt;P&gt;If Qlik checks first condition and make a subset and then checks next condition, then it is better to organize your conditions with necessary resources increasing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like first to check Activity (it is usually 1 or 0 | 1 or null()), and then apply functions to get year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243467#M862213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-13T08:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243468#M862214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how it will be processed and I could imagine a slight different processing outgoing from the second approach from above that both field-values (and in general each condition) will be checked on row-level and only after reading all records will be evaluated which record is valid or not - quite similar to the qlik-logic to calculate a nested -if-loop which also calculate at first each branch within them and afterwards it will be evaluated which condition is true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would meant that the processing of a where-clause is a two-step process and worked from this point of view similar to a group/order by statement from I believe that they are also executed as a two-step process - unless they are combined then it will be a multi-step process (from a performance point of view it's often better not to combine these statements else to use separate steps within a load-chain). I hope &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt; could give some insights to this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243468#M862214</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-13T08:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243469#M862215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my opinion, if Qlik uses first algorithm in some cases we can &lt;STRONG&gt;win a lot&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Assume you have &lt;STRONG&gt;1 mln&lt;/STRONG&gt; rows with &lt;EM&gt;activity = 1 &lt;/EM&gt;and &lt;STRONG&gt;only&lt;/STRONG&gt; 5 have&lt;EM&gt; year = 2016&lt;/EM&gt;.&lt;STRONG&gt; &lt;/STRONG&gt;I feel make a subset of 5 rows with year = 2016 and check which of them have activity = 1 is easier then check each row on both conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243469#M862215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-13T08:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243470#M862216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that a subset-query would speed up the process and how should qlikview know which of the conditions would return a TRUE to decide the order in which the queries and sub-queries should be executed - maybe simply from left to the right within the statement but then it would be the knowledge/guessing of the user which order would perform better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243470#M862216</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-13T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Processing of WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243471#M862217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interested in your question from a practical point of view.&lt;/P&gt;&lt;P&gt;Experiment, what code structure in practice it is faster in QlikView from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Where YearDate = '2016' And Activity = 1;&lt;/P&gt;&lt;P&gt;2) Consecutive call&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Where YearDate = '2016';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Activity = 1&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a file QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;RecNo() as ID,&lt;/P&gt;&lt;P&gt;If(Div(RecNo(), 10000)-RecNo()/10000 = 0, 2016, 2015) as YearDate, &lt;SPAN style="color: #339966;"&gt;//create 100 values in 2016, the rest in 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If(Div(RecNo(), 10000)-RecNo()/10000 = 0, If(rand()&amp;gt;0.5, 1, 0), 2) as Activity&lt;SPAN style="color: #339966;"&gt; //half of 2016 assign values 0, 1 half, and assign 2 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AutoGenerate 50000000;&lt;/P&gt;&lt;P&gt;Store * from Table1 into F:/xyz.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File with 50 million records containing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149389_1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Table from QVD of the first full load, and then begin to work with the selection on the basis of 'WHERE'. This allows you to test how the 'WHERE' with the data already loaded in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the first variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearDate, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activity&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt;&lt;/F&gt;&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Start = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID as ID1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearDate as YearDate1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activity as Activity1&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Where YearDate = '2016' And Activity = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Finish = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149393_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;As can be seen, the load time of the internal table was 17 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading the same data as in the second variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearDate, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activity&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt;&lt;/F&gt;&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Start = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table3:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID as ID3, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearDate as YearDate3, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activity as Activity3&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Where YearDate = '2016';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID3 as ID2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearDate3 as YearDate2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activity3 as Activity2&lt;/P&gt;&lt;P&gt;Resident Table3&lt;/P&gt;&lt;P&gt;Where&amp;nbsp; Activity3 = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let Finish = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/149394_3.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;As can be seen, the load time of the internal table was 18 seconds. The duration of load increased by 1 second.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Consecutive five downloads are always given difference 1-2 seconds, which is 5-10% load time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Logically, the real difference is the internal mechanism QlikView should not be more than. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If the load reduction of 5-10% is important, the issue can be studied further. If this does not help, it is necessary to look for another way out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I would be glad if something helped you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Andrey&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 13:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Processing-of-WHERE-clause/m-p/1243471#M862217</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-01-13T13:02:48Z</dc:date>
    </item>
  </channel>
</rss>

