<?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 AW:connect multiplie tables with more then once the same key. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150725#M716307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon,&lt;/P&gt;&lt;P&gt;normally I would expect that a company table has one record per company (for each company) and a company_id is stored in the person table as a reference (foreign key). In this case you would'nt need to have a contact_id in the company table and everything goes fine in QV.&lt;/P&gt;&lt;P&gt;In your case you have a huge amount of redundant data in the company table...&lt;/P&gt;&lt;P&gt;If this structure resides in your database than you can transform this via SQL in the load script.&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2009 23:48:59 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2009-07-30T23:48:59Z</dc:date>
    <item>
      <title>connect multiplie tables with more then once the same key.</title>
      <link>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150722#M716304</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;A href="http://www.dumpt.com/images/showphoto.php/photo/8216/cat/500/114" target="_blank"&gt;&lt;IMG src="http://www.dumpt.com/images/data/500/thumbs/114.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I try to connect 3 tables together, with only 2 different keys that exists in the 3 tables. (see screenshot)&lt;/P&gt;&lt;P&gt;I already connected them one way, but still need to connect the Contactpersons to the company table with the contact_id key.&lt;/P&gt;&lt;P&gt;The problem is, when I make that connection , a loop or syntactic key will emerge aAnd my QV app will freak out.&lt;/P&gt;&lt;P&gt;How can I achieve my last connection: to connect the Contactpersons to the company tables with the contact_id key.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 20:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150722#M716304</guid>
      <dc:creator />
      <dc:date>2009-07-30T20:52:10Z</dc:date>
    </item>
    <item>
      <title>connect multiplie tables with more then once the same key.</title>
      <link>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150723#M716305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;first shot: Join the eMail addresses into the ContactPerson table.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 20:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150723#M716305</guid>
      <dc:creator />
      <dc:date>2009-07-30T20:56:26Z</dc:date>
    </item>
    <item>
      <title>connect multiplie tables with more then once the same key.</title>
      <link>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150724#M716306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prinicipaly, i try to get around loops by having the joining key in all the tables. Sometimes i make the tables join on a dummy, hard coded key. But in your schema that won't work.&lt;/P&gt;&lt;P&gt;Try This:&lt;/P&gt;&lt;P&gt;Add person id to the companies table (maybe just left join to the contacts table and bring the contact's person_id in). You will then get Person Id &amp;amp; Contact Id as join keys between all 3 tables. There will be no loops anymore and your app should work.&lt;/P&gt;&lt;P&gt;Not tested this. So don't bite my head off if it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 22:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150724#M716306</guid>
      <dc:creator>alal</dc:creator>
      <dc:date>2009-07-30T22:55:56Z</dc:date>
    </item>
    <item>
      <title>AW:connect multiplie tables with more then once the same key.</title>
      <link>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150725#M716307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon,&lt;/P&gt;&lt;P&gt;normally I would expect that a company table has one record per company (for each company) and a company_id is stored in the person table as a reference (foreign key). In this case you would'nt need to have a contact_id in the company table and everything goes fine in QV.&lt;/P&gt;&lt;P&gt;In your case you have a huge amount of redundant data in the company table...&lt;/P&gt;&lt;P&gt;If this structure resides in your database than you can transform this via SQL in the load script.&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 23:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-multiplie-tables-with-more-then-once-the-same-key/m-p/150725#M716307</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-07-30T23:48:59Z</dc:date>
    </item>
  </channel>
</rss>

