<?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 Change keys in tables? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-keys-in-tables/m-p/261500#M708863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; address should not be a key. please rename this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;writing in script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID_empl as ID_employee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mak link between Departments table and Employees table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your can get proper data based on ID_employee from both table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check both ID_employee shoould be of similar data .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 12:50:10 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2011-09-14T12:50:10Z</dc:date>
    <item>
      <title>Change keys in tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Change-keys-in-tables/m-p/261498#M708861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I met this problem. I connect thru ODBC to the data source and load 3 tables from Pervasive SQL. I have a proper ODBC driver. When I import data to the new Qlik document, Qlik makes connections between tables and use field names for that.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: I have two tables Employees and Departments. In both I have the field "Address" and in Employees field "ID_employee" and in Departments "ID_empl". Qlik makes connection using "Address", but I need to use "ID_employee" and "ID_empl". I use "ID_empl" as "ID_employee" in data input script now, but it is a workaround I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I change this? For example to set in Qlik that key is not "Address" but those two IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 11:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-keys-in-tables/m-p/261498#M708861</guid>
      <dc:creator />
      <dc:date>2011-09-14T11:38:22Z</dc:date>
    </item>
    <item>
      <title>Change keys in tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Change-keys-in-tables/m-p/261499#M708862</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; The way Qlikview joins two table, is field with same name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So make sure that the fields through with you want to make join in tables have the same name and the rest of the fields have distinct name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So in your case, the way you did is the correct way, but you need to change the name of one of the address field to something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 12:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-keys-in-tables/m-p/261499#M708862</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-09-14T12:21:27Z</dc:date>
    </item>
    <item>
      <title>Change keys in tables?</title>
      <link>https://community.qlik.com/t5/QlikView/Change-keys-in-tables/m-p/261500#M708863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; address should not be a key. please rename this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;writing in script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID_empl as ID_employee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mak link between Departments table and Employees table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your can get proper data based on ID_employee from both table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check both ID_employee shoould be of similar data .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 12:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-keys-in-tables/m-p/261500#M708863</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-09-14T12:50:10Z</dc:date>
    </item>
  </channel>
</rss>

