<?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 Link Table where an XREF table already exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-Table-where-an-XREF-table-already-exists/m-p/1091771#M363061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="118297" alt="CaptureQVModel.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118297_CaptureQVModel.JPG" style="width: 620px; height: 366px;" /&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a link table to help me create a single LOCATION field that when selected will cause only ISSUES and INCIDENTS of that location to be in the selection set.&amp;nbsp; The issue is that I already have that FACT_ISSUE_SOURCE_MAP table in the middle that relates ISSUES to INCIDENTS in a many to many relationship. Additionally, NOT ALL incidents OR issues are in this table since they are only added when both exist for a relationship.&amp;nbsp; Also, it is possible for a related inciodent or issue to not be in the same location (country) as its related counterpart.&amp;nbsp; If no slection is made of my new generic key, the user should be able to see all related countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime I get into a situation where I need a LINK table it always seems to be some new flavor I have not dealt with before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first stab was to create a LOCATION_LINK table that had all the combinations of N_ISSUE_KEY:[Issue Location] and N__INCIDENT_KEY:[Incident Location] with LOCATION as the new generic key in that table, but I got a circular reference.&lt;/P&gt;&lt;P&gt;I'm thinking that maybe I need to add records to the existing FACT_ISSUE_SOURCE_MAP table to account for the issues or incidents that are NOT in that table and use it as my LINK table, but I am not sure how to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be deeply appreciated. If it helps any, I do know that the Oracle Sequence that the keys are pulled from is the same, so keys are unique accross tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 20:22:36 GMT</pubDate>
    <dc:creator>tschullo</dc:creator>
    <dc:date>2016-03-16T20:22:36Z</dc:date>
    <item>
      <title>Link Table where an XREF table already exists</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-where-an-XREF-table-already-exists/m-p/1091771#M363061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="118297" alt="CaptureQVModel.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118297_CaptureQVModel.JPG" style="width: 620px; height: 366px;" /&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a link table to help me create a single LOCATION field that when selected will cause only ISSUES and INCIDENTS of that location to be in the selection set.&amp;nbsp; The issue is that I already have that FACT_ISSUE_SOURCE_MAP table in the middle that relates ISSUES to INCIDENTS in a many to many relationship. Additionally, NOT ALL incidents OR issues are in this table since they are only added when both exist for a relationship.&amp;nbsp; Also, it is possible for a related inciodent or issue to not be in the same location (country) as its related counterpart.&amp;nbsp; If no slection is made of my new generic key, the user should be able to see all related countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime I get into a situation where I need a LINK table it always seems to be some new flavor I have not dealt with before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first stab was to create a LOCATION_LINK table that had all the combinations of N_ISSUE_KEY:[Issue Location] and N__INCIDENT_KEY:[Incident Location] with LOCATION as the new generic key in that table, but I got a circular reference.&lt;/P&gt;&lt;P&gt;I'm thinking that maybe I need to add records to the existing FACT_ISSUE_SOURCE_MAP table to account for the issues or incidents that are NOT in that table and use it as my LINK table, but I am not sure how to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be deeply appreciated. If it helps any, I do know that the Oracle Sequence that the keys are pulled from is the same, so keys are unique accross tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-where-an-XREF-table-already-exists/m-p/1091771#M363061</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2016-03-16T20:22:36Z</dc:date>
    </item>
  </channel>
</rss>

