<?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: Modeling n:m relationships in QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410831#M485525</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;/P&gt;&lt;P&gt;to remove the synthetic key you can rename the fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can create the composite key.. it depends on your data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you want all the data from partnership table rt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partnerships&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PartnerID &amp;amp; CompanyID as key,&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;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Companies&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;----------------&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;PartnerID &amp;amp; CompanyID as key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... if i that not works then post some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2013 05:32:59 GMT</pubDate>
    <dc:creator>sushil353</dc:creator>
    <dc:date>2013-04-30T05:32:59Z</dc:date>
    <item>
      <title>Modeling n:m relationships in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410830#M485524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - apologies if this has already been discussed at length (I would imagine it being a pretty common question, but didn't see anything obvious on a search of the forum)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 logical tables: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Companies&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;CompanyID | a bunch of other info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partnerships&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;CompanyID | PartnerID &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Partnerships table is a standard n:m linking table. Both CompanyID and PartnerID should match Companies.CompanyID. What is the best way to model this in QV. I did the default "generate CSV for both of these and just see what happens" thing, and noticed that QV created a synthetic key for what appeared like joining on both CompanyID and PartnerID - and I'm pretty sure this is not what I want. Any pointers or links to resources are greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_howard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 05:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410830#M485524</guid>
      <dc:creator />
      <dc:date>2013-04-30T05:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Modeling n:m relationships in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410831#M485525</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;/P&gt;&lt;P&gt;to remove the synthetic key you can rename the fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can create the composite key.. it depends on your data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you want all the data from partnership table rt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partnerships&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PartnerID &amp;amp; CompanyID as key,&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;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Companies&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;----------------&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;PartnerID &amp;amp; CompanyID as key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... if i that not works then post some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 05:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410831#M485525</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-30T05:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modeling n:m relationships in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410832#M485526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Howard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a blog which will help you a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 05:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410832#M485526</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-04-30T05:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modeling n:m relationships in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410833#M485527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;firstly&lt;/P&gt;&lt;P&gt;Synthetic key :-- When between two table 2 or more than 2 fields are common, then Synthetic key are made.&lt;/P&gt;&lt;P&gt;Now--&lt;/P&gt;&lt;P&gt;there are three ways to remove Synthetic key.&lt;/P&gt;&lt;P&gt;1) JOIN&lt;/P&gt;&lt;P&gt;2) CONCATENATE&lt;/P&gt;&lt;P&gt;3) Allias (that is rename the fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the basis of these above , you can made the best modelling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;load&amp;nbsp; a,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c&lt;/P&gt;&lt;P&gt;from tableA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;load&amp;nbsp; a,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d&lt;/P&gt;&lt;P&gt;from tableA;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 06:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modeling-n-m-relationships-in-QV/m-p/410833#M485527</guid>
      <dc:creator />
      <dc:date>2013-04-30T06:12:51Z</dc:date>
    </item>
  </channel>
</rss>

