<?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 Cannot associate tables correctly in Qlik Sense in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Cannot-associate-tables-correctly-in-Qlik-Sense/m-p/1559276#M13043</link>
    <description>&lt;P&gt;I utilized DATA CONNECTION to load data from SQL Server and DATA MANAGER to join/associate two tables. Some of the tables were successfully joined/associated, but others did not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason for those tables which were unable to join might be as follows.&lt;/P&gt;&lt;P&gt;&lt;U&gt;The common column (TableA.type) of the main table (TableA)&lt;/U&gt; has much less unique values than &lt;U&gt;the common column (TableB.typePK) of the reference table (TableB)&lt;/U&gt;. I tried to customize the&amp;nbsp;association between TableA and TableB, but it failed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;Values in &lt;U&gt;the common column (TableA.type) of the main table (TableA)&lt;/U&gt;: 3,4,7&lt;/P&gt;&lt;P&gt;Values in&amp;nbsp;&lt;U&gt;the common column (TableB.typePK) of the reference table (TableB)&lt;/U&gt;: 1, 2,3,4,5,6,7,8,9,10&lt;/P&gt;&lt;P&gt;The realtion between TableA and TableB on the common columns is many-to-one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, my question is how to join/associate tables based on the common columns like this situation. Can I use DATA LOAD EDITOR to associate them? How to do so? Are there other solutions for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate your help!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:12:35 GMT</pubDate>
    <dc:creator>amberalu</dc:creator>
    <dc:date>2024-11-16T21:12:35Z</dc:date>
    <item>
      <title>Cannot associate tables correctly in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Management-Governance/Cannot-associate-tables-correctly-in-Qlik-Sense/m-p/1559276#M13043</link>
      <description>&lt;P&gt;I utilized DATA CONNECTION to load data from SQL Server and DATA MANAGER to join/associate two tables. Some of the tables were successfully joined/associated, but others did not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason for those tables which were unable to join might be as follows.&lt;/P&gt;&lt;P&gt;&lt;U&gt;The common column (TableA.type) of the main table (TableA)&lt;/U&gt; has much less unique values than &lt;U&gt;the common column (TableB.typePK) of the reference table (TableB)&lt;/U&gt;. I tried to customize the&amp;nbsp;association between TableA and TableB, but it failed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;Values in &lt;U&gt;the common column (TableA.type) of the main table (TableA)&lt;/U&gt;: 3,4,7&lt;/P&gt;&lt;P&gt;Values in&amp;nbsp;&lt;U&gt;the common column (TableB.typePK) of the reference table (TableB)&lt;/U&gt;: 1, 2,3,4,5,6,7,8,9,10&lt;/P&gt;&lt;P&gt;The realtion between TableA and TableB on the common columns is many-to-one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, my question is how to join/associate tables based on the common columns like this situation. Can I use DATA LOAD EDITOR to associate them? How to do so? Are there other solutions for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate your help!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Cannot-associate-tables-correctly-in-Qlik-Sense/m-p/1559276#M13043</guid>
      <dc:creator>amberalu</dc:creator>
      <dc:date>2024-11-16T21:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot associate tables correctly in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Management-Governance/Cannot-associate-tables-correctly-in-Qlik-Sense/m-p/1559380#M13046</link>
      <description>&lt;P&gt;I don't know if it could be done directly within the data-manager but you could do it by going into the script. There are three main-approaches possible for such a usecase which are described here: &lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/Faster-and-simpler-than-a-link-table-in-Qlik-Sense/m-p/1558299#M40652" target="_blank" rel="noopener"&gt;Faster-and-simpler-than-a-link-table-in-Qlik-Sense&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 07:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Cannot-associate-tables-correctly-in-Qlik-Sense/m-p/1559380#M13046</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-03-21T07:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot associate tables correctly in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Management-Governance/Cannot-associate-tables-correctly-in-Qlik-Sense/m-p/1560278#M13069</link>
      <description>&lt;P&gt;Solved!&lt;/P&gt;&lt;P&gt;I used DATA LOAD EDITOR to define keys and link tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example using SQL Server as a data connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;LIB CONNECT TO&lt;/FONT&gt;&amp;nbsp; "DatabaseName";&amp;nbsp; &lt;FONT color="#808080"&gt;# the name of the database&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;LOAD&lt;/FONT&gt; &lt;FONT color="#993300"&gt;qlik1_col1,&lt;/FONT&gt;&amp;nbsp; # column names show on Qlik&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#993300"&gt;qlik1_col2 &lt;FONT color="#0000FF"&gt;as&lt;/FONT&gt; Key,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#993300"&gt;qlik1_col3;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;[Qlik Table1 ]&lt;/FONT&gt;:&amp;nbsp; # table name show on Qlik&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;SELECT&lt;/FONT&gt; db1_col1,&amp;nbsp; # column names show on database&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db1_col2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db1_col3&lt;/P&gt;&lt;P&gt;FROM DatabaseName.Table1Name;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;LOAD&lt;/FONT&gt; &lt;FONT color="#993300"&gt;qlik2_col1,&lt;/FONT&gt;&amp;nbsp; # column names show on Qlik&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#993300"&gt;qlik2_col2 &lt;FONT color="#0000FF"&gt;as&lt;/FONT&gt; Key,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#993300"&gt;qlik2_col3;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;[Qlik Table2 ]&lt;/FONT&gt;:&amp;nbsp; # table name show on Qlik&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;SELECT&lt;/FONT&gt; db2_col1,&amp;nbsp; # column names show on database&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db2_col2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; db2_col3&lt;/P&gt;&lt;P&gt;FROM DatabaseName.Table2Name;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To link two tables:&lt;/P&gt;&lt;P&gt;1. Change the names of two common columns, which are &lt;FONT color="#993300"&gt;qlik1_col2&lt;/FONT&gt; and &lt;FONT color="#993300"&gt;qlik2_col2&lt;/FONT&gt;, to the exact same name (Key).&lt;/P&gt;&lt;P&gt;2. Click the 'Load Data' button.&lt;/P&gt;&lt;P&gt;3. The tables will be loaded and linked.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 19:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Cannot-associate-tables-correctly-in-Qlik-Sense/m-p/1560278#M13069</guid>
      <dc:creator>amberalu</dc:creator>
      <dc:date>2019-03-22T19:29:49Z</dc:date>
    </item>
  </channel>
</rss>

