<?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 join two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289362#M1200279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Hi.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have two tables which I would like to join into one.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Table 1&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Item: name:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;1 a&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;2 b&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;3 c&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;4 d&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;5 e&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Table 2&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Item: name:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;6 f&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;7 g&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I would like to have tabe 2 included in table one&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Table 1&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Item: name:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;1 a&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;2 b&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;3 c&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;4 d&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;5 e&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;6 f&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;7 g&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Can someone please help me?&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Regards&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Markus&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 14:27:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-22T14:27:20Z</dc:date>
    <item>
      <title>How to join two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289362#M1200279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Hi.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have two tables which I would like to join into one.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Table 1&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Item: name:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;1 a&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;2 b&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;3 c&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;4 d&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;5 e&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Table 2&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Item: name:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;6 f&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;7 g&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I would like to have tabe 2 included in table one&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Table 1&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Item: name:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;1 a&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;2 b&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;3 c&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;4 d&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;5 e&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;6 f&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;7 g&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Can someone please help me?&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Regards&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Markus&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289362#M1200279</guid>
      <dc:creator />
      <dc:date>2010-11-22T14:27:20Z</dc:date>
    </item>
    <item>
      <title>Re. :How to join two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289363#M1200280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use CONCATENATE Like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Table1]:&lt;/P&gt;&lt;P&gt;LOAD * FROM TABLE1 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Table2]:&lt;/P&gt;&lt;P&gt;CONCATENATE ('Table1') LOAD * FROM TABLE2 ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help&lt;/P&gt;&lt;P&gt;Marlot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289363#M1200280</guid>
      <dc:creator />
      <dc:date>2010-11-22T14:32:37Z</dc:date>
    </item>
    <item>
      <title>Re. :How to join two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289364#M1200281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;Hi, I didn´t follow you. Maybe I didn´t describe the issue correct.&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;I will try again.&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;I have two files with different information which I would like to join into one.&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;Item:&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt;&lt;/P&gt;&lt;P style="line-height:normal;text-indent:65.2pt;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;item_number, &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;item_description&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;FROM&lt;/B&gt; &lt;B&gt;&lt;I&gt;$(vPathQvdRaw)&lt;/I&gt;&lt;/B&gt;\Item.qvd (qvd);&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;Services:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;&lt;B&gt;LOAD&lt;/B&gt;&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;"service_code",&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;"service_description";&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;FROM&lt;/B&gt; swedb.dbo.service;&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;item_number and service_code is a item number coming from different tables/sources and named differently. I would like to include the service_code into the item table.&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;How should I write it into the script?&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Markus&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289364#M1200281</guid>
      <dc:creator />
      <dc:date>2010-11-22T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re. :How to join two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289365#M1200282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo Markus,&lt;/P&gt;&lt;P&gt;If item_number in the qvd file and service_code in the SQL database are the same field but with different names, then just renaming the field and concatenating tables will work, as suggested above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Item:LOAD item_number, item_descriptionFROM $(vPathQvdRaw)\Item.qvd (qvd);CONCATENATE LOAD "service_code" as item_number, "service_description" as item_description;SQL SELECT *FROM swedb.dbo.service;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now "Item" table will have all the information so you can STORE it in one file.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 14:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-join-two-tables/m-p/289365#M1200282</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-22T14:59:41Z</dc:date>
    </item>
  </channel>
</rss>

