<?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: Join two tables on multiple columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171954#M915442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which join you want to use? I guess it should be INNER JOIN. I would suggest create the Composite Key by Using Autonumber function for both the tables and then join the two tables on this new Key and then Drop the 3 fields from Either of the table as appropriate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 May 2016 00:45:44 GMT</pubDate>
    <dc:creator>jayanttibhe</dc:creator>
    <dc:date>2016-05-21T00:45:44Z</dc:date>
    <item>
      <title>Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171950#M915438</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;Can any one explain how to join two tables on multiple join conditions.&lt;/P&gt;&lt;P&gt;I have two table with 3 common fields. I need these fields in report. i don't want to concatenate these fields. If concatenate how get back these fields.&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171950#M915438</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171951#M915439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to keep them as separate tables and let QlikView handle the join implicitly? If yes, then check this: &lt;A href="https://community.qlik.com/qlik-blogpost/3119"&gt;Concatenate vs Link Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else for join, you can keep the field names as is and join them: &lt;A href="https://community.qlik.com/thread/39177"&gt;Understanding Join, Keep and Concatenate&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 18:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171951#M915439</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T18:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171952#M915440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to load two tables with Noconcatenate statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you should get a synthetic key containing 3 common fields.&lt;/P&gt;&lt;P&gt;Best practice is to avoid synthetic key by using Autonumber statement that contains 3 common fields. Just load those 3 fields in one table not in both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 18:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171952#M915440</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-05-18T18:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171953#M915441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give the fields on which the tables should be joined the same name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 18:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171953#M915441</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-18T18:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171954#M915442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which join you want to use? I guess it should be INNER JOIN. I would suggest create the Composite Key by Using Autonumber function for both the tables and then join the two tables on this new Key and then Drop the 3 fields from Either of the table as appropriate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 00:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171954#M915442</guid>
      <dc:creator>jayanttibhe</dc:creator>
      <dc:date>2016-05-21T00:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171955#M915443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 06:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171955#M915443</guid>
      <dc:creator />
      <dc:date>2016-05-22T06:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171956#M915444</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;Use like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;City, &lt;/P&gt;&lt;P&gt;State,&lt;/P&gt;&lt;P&gt;Country, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;City &amp;amp; State &amp;amp; Country as Key,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Column1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from Table1; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load &lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;City &amp;amp; State &amp;amp; Country as Key,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from Table2; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I hope its helpful for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 12:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171956#M915444</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2016-05-22T12:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171957#M915445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not a join plus you are doing exactly what the OP asked &lt;STRONG&gt;not&lt;/STRONG&gt; to want: Concatenating those fields. What you are doing is just loading two tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 21:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171957#M915445</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-05-22T21:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171958#M915446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To join two tables on multiple fields, just use JOIN. Yes, it is that easy. Qlik will recognize the fields with the same name and join the tables on those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add LEFT, RIGHT, INNER or OUTER to the join to achieve the type of join you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 21:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171958#M915446</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-05-22T21:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171959#M915447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My best idea is u need to create a Key field like&lt;/P&gt;&lt;P&gt;First_name &amp;amp;' '&amp;amp;Middle_Name&amp;amp;' '&amp;amp; Last_name as Full_name &lt;/P&gt;&lt;P&gt;need to create in both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that 2 tables will join on one KEY (&lt;SPAN style="font-size: 13.3333px;"&gt;Full_name ) itself without Synthetic Keys.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 11:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1171959#M915447</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2016-05-23T11:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1593858#M915448</link>
      <description>&lt;P&gt;Could you help me re-create the equivalent of this statement in a load script?&lt;/P&gt;&lt;P&gt;It's from an access query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;part_characteristics.ATA_location,&lt;/P&gt;&lt;P&gt;part_characteristics.engine_configuration_seq,&lt;/P&gt;&lt;P&gt;part_characteristics.part_nomenclature,&lt;/P&gt;&lt;P&gt;part_ata_lookup.part_number,&lt;/P&gt;&lt;P&gt;engines.engine_configuration_seq,&lt;/P&gt;&lt;P&gt;engines.engine_serial&lt;/P&gt;&lt;P&gt;events.event_seq,&lt;/P&gt;&lt;P&gt;events.event_date&lt;/P&gt;&lt;P&gt;events.vdata_db_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM ((part_characteristics INNER JOIN part_ata_lookup ON (part_characteristics.ATA_location = part_ata_lookup.ATA_location) AND (part_characteristics.engine_configuration_seq = part_ata_lookup.engine_config_seq)) INNER JOIN (debit_doc_line_items INNER JOIN debit_docs ON debit_doc_line_items.debit_doc_seq = debit_docs.debit_doc_seq) ON (part_ata_lookup.ATA_location = debit_doc_line_items.ATA_location_code) AND (part_ata_lookup.engine_config_seq = debit_doc_line_items.engine_configuration_seq)) INNER JOIN (((vendor_job_number INNER JOIN debit_doc_applications ON vendor_job_number.vendor_job_number_seq = debit_doc_applications.vendor_job_number_seq)INNER JOIN events ON vendor_job_number.event_seq = events.event_seq) INNER JOIN engines ON events.engine_seq = engines.engine_seq) ON debit_docs.debit_doc_seq = debit_doc_applications.debit_doc_seq;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 22:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables-on-multiple-columns/m-p/1593858#M915448</guid>
      <dc:creator>oeobiora</dc:creator>
      <dc:date>2019-06-19T22:27:40Z</dc:date>
    </item>
  </channel>
</rss>

