<?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: Resolving a loop on a double relationship (between 2 tables) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370258#M137676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I completely "forked" the table relationships all the way as you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It now looks like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="partially_solved.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12448_partially_solved.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And I no longer have a loop warning, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2012 14:20:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-27T14:20:41Z</dc:date>
    <item>
      <title>Resolving a loop on a double relationship (between 2 tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370254#M137672</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 a QV newbie and after I found a solution to my earlier problem (look here : &lt;A _jive_internal="true" href="https://community.qlik.com/message/202612"&gt;http://community.qlik.com/message/202612&lt;/A&gt; )&lt;BR /&gt;I encountered yet another one.&lt;BR /&gt;Since I have duplicated my Site table (referred as to "Location" in the previous example) I now have 1 link between Site_From and Transport, plus another link between Site_To and Transport, but that gives me a loop as shown here : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="loop_transport.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12433_loop_transport.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Though my original (MS Access) database model looks like this : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="model_transport.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12437_model_transport.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As explained in the previous thread, I need to have such double relationships because in Transport for example, I need to know the shipping goes from where, to where. Therefore to create relationships in QV I had to duplicate the table Site, and finally got a loop problem, is there any workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand how I can solve this issue, I am new to QV,&lt;/P&gt;&lt;P&gt;thanks for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 19:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370254#M137672</guid>
      <dc:creator />
      <dc:date>2012-03-26T19:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving a loop on a double relationship (between 2 tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370255#M137673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without getting into your requirements and information, what I think I'd do is concatenate both site tables and leave them with a "direction" identifier field, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name_Site &lt;/P&gt;&lt;P&gt;Name_City &lt;/P&gt;&lt;P&gt;PlantNumber_Site &lt;/P&gt;&lt;P&gt;ITCostPerEmployee_Site &lt;/P&gt;&lt;P&gt;WrapRate_Site &lt;/P&gt;&lt;P&gt;"Direction" (From, To)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and link that table to your Transport table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 20:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370255#M137673</guid>
      <dc:creator />
      <dc:date>2012-03-26T20:58:22Z</dc:date>
    </item>
    <item>
      <title>Resolving a loop on a double relationship (between 2 tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370256#M137674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is correct to have two separate branches for "Name_Site_To" and "Name_Site_From". You just need to take it all the way... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: you need to have two City tables too, and link the City tables correctly to the "Name_Site_xx" tables. So you will have one branch for the "To" fields: "Name_Site_To" &amp;lt;--&amp;gt; "City_To" and an identical for the "From" fields. And you need to rename the "Name_Country" into "Name_Country_To" and "Name_Country_From".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only this way can you make a selection where "Name_Country_To" has a different selection than&amp;nbsp; "Name_Country_From".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 06:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370256#M137674</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-03-27T06:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving a loop on a double relationship (between 2 tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370257#M137675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It would work if I needed to have a Site_From link XOR a Site_To link in my Transport table, but it is not the case since I need to have both. But I cannot have 2 links (from 2 fields in the Transport table) going to the same field in Site unfortunately (because of how QV makes associations)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 12:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370257#M137675</guid>
      <dc:creator />
      <dc:date>2012-03-27T12:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving a loop on a double relationship (between 2 tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370258#M137676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I completely "forked" the table relationships all the way as you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It now looks like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="partially_solved.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12448_partially_solved.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And I no longer have a loop warning, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 14:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resolving-a-loop-on-a-double-relationship-between-2-tables/m-p/370258#M137676</guid>
      <dc:creator />
      <dc:date>2012-03-27T14:20:41Z</dc:date>
    </item>
  </channel>
</rss>

