<?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: Trouble creating Composite Key from 2 fields of a joined table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512107#M1137757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample .qvw?&amp;nbsp; It will be easier for us to help you if we can actually see what you're trying to do.&amp;nbsp; If you don't want us to see real data, you are able to scramble the data in Settings&amp;gt;Document Properties&amp;gt;Scrambling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 19:05:09 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2013-10-23T19:05:09Z</dc:date>
    <item>
      <title>Trouble creating Composite Key from 2 fields of a joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512106#M1137756</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;I'm fairly new to QlikView and despite studying how to optimise my datamodel, I'm struggling to complete what would seem to be the simplest of tasks in something like MSAccess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 tables&lt;/P&gt;&lt;P&gt;1) Factual data containing transactional events i.e. Ref, Model &amp;amp; Date&lt;/P&gt;&lt;P&gt;2) Reference table containing Date and Artificial Year Number i.e. 23/10/2013 = Year 8 (used to return year number vs. fact data)&lt;/P&gt;&lt;P&gt;3) Reference table containing Artificial Year Number, Model &amp;amp; equipment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;items 1 and 2 worked perfectly but because item 3 is at a Year level and includes Model, I wanted to create a composite key of Model &amp;amp; Year to link the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to combine 1 &amp;amp; 2 by using Join which works fine and when viewing the data it appears as one table however, my key to join to 3 requires Model from 1 and Artificial year from 2 and it doesn't reconise year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In MSAccess I would have been able to create this on the fly or carried out a make table query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be greatly appreciated since I've lost 1/2 a day and tried concatonate, join, applymap etc but to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 14:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512106#M1137756</guid>
      <dc:creator />
      <dc:date>2013-10-23T14:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating Composite Key from 2 fields of a joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512107#M1137757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample .qvw?&amp;nbsp; It will be easier for us to help you if we can actually see what you're trying to do.&amp;nbsp; If you don't want us to see real data, you are able to scramble the data in Settings&amp;gt;Document Properties&amp;gt;Scrambling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512107#M1137757</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-10-23T19:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating Composite Key from 2 fields of a joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512108#M1137758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you get answer to the above problem.&lt;/P&gt;&lt;P&gt;I am facing the same&lt;/P&gt;&lt;P&gt;I got the answer then share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 11:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512108#M1137758</guid>
      <dc:creator />
      <dc:date>2014-02-14T11:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating Composite Key from 2 fields of a joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512109#M1137759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natalie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like attached qvw???&lt;/P&gt;&lt;P&gt;I've explained the steps taken in the script.&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;Michiel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 12:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512109#M1137759</guid>
      <dc:creator>mvanlutterveld</dc:creator>
      <dc:date>2014-02-14T12:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating Composite Key from 2 fields of a joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512110#M1137760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michiel,&lt;/P&gt;&lt;P&gt;In the above scenario why you had taken autonumberhashXXX() function ,&lt;/P&gt;&lt;P&gt;If it is for performance then how it works? if not then why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my scenario i had 7 keys common in DIM and Two FACT tables , if i combine all the keys to create a composite key then is there any performance issue? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 16:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512110#M1137760</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-02-27T16:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating Composite Key from 2 fields of a joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512111#M1137761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QlikView help says about the AutonumberHashxxx() function the following:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;EM&gt;Calculates a 128-bit hash of the combined input expression values and the returns a unique integer value for each distinct hash value encountered during the script execution. This function can be used e.g. for creating a compact memory representation of a complex key. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That’s exactly what the purpose of this function is: creating a compact memory representation of a complex key. The result of this function is a numeric value only to be used to link tables. By autonumbering a complex and/or composite key performance of your data model will by enhanced. When your data model gets more complex and your data volume grows the performance really&amp;nbsp; benefit from this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It’s important to know that you can’t&amp;nbsp; use the resulting key field for anything else then linking tables. The value of the key field itself is meaningless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michiel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-Composite-Key-from-2-fields-of-a-joined-table/m-p/512111#M1137761</guid>
      <dc:creator>mvanlutterveld</dc:creator>
      <dc:date>2014-02-28T07:32:49Z</dc:date>
    </item>
  </channel>
</rss>

