<?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 Can I use double relationships in my data model? Is there any workaround? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-I-use-double-relationships-in-my-data-model-Is-there-any/m-p/360656#M705255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you just load the location table in twice?&amp;nbsp; First with alias From_Location and then secondly with To_Location.&lt;/P&gt;&lt;P&gt;You would likely want to set them up in separate list boxes anyway...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 19:55:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-20T19:55:26Z</dc:date>
    <item>
      <title>Can I use double relationships in my data model? Is there any workaround?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-double-relationships-in-my-data-model-Is-there-any/m-p/360655#M705254</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;my Access database contains a table which has 2 foreign keys that reference the same primary key from another table.&lt;BR /&gt;For example, let's say I have a table Location, and a table Transport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location : &lt;/P&gt;&lt;P&gt;- (PK) Name_Location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transport : &lt;/P&gt;&lt;P&gt;- (PK) ID_Transport&lt;/P&gt;&lt;P&gt;- (FK) From_Location&amp;nbsp;&amp;nbsp;&amp;nbsp; // References Location.Name_Location&lt;/P&gt;&lt;P&gt;- (FK) To_Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // References Location.Name_Location&lt;/P&gt;&lt;P&gt;- Cost_Transport&lt;BR /&gt;- (FK) Item_Transport&amp;nbsp;&amp;nbsp;&amp;nbsp; // The item shipped, references some other table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can imagine, my table Transport holds where the shipping starts and where it ends (From and To)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since QlikView makes association only using exact name strings, and that I cannot have the same field name twice (how could I tell which one is FROM and which is TO anyway?), this won't work when I want to integrate it in QlikView, right?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can still modelize my database otherwise if there is any other good solution, but I really wish I could do it this way (to me it seems the best/most simple way...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 19:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-double-relationships-in-my-data-model-Is-there-any/m-p/360655#M705254</guid>
      <dc:creator />
      <dc:date>2012-03-20T19:28:44Z</dc:date>
    </item>
    <item>
      <title>Can I use double relationships in my data model? Is there any workaround?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-double-relationships-in-my-data-model-Is-there-any/m-p/360656#M705255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you just load the location table in twice?&amp;nbsp; First with alias From_Location and then secondly with To_Location.&lt;/P&gt;&lt;P&gt;You would likely want to set them up in separate list boxes anyway...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 19:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-double-relationships-in-my-data-model-Is-there-any/m-p/360656#M705255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T19:55:26Z</dc:date>
    </item>
    <item>
      <title>Can I use double relationships in my data model? Is there any workaround?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-double-relationships-in-my-data-model-Is-there-any/m-p/360657#M705256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the quick reply, and indeed I think it should work if I load the Location table twice with (slightly) different names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, some other tables use the Location table, such as WorkCenter which "has" (is associated to) one Location (where it is located obviously).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that my "FromLocation" table would be used for every association, except the 2nd relationship in transport, which would use the duplicate table "ToLocation".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 12:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-double-relationships-in-my-data-model-Is-there-any/m-p/360657#M705256</guid>
      <dc:creator />
      <dc:date>2012-03-21T12:50:50Z</dc:date>
    </item>
  </channel>
</rss>

