<?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 Load From one table by values from another in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396141#M696187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have these 2 tables I'm loading from. Table 1 contains sales orders, and Table 2 contains item information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 has an order with Items 123, 234, and 456. Table 2 has those items but a bunch more as well. The goal would be to load ALL records from Table 1, and only load the records from Table 2 where those item numbers match the sales orders from Table 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably relatively easy to do but I can't seem to get it working right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 14:17:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-24T14:17:00Z</dc:date>
    <item>
      <title>Load From one table by values from another</title>
      <link>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396141#M696187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have these 2 tables I'm loading from. Table 1 contains sales orders, and Table 2 contains item information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 has an order with Items 123, 234, and 456. Table 2 has those items but a bunch more as well. The goal would be to load ALL records from Table 1, and only load the records from Table 2 where those item numbers match the sales orders from Table 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably relatively easy to do but I can't seem to get it working right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396141#M696187</guid>
      <dc:creator />
      <dc:date>2013-04-24T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load From one table by values from another</title>
      <link>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396142#M696188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table 1 ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way only values for table 2 corresponding to table 1 will be loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it hrlps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396142#M696188</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-04-24T14:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load From one table by values from another</title>
      <link>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396143#M696189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, I should have clarified I know I can do a left join or a left keep, but is there a more efficient way to do the load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396143#M696189</guid>
      <dc:creator />
      <dc:date>2013-04-24T14:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load From one table by values from another</title>
      <link>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396144#M696190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use left join or left keep depending on if you want one resulting table or two separate tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load * from ...sourcetable1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;left keep&lt;/P&gt;&lt;P&gt;load * from ...sourcetable2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396144#M696190</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-24T14:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load From one table by values from another</title>
      <link>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396145#M696191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt; I think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to make the left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load sales_order,&lt;/P&gt;&lt;P&gt;item&lt;/P&gt;&lt;P&gt;from&amp;nbsp; file or database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Table1)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;item&lt;/P&gt;&lt;P&gt;from&amp;nbsp; database or flatfile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by doing this u will get all the records from table 1 and only matching records from table2.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396145#M696191</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2013-04-24T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load From one table by values from another</title>
      <link>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396146#M696192</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; You can also use &lt;STRONG&gt;exists()&lt;/STRONG&gt; function for the same. Refer attached sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesOrder:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderNumber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 234&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 456&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesDetails:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderNumber, OrderDetailNo, Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123, 1 , 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 234, 2 , 200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 456, 3, 800&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 567, 5, 200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 678, 6, 600&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123, 2, 500&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;where exists(OrderNumber);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-From-one-table-by-values-from-another/m-p/396146#M696192</guid>
      <dc:creator />
      <dc:date>2013-04-24T14:48:08Z</dc:date>
    </item>
  </channel>
</rss>

