<?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 on specific columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431089#M702557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp; QlikView appears to be automatically determining which field to join&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;You can use 'as' statement to rename fields in script. QV 'joins' them by field names.&lt;/P&gt;&lt;P&gt;I think you'd better read the basic tutorual or even reference manual...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Sep 2012 08:05:00 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2012-09-22T08:05:00Z</dc:date>
    <item>
      <title>Join on specific columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431088#M702556</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;I wonder if anyone could shed some light on this for me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have many tables that contain a huge amount of information, however I want to evaluate the software so I've created a specific example that makes use of three seperate tables that all contain information about customers.&amp;nbsp; I want to link these tables together so that I can display any combination of data from the three data sources at a later point in time.&amp;nbsp; I understand that I can join tables together, however QlikView appears to be automatically determining which field to join on and it's getting this wrong (each table has a seperate auto-increment column called id, which is independant of the other tables but appears first in the field list).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for me to force a join on a specific column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers would be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 16:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431088#M702556</guid>
      <dc:creator />
      <dc:date>2012-09-21T16:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Join on specific columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431089#M702557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp; QlikView appears to be automatically determining which field to join&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;You can use 'as' statement to rename fields in script. QV 'joins' them by field names.&lt;/P&gt;&lt;P&gt;I think you'd better read the basic tutorual or even reference manual...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Sep 2012 08:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431089#M702557</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-22T08:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Join on specific columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431090#M702558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview by default joins tables based on the column names, so you should rename the other column names to avoid join based on other columns.&amp;nbsp; You can rename the column names by using "AS" keyword.&amp;nbsp; This way you can join the tables based on the specified condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Sep 2012 09:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431090#M702558</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-09-22T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Join on specific columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431091#M702559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had read the documentation, my problem is that after I've finished my example case I need build a live system.&amp;nbsp; Our system contains a lot of data across multiple databases and hundreds of tables and I'm concious that specifically defining each column (so that I can create aliases) will be very time consuming.&amp;nbsp; If I could just SELECT * on these tables and then manually add the joins it wouldn't have been as bad, hence my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll see if I can automate the creation of the script though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431091#M702559</guid>
      <dc:creator />
      <dc:date>2012-09-24T08:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join on specific columns</title>
      <link>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431092#M702560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use 'qualify' statement.&lt;/P&gt;&lt;P&gt;It adds a table name to the names of specified fields (you can also use *, look at help, there are some examples).&lt;/P&gt;&lt;P&gt;Then you can manually perform joins renaming key fields corresponding to your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 10:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-on-specific-columns/m-p/431092#M702560</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-24T10:33:41Z</dc:date>
    </item>
  </channel>
</rss>

