<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Synthetic-keys/m-p/1379682#M808624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3064"&gt;Synthetic Keys&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2017 08:53:50 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-10-17T08:53:50Z</dc:date>
    <item>
      <title>Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys/m-p/1379681#M808623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts - Just quick suggestion from you all...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is Synthetic key good to keep while developing dashboard ? What are the Pros and Cons ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, how do we overcome to avoid this ?&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-keys/m-p/1379681#M808623</guid>
      <dc:creator>bharani8</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys/m-p/1379682#M808624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3064"&gt;Synthetic Keys&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys/m-p/1379682#M808624</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-10-17T08:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-keys/m-p/1379683#M808625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No&lt;/STRONG&gt; worries even though synthetic key is there in your developed Dashboard &lt;STRONG&gt;up to if your source data is same with ur QlikView dashboard data&lt;/STRONG&gt;.(It means No of records are same in Data base and QV)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is commandeered to move synthetic keys in your data model it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Avoiding Synthetic keys Types:-&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Alias name for Synthetic fields&lt;/LI&gt;&lt;LI&gt;Remove un-necessary fields from data model&lt;/LI&gt;&lt;LI&gt;Concatenate fields into one field&lt;/LI&gt;&lt;LI&gt;Qualify the fields&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; Using QUALIFY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; Autonumber&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Autonumberhash128 and Autonumberhash256 creates 128bit and 256bit values respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; Aliasing&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can read more from&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;A _jive_internal="true" data-containerid="2003" data-containertype="14" data-objectid="183143" data-objecttype="2" href="https://community.qlik.com/message/183143#183143" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3778c7;"&gt;http://community.qlik.com/message/183143#183143&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 09:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-keys/m-p/1379683#M808625</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2017-10-17T09:01:18Z</dc:date>
    </item>
  </channel>
</rss>

