<?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: optimized load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107396#M908362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still am in confuse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In 10years of data I want to load only last 5years of data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use where exists(year) it will load all the data but I want to restrict the data through optimized load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;F1,&lt;/P&gt;&lt;P&gt;F2,&lt;/P&gt;&lt;P&gt;F3,&lt;/P&gt;&lt;P&gt;F4,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;year,&lt;/P&gt;&lt;P&gt;from qvd(qvd) &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Where exists(year);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are conditions we should use for optimized load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you explain briefly? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 11:44:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-14T11:44:24Z</dc:date>
    <item>
      <title>optimized load</title>
      <link>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107392#M908352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viewers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have faced one scenario recently on optimized load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load 5years of data instead of loading 10years of data into qlikview without using any conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But without using conditions how to do this through optimized load??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;BoB&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/optimized-load/m-p/1107392#M908352</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: optimized load</title>
      <link>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107393#M908354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk dis&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/615113"&gt;what is optimised load and unoptimised load with example ??&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107393#M908354</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-06-14T07:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: optimized load</title>
      <link>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107394#M908357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would depend on how you built your QVD.&amp;nbsp; What field are you using for the comparison?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you had a field with your year, you could use that for your comparison.&amp;nbsp; Keeping in mind that you can only use a single where exist statement to keep your optimized load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So create a table that contains all the years you want to load and use that as part of your exist statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;From YourQVD.qvd&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&amp;nbsp; Exists( YearField )&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107394#M908357</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2016-06-14T07:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: optimized load</title>
      <link>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107395#M908360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only way to use a where-clause and keep the load optimized is the exists-function with one parameter like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where exists(Field);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which meant in your case you need to load at first all dates (or maybe easier years) which you need in a field and afterwards you could use the above mentioned where-clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternatively in your case might be to split the data maybe on a year-level or in old-data and current-data and you could avoid any where-clauses on the load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107395#M908360</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-14T07:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: optimized load</title>
      <link>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107396#M908362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still am in confuse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In 10years of data I want to load only last 5years of data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use where exists(year) it will load all the data but I want to restrict the data through optimized load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;F1,&lt;/P&gt;&lt;P&gt;F2,&lt;/P&gt;&lt;P&gt;F3,&lt;/P&gt;&lt;P&gt;F4,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;year,&lt;/P&gt;&lt;P&gt;from qvd(qvd) &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Where exists(year);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are conditions we should use for optimized load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you explain briefly? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107396#M908362</guid>
      <dc:creator />
      <dc:date>2016-06-14T11:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: optimized load</title>
      <link>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107397#M908363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to load your year-field at first, maybe in this way:&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;year&lt;/P&gt;&lt;P&gt;2015&lt;/P&gt;&lt;P&gt;2014&lt;/P&gt;&lt;P&gt;2013&lt;/P&gt;&lt;P&gt;2012&lt;/P&gt;&lt;P&gt;2011&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then your qvd-load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;F1,&lt;/P&gt;&lt;P&gt;F2,&lt;/P&gt;&lt;P&gt;F3,&lt;/P&gt;&lt;P&gt;F4,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;year,&lt;/P&gt;&lt;P&gt;from qvd (qvd) &lt;SPAN style="font-size: 10pt;"&gt;Where exists(year);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;drop table temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and it could be that you need to change the order of your various load-statements within the whole script then if you load other tables with a field year before the values from temp-table here will be simply added and the where might not work as expected. If this isn't possible because of various dependencies in the load-order then you could rename the original field, make your qvd-load and rename the field again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/optimized-load/m-p/1107397#M908363</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-14T11:53:22Z</dc:date>
    </item>
  </channel>
</rss>

