<?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 concatenated key not unique in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263240#M859600</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 2 tables and there is no unique key to link both tables, so i want to create string concatenated key.&lt;/P&gt;&lt;P&gt;The combincation of fields i have choosen seems not generating unique values, as i see duplicate values in the key field.&lt;/P&gt;&lt;P&gt;Then i decided to add a date field like below-&lt;/P&gt;&lt;P&gt;field1 &amp;amp; '|' &amp;amp; field1 &amp;amp; '|' &amp;amp; datefield1 &amp;amp; '|' &amp;amp; datefield12 as key&lt;/P&gt;&lt;P&gt;but when the date is null, then the key showing duplicate values.&lt;/P&gt;&lt;P&gt;Can i write a condition in the above concatenated key? or is there any better way?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>surajap123</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>concatenated key not unique</title>
      <link>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263240#M859600</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 2 tables and there is no unique key to link both tables, so i want to create string concatenated key.&lt;/P&gt;&lt;P&gt;The combincation of fields i have choosen seems not generating unique values, as i see duplicate values in the key field.&lt;/P&gt;&lt;P&gt;Then i decided to add a date field like below-&lt;/P&gt;&lt;P&gt;field1 &amp;amp; '|' &amp;amp; field1 &amp;amp; '|' &amp;amp; datefield1 &amp;amp; '|' &amp;amp; datefield12 as key&lt;/P&gt;&lt;P&gt;but when the date is null, then the key showing duplicate values.&lt;/P&gt;&lt;P&gt;Can i write a condition in the above concatenated key? or is there any better way?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&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/concatenated-key-not-unique/m-p/1263240#M859600</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: concatenated key not unique</title>
      <link>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263241#M859601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be easier to see what you want if you can share 5-10 lines of data and the kind of key you are looking to create&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 16:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263241#M859601</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-17T16:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: concatenated key not unique</title>
      <link>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263242#M859602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either of tables had more than one distinct value, so you need to add more fields to your concatenated composite key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 16:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263242#M859602</guid>
      <dc:creator />
      <dc:date>2017-01-17T16:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: concatenated key not unique</title>
      <link>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263243#M859603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AutoNumberHash128(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1 &amp;amp; '|' &amp;amp; field1 &amp;amp; '|' &amp;amp; datefield1 &amp;amp; '|' &amp;amp; datefield12&lt;/SPAN&gt;) as Key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 16:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenated-key-not-unique/m-p/1263243#M859603</guid>
      <dc:creator>eespiritu</dc:creator>
      <dc:date>2017-01-17T16:11:26Z</dc:date>
    </item>
  </channel>
</rss>

