<?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: Make a LOAD optimized - with a &amp;gt;= - plz help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223839#M626495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's great. But then I'd have a LOAD with a WHERE_EXISTS clause with more than one value in it - would that still be optimized?&lt;/P&gt;&lt;P&gt;Hmmm ... yes, I just found a thread that suggests it would be an optimized LOAD. Let's see if it improves the performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Nov 2016 06:54:20 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2016-11-25T06:54:20Z</dc:date>
    <item>
      <title>Make a LOAD optimized - with a &gt;= - plz help</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223836#M626492</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;I know the question of optimized vs. non-optimized LOAD has been here a lot of times. I've read up on it a little and if there was a filter for one specific value, it might make sense to load this into a small helper_table and then use a WHERE_EXISTS clause to make the main_LOAD optimized - but here I don't have one specific value: Rather I have a date and I filter a very big table for only the records with a date equal to or later than that - I have the "&amp;gt;=" operator.&lt;/P&gt;&lt;P&gt;=&amp;gt; Is there any way I can make that an optimized LOAD (from a qvd)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 14:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223836#M626492</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-11-24T14:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Make a LOAD optimized - with a &gt;= - plz help</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223837#M626493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could generate a table of all the dates that you need to load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do this often and it works great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 14:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223837#M626493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-24T14:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Make a LOAD optimized - with a &gt;= - plz help</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223838#M626494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;you could create a list of the dates &lt;/P&gt;&lt;P&gt;and then use where exists &lt;/P&gt;&lt;P&gt;to create the list of the dates you could use this script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vDate = date('01/11/2016');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load '$(vDate)'+IterNo()-1 As Date&lt;/P&gt;&lt;P&gt;AutoGenerate 1&lt;/P&gt;&lt;P&gt;While '$(vDate)'+IterNo()-1 &amp;lt;=today();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 14:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223838#M626494</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2016-11-24T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make a LOAD optimized - with a &gt;= - plz help</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223839#M626495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's great. But then I'd have a LOAD with a WHERE_EXISTS clause with more than one value in it - would that still be optimized?&lt;/P&gt;&lt;P&gt;Hmmm ... yes, I just found a thread that suggests it would be an optimized LOAD. Let's see if it improves the performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 06:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223839#M626495</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-11-25T06:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Make a LOAD optimized - with a &gt;= - plz help</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223840#M626496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh - I just remember, there is a second filter, so I guess it would not be optimized - or, maybe I could make it, but only for the smaller part:&lt;/P&gt;&lt;P&gt;- For one part of that big table, the smaller part, there is a filter for one specific field (TRANCODE) for one specific&lt;BR /&gt;&amp;nbsp;&amp;nbsp; value, SPRECEIVE&lt;/P&gt;&lt;P&gt;- For the other part, the filter is for the field having any other value - there are several other possible codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmmm ... but there is one step before that, the big table from which I load is put together from the archive and the current table in another app that runs once an hour. Maybe there I could create one more field with just a 1/0 value for that field.&lt;/P&gt;&lt;P&gt;Let's see. I'll go step by step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 07:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223840#M626496</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-11-25T07:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Make a LOAD optimized - with a &gt;= - plz help</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223841#M626497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm ... it's not an optimized LOAD anymore. Strange. There are no compound keys anymore, I have moved that process into the preparatory app that runs once an hour.&lt;/P&gt;&lt;P&gt;Well, then it doesn't improve the performance. Too bad. That one table that has to be prepared is the last "big fish" rgd. the performance of that report - if I could make that any faster, it would improve the whole thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then there is one more thing I can go after - at some point, the nr. of records I have is multiplied - I have many more records in my table than are actually displayed in the straight_table_diagram on the GUI. That also makes the whole thing bigger - and slower - than it need be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 08:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223841#M626497</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-11-25T08:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Make a LOAD optimized - with a &gt;= - plz help</title>
      <link>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223842#M626498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems I made it. I now why it happened now, and I fixed it.&lt;/P&gt;&lt;P&gt;The thread is closed herewith.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Sorry - it is not yet. I have changed the code now so there is only one field in the WHERE_EXISTS clause - but I have followed some links on this issue and I think it can only be used with one parameter - true?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 09:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-a-LOAD-optimized-with-a-gt-plz-help/m-p/1223842#M626498</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-11-25T09:39:16Z</dc:date>
    </item>
  </channel>
</rss>

