<?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 Select from two qvd tables ??? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-from-two-qvd-tables/m-p/178122#M45442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Giovanni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, this syntax is incorrect - you are approaching QlikView load just like a SQL load, but it doesn't work this way. In QlikVview you load QVD files one at a time, and you can use function "exists" if you want to limit data loaded from the second table based on a key field loaded from the first table. Something along the lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;load * from File1.qvd (qvd);&lt;BR /&gt;load * from File2.qvd (qvd)&lt;BR /&gt;where exists (Key1)&lt;BR /&gt;;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You also want to avoid renaming in your load (better rename the fields before you write the QVD, if possible), and you want your join key to be called the same, and that will facilitate the "natural join". If you really want to end up with a single table, you can use "Left Join" prefic for the second load, and the data will get loaded into the first loaded table.&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2009 02:25:35 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2009-09-08T02:25:35Z</dc:date>
    <item>
      <title>Select from two qvd tables ???</title>
      <link>https://community.qlik.com/t5/QlikView/Select-from-two-qvd-tables/m-p/178121#M45441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I'm trying to use a select starting from two qvd tables files. Is it a possible option or is it not allowed ? When I try to upload data Qlik goes blocked....&lt;/P&gt;&lt;P&gt;Thanks Giovanni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;STRONG&gt;Strutture:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;KEY_SPE_STRUTT&lt;/STRONG&gt; &lt;STRONG&gt;&lt;/STRONG&gt;AS KEY_SPE_STRUTT_1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Store&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;* &lt;B&gt;from&lt;/B&gt; Strutture &lt;B&gt;into&lt;/B&gt; Strutture.qvd; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;STRONG&gt;Esame_x_Struttura_Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...... P2SPE_ESAST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;'-'&amp;amp; P2STR_ESAST AS KEY_SPE_STRUTT_2,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Store&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* &lt;STRONG&gt;from&lt;/STRONG&gt; Esame_x_Struttura_Temp &lt;STRONG&gt;into&lt;/STRONG&gt; Esame_x_Struttura.qvd;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEY_SPE_STRUTT_2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strutture.KEY_SPE_STRUTT_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Esame_x_Struttura.qvd (qvd), Strutture.qvd (qvd)&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Strutture.KEY_SPE_STRUTT_1 = Esame_x_Struttura_Temp.KEY_SPE_STRUTT_2;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 01:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-from-two-qvd-tables/m-p/178121#M45441</guid>
      <dc:creator />
      <dc:date>2009-09-08T01:03:41Z</dc:date>
    </item>
    <item>
      <title>Select from two qvd tables ???</title>
      <link>https://community.qlik.com/t5/QlikView/Select-from-two-qvd-tables/m-p/178122#M45442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Giovanni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, this syntax is incorrect - you are approaching QlikView load just like a SQL load, but it doesn't work this way. In QlikVview you load QVD files one at a time, and you can use function "exists" if you want to limit data loaded from the second table based on a key field loaded from the first table. Something along the lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;load * from File1.qvd (qvd);&lt;BR /&gt;load * from File2.qvd (qvd)&lt;BR /&gt;where exists (Key1)&lt;BR /&gt;;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You also want to avoid renaming in your load (better rename the fields before you write the QVD, if possible), and you want your join key to be called the same, and that will facilitate the "natural join". If you really want to end up with a single table, you can use "Left Join" prefic for the second load, and the data will get loaded into the first loaded table.&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 02:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-from-two-qvd-tables/m-p/178122#M45442</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-09-08T02:25:35Z</dc:date>
    </item>
    <item>
      <title>Select from two qvd tables ???</title>
      <link>https://community.qlik.com/t5/QlikView/Select-from-two-qvd-tables/m-p/178123#M45443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I will try tomorrow.&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;Giovanni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 03:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-from-two-qvd-tables/m-p/178123#M45443</guid>
      <dc:creator />
      <dc:date>2009-09-08T03:31:27Z</dc:date>
    </item>
  </channel>
</rss>

