<?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 Help with a Generic Key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-a-Generic-Key/m-p/1343809#M413706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a contnuation of &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1308339#1308339"&gt;https://community.qlik.com/message/1308339#1308339&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Original Post&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Looking for some help with my data model. The attachment contains sample sales data for five customers that is distributed across 4 salesman and three divisions. My current application is similar in structure to the one that is attached. &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Now I wish to add meeting data containing Dates &amp;amp; Customer Numbers (also contained in the SalesData table) as well as the salesman (contained in the Sales Allocation table). It is also possible for a salesman to visit a customer to which he is not allocated. &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;I would prefer not to join all of the tables together as it functions as a cross-check to make sure that all of the allocations sum to 100%. &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;How can I structure these without creating a synthetic key?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some research it would appear that I need to create a Generic Key that contains all possible combinations of Customer/Date/Salesman for all of the data to display as needed. I am trying to work through the examples that I have found, but having some issues. Can someone set this up with the data provided as an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 13:00:37 GMT</pubDate>
    <dc:creator>hobanwashburne</dc:creator>
    <dc:date>2017-07-20T13:00:37Z</dc:date>
    <item>
      <title>Help with a Generic Key</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-a-Generic-Key/m-p/1343809#M413706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a contnuation of &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1308339#1308339"&gt;https://community.qlik.com/message/1308339#1308339&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Original Post&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Looking for some help with my data model. The attachment contains sample sales data for five customers that is distributed across 4 salesman and three divisions. My current application is similar in structure to the one that is attached. &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Now I wish to add meeting data containing Dates &amp;amp; Customer Numbers (also contained in the SalesData table) as well as the salesman (contained in the Sales Allocation table). It is also possible for a salesman to visit a customer to which he is not allocated. &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;I would prefer not to join all of the tables together as it functions as a cross-check to make sure that all of the allocations sum to 100%. &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;How can I structure these without creating a synthetic key?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some research it would appear that I need to create a Generic Key that contains all possible combinations of Customer/Date/Salesman for all of the data to display as needed. I am trying to work through the examples that I have found, but having some issues. Can someone set this up with the data provided as an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-a-Generic-Key/m-p/1343809#M413706</guid>
      <dc:creator>hobanwashburne</dc:creator>
      <dc:date>2017-07-20T13:00:37Z</dc:date>
    </item>
  </channel>
</rss>

