<?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 Associating 2 fields with different names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175847#M44081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to appolagise for my bad English, but it is not my first language.&lt;/P&gt;&lt;P&gt;I want to ask how to associate 2 fields from two different tables without changing their names to be the same. Lets say I have a table with [Customer Number] field and another table with [Customer ID] field. I want to associate those 2 fields during the reload, but without having to change the fields names. I've searched the forums and have read the manual and as far as I understood what's written I have to use autonumber() or autonumberhash128() function, but I'm a bit confused about that.&lt;/P&gt;&lt;P&gt;Please advise!&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Maya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2009 14:31:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-04T14:31:00Z</dc:date>
    <item>
      <title>Associating 2 fields with different names</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175847#M44081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to appolagise for my bad English, but it is not my first language.&lt;/P&gt;&lt;P&gt;I want to ask how to associate 2 fields from two different tables without changing their names to be the same. Lets say I have a table with [Customer Number] field and another table with [Customer ID] field. I want to associate those 2 fields during the reload, but without having to change the fields names. I've searched the forums and have read the manual and as far as I understood what's written I have to use autonumber() or autonumberhash128() function, but I'm a bit confused about that.&lt;/P&gt;&lt;P&gt;Please advise!&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Maya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 14:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175847#M44081</guid>
      <dc:creator />
      <dc:date>2009-12-04T14:31:00Z</dc:date>
    </item>
    <item>
      <title>Associating 2 fields with different names</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175848#M44082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;if you dont want to rename the fields, you can make a key&lt;/P&gt;&lt;P&gt;Load a1,b1,c1 from .....;&lt;/P&gt;&lt;P&gt;load a2,b2,c2 from ......;&lt;/P&gt;&lt;P&gt;now you want to join these two and want to keep that common field also&lt;/P&gt;&lt;P&gt;try this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load a1 as key, a1,b1,c1 from ......;&lt;/P&gt;&lt;P&gt;load a2 as key, a2,b2,c2 from ......;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 14:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175848#M44082</guid>
      <dc:creator />
      <dc:date>2009-12-04T14:43:05Z</dc:date>
    </item>
    <item>
      <title>Associating 2 fields with different names</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175849#M44083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maya,&lt;/P&gt;&lt;P&gt;We all speak different languages. No need to apologize.&lt;/P&gt;&lt;P&gt;Basically QlikView only associates fields with identical names. Is there a reason why you don't want to change the name?&lt;/P&gt;&lt;P&gt;Autonumber is used for generating a numeric value out of a field value and the same number will be generated for the same value in another field where autonumber is applied so that you get a connection, but the fields still have to be named the same.&lt;/P&gt;&lt;P&gt;If you have Customer Number in one table and Customer ID in another and want to keep them separate while still linking the tables, the easiest approach is to create a second field in one of the tables, for example:&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt; [Customer Number],&lt;BR /&gt; [Customer Number] as [Customer ID]&lt;BR /&gt;From xxx&lt;/P&gt;&lt;P&gt;That way you'll still have the Customer number in the table but also create a link with the other table containing Customer ID. Hope this makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 14:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175849#M44083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-04T14:44:15Z</dc:date>
    </item>
    <item>
      <title>Associating 2 fields with different names</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175850#M44084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi csavgssc and Johannes,&lt;BR /&gt;&lt;BR /&gt;Thank you for your quick replies.&lt;BR /&gt;&lt;BR /&gt;@csavgssc&lt;BR /&gt;Only in one of the tables the field will be a key, and actually I don't see how your suggestion will work...&lt;BR /&gt;&lt;BR /&gt;@Johannes&lt;BR /&gt;Yes, there is a reason for me wanting this...&lt;BR /&gt;I started a new job as a BI in a big company and I inherited few QlikView applications that I should take care of. These applications are huge, lots of tables are loaded... So the previous developer, who created them developed a strategy for naming the fields and it goes like this:&lt;BR /&gt;&lt;BR /&gt;[TN: Field name] - where TN are the initials of the Table Name.&lt;BR /&gt;&lt;BR /&gt;So when there are 2 fields that should be associated they have different names, because they are from different tabels.&lt;BR /&gt;&lt;BR /&gt;In his application I see he managed to do such an association, and now I see he did just what you are suggesting; and he uses autonumberhash128() to generate a key field and now I understand the logic behind the script thanks to you.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Maya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 15:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175850#M44084</guid>
      <dc:creator />
      <dc:date>2009-12-04T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Associating 2 fields with different names</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175851#M44085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;basically the idea is to make two fields in two tables with the same name in order to make a join between them. so it can be either way&lt;/P&gt;&lt;P&gt;1. a1 as key, a2 as key-----------here the common field is key&lt;/P&gt;&lt;P&gt;2. a1 as a2--------------here the common field is a2&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 16:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175851#M44085</guid>
      <dc:creator />
      <dc:date>2009-12-04T16:17:31Z</dc:date>
    </item>
    <item>
      <title>Associating 2 fields with different names</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175852#M44086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see, yes this will work too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 16:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-2-fields-with-different-names/m-p/175852#M44086</guid>
      <dc:creator />
      <dc:date>2009-12-04T16:47:09Z</dc:date>
    </item>
  </channel>
</rss>

