<?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: Synthetic key between 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8397#M783903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Code,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;gtin_link_retail&amp;amp;'|'&amp;amp;gtin_link_case as Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Left join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;gtin_link_retail&amp;amp;'|'&amp;amp;gtin_link_case as Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;gtin_link_retail,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;gtin_link_case&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 05:10:42 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2018-03-12T05:10:42Z</dc:date>
    <item>
      <title>Synthetic key between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8392#M783898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have rows in two tables which has only of the key match&lt;/P&gt;&lt;P&gt;However the synthetic key is based on 2 fields. So only rows that matches both the fields are listed&lt;/P&gt;&lt;P&gt;I want to list rows even if one of the key is matched&lt;/P&gt;&lt;P&gt;How to resolve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2fields_key.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195986_2fields_key.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Umashankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8392#M783898</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic key between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8393#M783899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your question seems confusing to me. You want to remove synthetic key? if yes, then just rename the second .field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2018 22:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8393#M783899</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-03-11T22:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic key between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8394#M783900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A data model should always be a star schema.&lt;/P&gt;&lt;P&gt;I would create one fact table which contains two keys and two dimension tables for gtin_link_case and gtin_link_retail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2018 23:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8394#M783900</guid>
      <dc:creator>yujiyamane</dc:creator>
      <dc:date>2018-03-11T23:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic key between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8395#M783901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;AutoNumberHash128 to generate a key and drop the fields from the table&lt;/P&gt;&lt;P&gt;Load * ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(gtin_link_retail,gtin_link_case ) as LinkKey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From Table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(gtin_link_retail,gtin_link_case ) as LinkKey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From Table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Fields gtin_link_retail, gtin_link_case from Table2 ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 00:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8395#M783901</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2018-03-12T00:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic key between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8396#M783902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A synthetic key a simply an association through more thane one field. Although this is not a problem itself, synthetic/compound key are often the result of a faulty model design. And in the worst cases, the model design will result in a whole constellation of synthetic keys, which almost certainly cause problems in the metrics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A single synthetic key should behave in the way you require (and much the same as a join in SQL). Selecting one value of the two should select all the rows in both tables which match that value. But I would still give a thought to the model design and ask yourself what each field means, whether the tables could be concatenated and whether the compound key is necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 05:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8396#M783902</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-03-12T05:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic key between 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8397#M783903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Code,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;gtin_link_retail&amp;amp;'|'&amp;amp;gtin_link_case as Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Left join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;gtin_link_retail&amp;amp;'|'&amp;amp;gtin_link_case as Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;gtin_link_retail,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;gtin_link_case&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 05:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-key-between-2-tables/m-p/8397#M783903</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-03-12T05:10:42Z</dc:date>
    </item>
  </channel>
</rss>

