<?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 How to load optimized qvd with two where condition or more conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-optimized-qvd-with-two-where-condition-or-more/m-p/1525541#M598648</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I have situation, one of the previous developer &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;created load script as&amp;nbsp; Load * from&amp;nbsp; x.qvd(qvd) where color = 'red' and year = 2018. &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because of two where conditions, the load is not optimized, how can we create the above load script with 2 conditions as optimized load. I have been searching in community but I haven't got much luck, could you please provide some hint on this scenario. Many Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2019 17:44:56 GMT</pubDate>
    <dc:creator>sangeeth8787</dc:creator>
    <dc:date>2019-01-02T17:44:56Z</dc:date>
    <item>
      <title>How to load optimized qvd with two where condition or more conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-optimized-qvd-with-two-where-condition-or-more/m-p/1525541#M598648</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have situation, one of the previous developer &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;created load script as&amp;nbsp; Load * from&amp;nbsp; x.qvd(qvd) where color = 'red' and year = 2018. &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because of two where conditions, the load is not optimized, how can we create the above load script with 2 conditions as optimized load. I have been searching in community but I haven't got much luck, could you please provide some hint on this scenario. Many Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 17:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-optimized-qvd-with-two-where-condition-or-more/m-p/1525541#M598648</guid>
      <dc:creator>sangeeth8787</dc:creator>
      <dc:date>2019-01-02T17:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to load optimized qvd with two where condition or more conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-optimized-qvd-with-two-where-condition-or-more/m-p/1525544#M598649</link>
      <description>&lt;P&gt;Create a new field in your qvd which combines color and year into a new field&lt;/P&gt;&lt;PRE&gt;Table:
LOAD ...,
   color,
   year,
   color&amp;amp;'|'&amp;amp;year as key
FROM ...;

STORE Table into x.qvd (qvd);&lt;/PRE&gt;&lt;P&gt;now when you load this... create an inline load of what you wish to load....&lt;/P&gt;&lt;PRE&gt;Temp:
LOAD * INLINE [
Key
red|2018
];

and then load the qvd like this

LOAD *
FROM x.qvd (qvd)
Where Exists(key);

DROP Table Temp;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Jan 2019 18:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-optimized-qvd-with-two-where-condition-or-more/m-p/1525544#M598649</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-02T18:00:37Z</dc:date>
    </item>
  </channel>
</rss>

