<?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: Left Join Load .... from INVOICES*.txt, is it possible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-Join-Load-from-INVOICES-txt-is-it-possible/m-p/489064#M182775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspected as much, pity you can't left join load directly multiple files, had to check before I changed the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 17:00:13 GMT</pubDate>
    <dc:creator>derekjones</dc:creator>
    <dc:date>2013-06-19T17:00:13Z</dc:date>
    <item>
      <title>Left Join Load .... from INVOICES*.txt, is it possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Load-from-INVOICES-txt-is-it-possible/m-p/489062#M182773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to left join invoice details to my sales table and basically both Sales data and Invoice data are originally stored as monthly files e,g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALESFY201301.txt&lt;/P&gt;&lt;P&gt;SALESFY201302.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICESFY201301.txt&lt;/P&gt;&lt;P&gt;INVOICESFY201302.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I use ....*.txt to load all files starting with same name togeather. My script is basically as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;order_line_id,&lt;/P&gt;&lt;P&gt;order_number,&lt;/P&gt;&lt;P&gt;order_date&lt;/P&gt;&lt;P&gt;FROM SALESFY*.txt;&lt;/P&gt;&lt;P&gt;LEFT JOIN LOAD&lt;/P&gt;&lt;P&gt;order_line_id,&lt;/P&gt;&lt;P&gt;invoice_number,&lt;/P&gt;&lt;P&gt;invoice_date&lt;/P&gt;&lt;P&gt;FROM INVOICESFY*.txt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However my issue is on the left join the only file which is actually joined is the first one it comes across i.e. INVOICESFY201301.txt and not any after that. Is this a limitation I can't get around and therefore have to load all invoice files in as a seperate table first then left join resident load that to the Sales table? Seems inefficient having to load it all first to then load again to left join. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My thanks in advance for any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 16:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Load-from-INVOICES-txt-is-it-possible/m-p/489062#M182773</guid>
      <dc:creator>derekjones</dc:creator>
      <dc:date>2013-06-19T16:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Load .... from INVOICES*.txt, is it possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Load-from-INVOICES-txt-is-it-possible/m-p/489063#M182774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you'll have to load all the files first. But by storing the intermediate tables in a qvd and the loading from the qvds for the join you won't lose much time. Loading qvds is very fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Sales:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;order_line_id,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;order_number,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;order_date&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;FROM SALESFY*.txt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;STORE Sales into sales.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Drop table Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Sales:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;order_line_id,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;invoice_number,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;invoice_date&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;FROM INVOICESFY*.txt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right join load * from sales.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 16:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Load-from-INVOICES-txt-is-it-possible/m-p/489063#M182774</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-19T16:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Load .... from INVOICES*.txt, is it possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Load-from-INVOICES-txt-is-it-possible/m-p/489064#M182775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspected as much, pity you can't left join load directly multiple files, had to check before I changed the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 17:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Load-from-INVOICES-txt-is-it-possible/m-p/489064#M182775</guid>
      <dc:creator>derekjones</dc:creator>
      <dc:date>2013-06-19T17:00:13Z</dc:date>
    </item>
  </channel>
</rss>

