<?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: how to create composite key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592000#M1101942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its nothing but Combining the common fields which makes synthetic keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;Region,&lt;/P&gt;&lt;P&gt;Sales,&lt;/P&gt;&lt;P&gt;Products&lt;/P&gt;&lt;P&gt;From --------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;Region,&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;Outstanding&lt;/P&gt;&lt;P&gt;From ---------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load these 2 tables directly your script contains synthetic keys (Country and Region-- common in both tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sol:&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Country&amp;amp;'-'&amp;amp;Region as Key&amp;nbsp;&amp;nbsp;&amp;nbsp; //Composite key&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;Products&lt;/P&gt;&lt;P&gt;From --------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Country&amp;amp;'-'&amp;amp;Region as Key&amp;nbsp;&amp;nbsp; //Composite key&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;Outstanding&lt;/P&gt;&lt;P&gt;From --------------;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 10:37:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-02T10:37:57Z</dc:date>
    <item>
      <title>how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591993#M1101935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have been working on making a data model for the northwind database. i am stuck at a point of removing synthetic keys. the thing is i don't know exactly about the composite key. can anyone please tell how to apply composite key and what should be its syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591993#M1101935</guid>
      <dc:creator />
      <dc:date>2014-04-02T10:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591994#M1101936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And more details like below&lt;/P&gt;&lt;P&gt;Eg:-&lt;/P&gt;&lt;P&gt;FieldName1 &amp;amp;'|'&amp;amp; Fielname2 as Composite_key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;autonumber( Region&amp;amp;Year&amp;amp;Month, 'Ctr1' ) as Key&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;autonumberhash128 ( Region, Year, Month )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many different scenarios for synthetic keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If table columns has same different fields then concatenate those tables&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load Field1,Field2 from location;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Load Field1,Field2 from location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or they will auto concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The below table is join with Key field or they associate with each other&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Field1&amp;amp;'|'&amp;amp;Field2 as Key,&lt;/P&gt;&lt;P&gt;Field1,Field2,FieldA from location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Field1&amp;amp;'|'&amp;amp;Field2 as Key,&lt;/P&gt;&lt;P&gt;Load Field1,Field2,FieldB from location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Qualify the table&lt;/P&gt;&lt;P&gt;Qualify *;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load Field1,Field2 from location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Load Field1,Field2 from location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If using Qualify the field name of table after loading comes like&lt;/P&gt;&lt;P&gt;Tab1.Field1,Tab1.Field2&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Tab2,Field1,Tab2.Field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591994#M1101936</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-02T10:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591995#M1101937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field1 &amp;amp; '-' &amp;amp; Field2 &amp;amp; '-' &amp;amp; Field3 as Key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very good post about synthetic key, read it if you have time&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/432613"&gt;Re: Should We Stop Worrying and Love the Synthetic Key?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also look in the help at&lt;/P&gt;&lt;P&gt;autonumber&lt;/P&gt;&lt;P&gt;autonumberhash.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591995#M1101937</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-02T10:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591996#M1101938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like below:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1 &amp;amp; Field2 as Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; AutoNumber&lt;/STRONG&gt;(Field1 &amp;amp; Field2) as Key2&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Form &amp;lt;&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Key2 is the better way to use in terms of performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591996#M1101938</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-02T10:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591997#M1101939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Autonumber(Field1,Field2....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will created distinct number for the combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating the key you can drop the common fields from any one of the table to remove synthetic keys and thereby associating with the newly created key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591997#M1101939</guid>
      <dc:creator />
      <dc:date>2014-04-02T10:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591998#M1101940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On in detail you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FieldName1 &amp;amp;'|'&amp;amp; Fielname2 as Composite_key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;autonumber( Region&amp;amp;Year&amp;amp;Month ) as Key&lt;/P&gt;&lt;P class="Code"&gt;autonumber( Region&amp;amp;Year&amp;amp;Month, 'Ctr1' ) as Key&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;autonumberhash128 ( Region, Year, Month )&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591998#M1101940</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-02T10:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591999#M1101941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can remove synthetic key by&lt;/P&gt;&lt;P&gt;1) Using Qualify function for any table load&lt;/P&gt;&lt;P&gt;2) Renaming field names having same name&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i.e. Address as Customer Address&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address as Supplier Address&lt;/P&gt;&lt;P&gt;3) Concatenate tables&lt;/P&gt;&lt;P&gt;4) Create a link table by using composite key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i.e. ID &amp;amp; ' '&amp;amp; Address as Key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can help you better way if you can share your apps or create a sample file and upload it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/591999#M1101941</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-02T10:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592000#M1101942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its nothing but Combining the common fields which makes synthetic keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;Region,&lt;/P&gt;&lt;P&gt;Sales,&lt;/P&gt;&lt;P&gt;Products&lt;/P&gt;&lt;P&gt;From --------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;Region,&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;Outstanding&lt;/P&gt;&lt;P&gt;From ---------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load these 2 tables directly your script contains synthetic keys (Country and Region-- common in both tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sol:&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Country&amp;amp;'-'&amp;amp;Region as Key&amp;nbsp;&amp;nbsp;&amp;nbsp; //Composite key&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;Products&lt;/P&gt;&lt;P&gt;From --------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;Country&amp;amp;'-'&amp;amp;Region as Key&amp;nbsp;&amp;nbsp; //Composite key&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;Outstanding&lt;/P&gt;&lt;P&gt;From --------------;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592000#M1101942</guid>
      <dc:creator />
      <dc:date>2014-04-02T10:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592001#M1101943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create Composite Key Like That.It's Very Useful to Avoid Synthetic Key In Data Model&lt;/P&gt;&lt;P&gt;Field1 &amp;amp; '-' &amp;amp; Field2 &amp;amp; '-' &amp;amp; Field3 as Key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592001#M1101943</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-02T10:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592002#M1101944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i understood the script&amp;nbsp; and have one doubt in your script .&lt;/P&gt;&lt;P&gt;Now user want to select the country and region column.what will do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592002#M1101944</guid>
      <dc:creator>muniyandi</dc:creator>
      <dc:date>2014-04-02T11:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592003#M1101945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then load a script like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sol:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tab1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&amp;amp;'-'&amp;amp;Region as Key&amp;nbsp;&amp;nbsp;&amp;nbsp; //Composite key,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Country as Tab1_&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Country&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Region &lt;/SPAN&gt;as Tab1_Region&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Products&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From --------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tab2:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&amp;amp;'-'&amp;amp;Region as Key&amp;nbsp;&amp;nbsp; //Composite key,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Country as Tab2_&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Country&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Region &lt;/SPAN&gt;as Tab2_Region&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Customer,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Outstanding&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From --------------;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rename this two fields in the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592003#M1101945</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-02T11:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592004#M1101946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can rename those fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Tab1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country as Tab1_Country&lt;/P&gt;&lt;P&gt;Region as Tab1_Region&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Tab2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country as Tab2_Country&lt;/P&gt;&lt;P&gt;Region as Tab2_Region&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can keep Country and Region as it is from any one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now all your fields are unique except Key field(composite key) and relation ship exists between your 2 tables based on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592004#M1101946</guid>
      <dc:creator />
      <dc:date>2014-04-02T11:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592005#M1101947</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;Tab1 &amp;amp; Tab2 both are common field. i want select common single column in listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592005#M1101947</guid>
      <dc:creator>muniyandi</dc:creator>
      <dc:date>2014-04-02T12:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592006#M1101948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Tab1 &amp;amp; Tab2&lt;/SPAN&gt; not all fields are common in above suppose they are same &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tab1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&amp;amp;'-'&amp;amp;Region&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;amp;'-'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sales&lt;/SPAN&gt; as Key&amp;nbsp;&amp;nbsp;&amp;nbsp; //Composite key,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;//Country as Tab1_&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Country&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;//Region &lt;/SPAN&gt;as Tab1_Region&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//Sales&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From --------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tab2:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&amp;amp;'-'&amp;amp;Region&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;amp;'-'&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sales&lt;/SPAN&gt;&lt;/SPAN&gt; as Key&amp;nbsp;&amp;nbsp; //Composite key,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;//Country as Tab2_&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Country&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;//Region &lt;/SPAN&gt;as Tab2_Region&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;//Sales,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From --------------;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;After loading this two tables concatenate to each other and give single table with key field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592006#M1101948</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-02T12:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592007#M1101949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want county,region,sales field in list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user want select list box to filter purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592007#M1101949</guid>
      <dc:creator>muniyandi</dc:creator>
      <dc:date>2014-04-02T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592008#M1101950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check enclosed file having dummy data which can help to understand how synthetic key/table can be removed using Link Table approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE : You can check the table structure by CTRL + T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592008#M1101950</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-02T12:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592009#M1101951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://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;I like synthetic keys in some circumstances. As long as I have planned to use them. For example I joined the three main tables together in a service company using a synthetic key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call table (call_num) and field service visit table number (call_Num &amp;amp; FSR_Num) with the revenue charges lines (call_Num &amp;amp; FSR_Num &amp;amp; FSRL_Num)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was tidier and the saved file was smaller than when I used a composite key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592009#M1101951</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2014-04-02T12:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592010#M1101952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got nothing common from the table which i want to add in Data model.Can u help as how to use Composite key on that.Same data as in discussion.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table Name&lt;/STRONG&gt;:Sales Reports&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fields&lt;/STRONG&gt;:ID,Display,GroupBy,Title,Filterrowsource.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 06:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592010#M1101952</guid>
      <dc:creator />
      <dc:date>2014-04-03T06:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to create composite key</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592011#M1101953</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;Is it necessary to add any separation symbol in between?&lt;/P&gt;&lt;P&gt;For example in your case you are using the separation symbol "-".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if I directly create the key as -&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;Sol:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tab1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&amp;amp;Region as Key&amp;nbsp;&amp;nbsp;&amp;nbsp; //Composite key&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Products&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From --------------;&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;Tab2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&amp;amp;Region as Key&amp;nbsp;&amp;nbsp; //Composite key&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Customer,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Outstanding&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From --------------;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mahamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 13:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-composite-key/m-p/592011#M1101953</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2016-04-19T13:43:09Z</dc:date>
    </item>
  </channel>
</rss>

