<?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 keys . How to remove them in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605884#M1098728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are three ways to get rid of Synthetic Keys&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;1. Using QUALIFY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This enforces QlikView to qualify all/selected fields. Qualify implements the check on full path of the field (e.g. Field is designated by Tablename.FieldName).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Autonumber&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you need to concat the Syn Key candidate fields and create your own key, you can use Autonumber/Autonumberhash128/Autonumberhash256 function. This will create a unique integer value for each distinct combination of the concateneted columns.&lt;/P&gt;&lt;P&gt;Autonumberhash128 and Autonumberhash256 creates 128bit and 256bit values respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One word of cauton using Autonumber is, as they are system generated, you do not have any control over the values. And for external QVDs, since the range of unique autonumber values are limited, uniqueness is not guranted. the hash128 and hash256 functions particularly address this issue and widens the range to ensure uniqueness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Aliasing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you alias the comflicting fields, i.e. the Syn Key candidate fields, they would be treated as different fields and will not be joined automatically by QV. This is a simple solution based on how flexible the requirements are, in renaming the fields.&lt;/P&gt;&lt;P&gt;Ofcourse you will find many other examples in this forum/QV manual that will strenthen your concept. This is my understanding from my experience with QV. Please let me know if it answers your question on my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read more from &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/183143#183143"&gt;http://community.qlik.com/message/183143#183143&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; line-height: 115%; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;/joseph&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2014 18:20:43 GMT</pubDate>
    <dc:creator>Joseph_Musekura</dc:creator>
    <dc:date>2014-05-07T18:20:43Z</dc:date>
    <item>
      <title>Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605875#M1098719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Synthetic keys . How to remove them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605875#M1098719</guid>
      <dc:creator />
      <dc:date>2014-05-07T05:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605876#M1098720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remane the field name, synthetic keys would removed.&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A as Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;From &amp;lt;Table Name&amp;gt;;&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;&amp;nbsp; A as Serial,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;From &amp;lt;Table Name&amp;gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605876#M1098720</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-05-07T05:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605877#M1098721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Renaming is the one way to remove the Synthetic keys but First go to this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/10279"&gt;Should We Stop Worrying and Love the Synthetic Key?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605877#M1098721</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-05-07T05:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605878#M1098722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you sujeetsingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605878#M1098722</guid>
      <dc:creator />
      <dc:date>2014-05-07T05:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605879#M1098723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either your represent the field name with a alias or you use Qualifier statement . In some case one could even comment or ignore the fields which are not required as per your requiremnet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You&lt;/P&gt;&lt;P&gt;Vinayagam &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605879#M1098723</guid>
      <dc:creator />
      <dc:date>2014-05-07T05:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605880#M1098724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi please go through this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 05:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605880#M1098724</guid>
      <dc:creator />
      <dc:date>2014-05-07T05:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605881#M1098725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following can also be useful, although it is not directly about synthetic keys: &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 09:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605881#M1098725</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-05-07T09:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605882#M1098726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thankyou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 16:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605882#M1098726</guid>
      <dc:creator />
      <dc:date>2014-05-07T16:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605883#M1098727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you get all information related to the synthetic keys and how to avoid them or you can refer the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605883#M1098727</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-07T18:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605884#M1098728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are three ways to get rid of Synthetic Keys&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;1. Using QUALIFY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This enforces QlikView to qualify all/selected fields. Qualify implements the check on full path of the field (e.g. Field is designated by Tablename.FieldName).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Autonumber&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you need to concat the Syn Key candidate fields and create your own key, you can use Autonumber/Autonumberhash128/Autonumberhash256 function. This will create a unique integer value for each distinct combination of the concateneted columns.&lt;/P&gt;&lt;P&gt;Autonumberhash128 and Autonumberhash256 creates 128bit and 256bit values respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One word of cauton using Autonumber is, as they are system generated, you do not have any control over the values. And for external QVDs, since the range of unique autonumber values are limited, uniqueness is not guranted. the hash128 and hash256 functions particularly address this issue and widens the range to ensure uniqueness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Aliasing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you alias the comflicting fields, i.e. the Syn Key candidate fields, they would be treated as different fields and will not be joined automatically by QV. This is a simple solution based on how flexible the requirements are, in renaming the fields.&lt;/P&gt;&lt;P&gt;Ofcourse you will find many other examples in this forum/QV manual that will strenthen your concept. This is my understanding from my experience with QV. Please let me know if it answers your question on my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read more from &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/183143#183143"&gt;http://community.qlik.com/message/183143#183143&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; line-height: 115%; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;/joseph&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605884#M1098728</guid>
      <dc:creator>Joseph_Musekura</dc:creator>
      <dc:date>2014-05-07T18:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys . How to remove them</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605885#M1098729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thankyou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 07:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys-How-to-remove-them/m-p/605885#M1098729</guid>
      <dc:creator />
      <dc:date>2014-05-08T07:44:00Z</dc:date>
    </item>
  </channel>
</rss>

