<?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 Connecting different tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141662#M21277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;I have understood now but is this (renaiming foreign key) the only way to connect data ?&lt;/P&gt;&lt;P&gt;There is no way to let QlikView import the "SQL Server Database Diagram" that stores all these information yet ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2009 04:24:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-04-17T04:24:13Z</dc:date>
    <item>
      <title>Connecting different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141659#M21274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm new about QlikView, just working on it few days.&lt;BR /&gt;I'm trying to connect to a SQL Server 2008 database, and configuring a simple sheet to navigate through some data.&lt;/P&gt;&lt;P&gt;In the database I have some table, suppose :&lt;/P&gt;&lt;P&gt;Company with company_ID and company_name column&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Branche with branch_ID, branch_name and branch_companyID&lt;/P&gt;&lt;P&gt;What I want is to put on the sheet two ListBox with company_name and branches_name and when I click on a company I want to automatically select all the related branches.&lt;/P&gt;&lt;P&gt;I have created the two Listbox but when I select the company no branches are selected...how can I set this relation ?&lt;BR /&gt;I thought QlikView shows the database relation diagram and reflect all the relationships but I suppose it works in other way.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 04:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141659#M21274</guid>
      <dc:creator />
      <dc:date>2009-04-17T04:02:14Z</dc:date>
    </item>
    <item>
      <title>Connecting different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141660#M21275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to name your join keys identically, to create a link. In your case, rename branch_companyID to company_ID (case-sensitive!) and you'll se ethe data linked. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; branch_ID,&lt;BR /&gt; branch_name,&lt;BR /&gt; branch_companyID as company_ID&lt;BR /&gt;from branches;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 04:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141660#M21275</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-17T04:07:49Z</dc:date>
    </item>
    <item>
      <title>Connecting different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141661#M21276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I can't understand.&lt;/P&gt;&lt;P&gt;This is a part of the database DDL of the tables "Company" and "Branches"&lt;/P&gt;&lt;P&gt;Company table&lt;/P&gt;&lt;P&gt;CREATE TABLE [dbo].[tblCompany](&lt;BR /&gt; [company_guid] [uniqueidentifier] NOT NULL,&lt;BR /&gt; [company_name] [nvarchar](50) NOT NULL&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Branches table&lt;/P&gt;&lt;P&gt;CREATE TABLE [dbo].[tblBranches](&lt;BR /&gt; [branch_guid] [uniqueidentifier] NOT NULL,&lt;BR /&gt; [branch_name] [nvarchar](3) NOT NULL,&lt;BR /&gt; [branch_company] [uniqueidentifier] NOT NULL&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;In SQL SERVER 2008 I make a JOIN with something like this :&lt;/P&gt;&lt;P&gt;Select * FROM tblCompany INNER JOIN tblBranches ON company_guid=branch_company&lt;/P&gt;&lt;P&gt;What I have to do to connect those two tables in QlikView ?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 04:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141661#M21276</guid>
      <dc:creator />
      <dc:date>2009-04-17T04:17:58Z</dc:date>
    </item>
    <item>
      <title>Connecting different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141662#M21277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;I have understood now but is this (renaiming foreign key) the only way to connect data ?&lt;/P&gt;&lt;P&gt;There is no way to let QlikView import the "SQL Server Database Diagram" that stores all these information yet ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 04:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141662#M21277</guid>
      <dc:creator />
      <dc:date>2009-04-17T04:24:13Z</dc:date>
    </item>
    <item>
      <title>Connecting different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141663#M21278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, this is the only way to do it. Since QlikView can bring data in from numerous sources into a single application, this is the only way to assure that all data sources can be connected based on the appropriate key structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 06:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-different-tables/m-p/141663#M21278</guid>
      <dc:creator>sczetty</dc:creator>
      <dc:date>2009-04-17T06:10:15Z</dc:date>
    </item>
  </channel>
</rss>

