<?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: Circular Reference and Composite Keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666082#M449152</link>
    <description>&lt;P&gt;Another solution if you have a hierarchy relationship between the three tables is to remove the A_C_Key in the Table 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck with your data modelling.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vegar&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2020 07:17:46 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2020-01-16T07:17:46Z</dc:date>
    <item>
      <title>Circular Reference and Composite Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666076#M449150</link>
      <description>&lt;P&gt;I have a problematic data model. There is a circular reference present by default.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tab1.jpg" style="width: 106px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26946iB8C0FB01006323D7/image-size/small?v=v2&amp;amp;px=200" role="button" title="tab1.jpg" alt="tab1.jpg" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tab2.jpg" style="width: 100px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26947i0E5C7DE870FA4577/image-size/small?v=v2&amp;amp;px=200" role="button" title="tab2.jpg" alt="tab2.jpg" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tab3.jpg" style="width: 100px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26948i0C958F8CD75B0F18/image-size/small?v=v2&amp;amp;px=200" role="button" title="tab3.jpg" alt="tab3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ref.jpg" style="width: 409px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26949i27A82B0E071E9F52/image-size/large?v=v2&amp;amp;px=999" role="button" title="ref.jpg" alt="ref.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have considered making a bridge table but then all tables will be linked to bridge table using a 3 key composite key. However, the tables are connected with each other at 2 key composite keys. Another problem is of granularity. Table1 has data at the highest level of granularity (Item). Table2 has a lower granularity level (Item - Carton). And Table3 has an even lower granularity (Carton-Container).&lt;/P&gt;&lt;P&gt;What is the correct method for handling this situation? Generic keys? I'm stumped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 06:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666076#M449150</guid>
      <dc:creator>ZainZaidi</dc:creator>
      <dc:date>2020-01-16T06:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Circular Reference and Composite Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666081#M449151</link>
      <description>&lt;P&gt;It's hard to give an absolute answer not knowing your data, but I'll give a suggestion.&amp;nbsp; You say that table 1 has the highest granularity and therefore I would consider removing the A_D_Key from table 3, the lowest granularity table. Hopefully you will still have access to all the correct A_D_Key values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 07:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666081#M449151</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-16T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Circular Reference and Composite Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666082#M449152</link>
      <description>&lt;P&gt;Another solution if you have a hierarchy relationship between the three tables is to remove the A_C_Key in the Table 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck with your data modelling.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vegar&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 07:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666082#M449152</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-16T07:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Circular Reference and Composite Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666087#M449153</link>
      <description>&lt;P&gt;Hi Vegar, I really appreciate the quick response.&lt;/P&gt;&lt;P&gt;Like you said, i've removed the A_D_Key but i'm worried whether this is logically correct or not.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I don't know if this will result in lost data during association.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bridge.jpg" style="width: 403px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26951iB2968024EBA05F1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="bridge.jpg" alt="bridge.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relationship is not hierarchical so i cannot remove A_C_Key.&lt;/P&gt;&lt;P&gt;Thanks for the suggestion though.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 07:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666087#M449153</guid>
      <dc:creator>ZainZaidi</dc:creator>
      <dc:date>2020-01-16T07:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Circular Reference and Composite Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666104#M449155</link>
      <description>&lt;P&gt;A simple check you can do is to rename the A_D_Key instead of removing it. Then you can create a validation object in QlikView comparing the output of A_D_Key and your renamed version of A_D_Key. It will give you an indication of the quality of your new data model.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 08:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666104#M449155</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-16T08:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Circular Reference and Composite Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666230#M449158</link>
      <description>&lt;P&gt;Personally I wouldn't tend to link all of these tables else I would try to merge them. It may be more or less simple joins/mappings depending on the relation of their keys and/or how to handle missing keys (maybe checking in beforehand and adding them before the join/mapping).&lt;/P&gt;&lt;P&gt;Logically more easier would be just to concatenate all these tables. Non-synchron tables and/or tables with a different granularity work often quite well in Qlik - therefore just give it a try.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 13:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Circular-Reference-and-Composite-Keys/m-p/1666230#M449158</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-01-16T13:12:58Z</dc:date>
    </item>
  </channel>
</rss>

