<?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 Link between 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-between-2-tables/m-p/452819#M698481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, so I have to deploy QW to a company that has its information spread on different data sources. I have to concatenate data from 44 servers using Visual FOX with already consolidated data from another server using SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem comes where I need to put the info from Visual FOX together with the data from SQL. I have 2 big tables that have most of the data ( Table1 for FOX, Table 2 from SQL) and about 14 other tables linked to the 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When asking the IT dept, they told me to link the smalled tables to the big ones using a composite key like SRCONTRACT &amp;amp; NRCONTRACT. On the other hand, the fields I use for the composite key are the only common fields between the tables that hold most of the data. If I link the big tables with this same composite key I get a huge loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to avoid the loop, but still be able to get from a table to another, what would be the best way to link the two? I thought about reversing the order of the fields that I use for the composite key ( NRCONTRACT &amp;amp; SRCONTRACT) to create a secondary composite key and use that one to link Table1 to Table2. Would that make the connections ok or would it just double some of my entries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to be as clear as possible with this and I would&lt;SPAN style="font-size: 10pt;"&gt; appreciate your imputs and oppinions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Bogdan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 08:12:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-20T08:12:37Z</dc:date>
    <item>
      <title>Link between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Link-between-2-tables/m-p/452819#M698481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, so I have to deploy QW to a company that has its information spread on different data sources. I have to concatenate data from 44 servers using Visual FOX with already consolidated data from another server using SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem comes where I need to put the info from Visual FOX together with the data from SQL. I have 2 big tables that have most of the data ( Table1 for FOX, Table 2 from SQL) and about 14 other tables linked to the 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When asking the IT dept, they told me to link the smalled tables to the big ones using a composite key like SRCONTRACT &amp;amp; NRCONTRACT. On the other hand, the fields I use for the composite key are the only common fields between the tables that hold most of the data. If I link the big tables with this same composite key I get a huge loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to avoid the loop, but still be able to get from a table to another, what would be the best way to link the two? I thought about reversing the order of the fields that I use for the composite key ( NRCONTRACT &amp;amp; SRCONTRACT) to create a secondary composite key and use that one to link Table1 to Table2. Would that make the connections ok or would it just double some of my entries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to be as clear as possible with this and I would&lt;SPAN style="font-size: 10pt;"&gt; appreciate your imputs and oppinions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Bogdan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 08:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-between-2-tables/m-p/452819#M698481</guid>
      <dc:creator />
      <dc:date>2013-02-20T08:12:37Z</dc:date>
    </item>
  </channel>
</rss>

