<?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: Connecting 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197575#M880962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;STRONG&gt;Noconcatenate&lt;/STRONG&gt; for those two tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Oct 2016 10:35:51 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-10-14T10:35:51Z</dc:date>
    <item>
      <title>Connecting 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197574#M880961</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;i am triing to connect an Access database to the rest of my dataset which i load via csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now - i think this is a very basic problem - but at the moment i dont know how to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's say via my csv i load customers. They have a customer ID. I give the name CID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i load the access DB. In this DB there is a table and it also has a customer ID (but this table contains only a fraction of all my customers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i thought if i rename the column in both tables to CID it should create a natural JOIN, right? But at the moment the result is more or less a crossproduct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can i JOIN those 2 tables in a way, that the fraction of customers in my Access table gets connected to the rest of my dataset?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197574#M880961</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197575#M880962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;STRONG&gt;Noconcatenate&lt;/STRONG&gt; for those two tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197575#M880962</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-14T10:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197576#M880963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked the join in the table viewer (Ctrl + T) to see if they are connected on CID or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197576#M880963</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-14T10:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197577#M880964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Sunny said,&lt;/P&gt;&lt;P&gt;Can you give a screen shot of your data model to see if the tables are associated or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197577#M880964</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-10-14T10:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197578#M880965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite what i want to have. Or at least it did not work.&lt;/P&gt;&lt;P&gt;Maybe it is too hard for me to explain. I try again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 tables. Both share the same ID. But one table only has a fraction of the IDs of the other tables.&lt;/P&gt;&lt;P&gt;So now i load the smaller table from my ACCESS DB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [MS Access .....];&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;KZ2:&lt;/P&gt;&lt;P&gt;LOAD cust as kz2.cust, &lt;/P&gt;&lt;P&gt;custID as CID,&lt;/P&gt;&lt;P&gt;NNAME as kz2.name;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM `KZ02`;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have the CID already defined elsewhere. In this other table i have all my customers. In this new table i load right now- i only have a fraction of curstomers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i create a table box in QV and load this whole table.&lt;/P&gt;&lt;P&gt;I get a table with CID, kz2.cust, kz2.name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is , the table does not only show the CIDs from my ACCESS table, but shows all CIDs.&lt;/P&gt;&lt;P&gt;This results in a lot of lines where CID is defined, but the other 2 values are empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want is a table where CID is defined and shown only IF the other 2 values are there as well - or better said - only if the CID was also part of the original ACCESS file. But still the link to my other tables has to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: If i&amp;nbsp; click in this table on the CID it should choose the correct customer from the big table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my explanatons are somehow understandable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 11:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197578#M880965</guid>
      <dc:creator />
      <dc:date>2016-10-14T11:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197579#M880966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately i can not post a screenshot - but i am pretty sure the tables are associated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like i said in my last answer - now i have a giant table with&lt;/P&gt;&lt;P&gt;CID, kz2.cust, kz2.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though in the CID column - i have all CIDs from my other table which has all customers. I would like to only have the customers which were originally in this table. (I am talking about a table box). Maybe i just have to change something in the table box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now i have a lot of these lines&lt;/P&gt;&lt;P&gt;CID, kz2.cust, kz2.name&lt;/P&gt;&lt;P&gt;333, 223,Josh&amp;nbsp;&amp;nbsp; &amp;lt;= ok&lt;/P&gt;&lt;P&gt;334,,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;= not ok&lt;/P&gt;&lt;P&gt;335, 123, Carl &amp;lt;= ok&lt;/P&gt;&lt;P&gt;336, 445, Doris &amp;lt;= ok&lt;/P&gt;&lt;P&gt;337,, &amp;lt;= not ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the table box i only want the lines which are entirely filled - like in my original table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the association - if i click on the CID it is linked to all my other tables. So association seems to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 11:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197579#M880966</guid>
      <dc:creator />
      <dc:date>2016-10-14T11:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197580#M880967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try adding a Flag field to your script on the Access table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Access_List:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;All_your_fields&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; 'Y' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Access_Flag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; yourAccessDb;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Then include it in your straight table to filter out the data you dont want to see be selecting Y on the Access_Flag field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 12:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-2-tables/m-p/1197580#M880967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-14T12:41:20Z</dc:date>
    </item>
  </channel>
</rss>

