<?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 question about datamodel (link table) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/question-about-datamodel-link-table/m-p/258540#M97621</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;If you concatenate the two tables like this, then the joins to customer address and debtor address will be logically on different rows so therefore will do what you are experiencing - select one and the others disappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you really need to analyse debtors and customers together like this?&amp;nbsp; I would probably go for having separate address tables.&amp;nbsp; Use Exists or Keep to reduce the number of records in the Master table to match the relevant customer or debtor information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 10:04:24 GMT</pubDate>
    <dc:creator>stephencredmond</dc:creator>
    <dc:date>2012-02-08T10:04:24Z</dc:date>
    <item>
      <title>question about datamodel (link table)</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-datamodel-link-table/m-p/258539#M97620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have an orderitem table which contains a debtor_address&lt;/P&gt;&lt;P&gt;i have an order table which contains a customer_adress&lt;/P&gt;&lt;P&gt;i have a master table with all adresses. both can link to debtor and customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i could do is to read the address table twice and create a different key for each one (one on debtor address and one for customer_address)&lt;/P&gt;&lt;P&gt;but can i do this using a link table? how would the script look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what i have now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order table : AUTONUMBERHASH128(casenr,companycode)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %case_ID&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;orderitem table : AUTONUMBERHASH128(casenr,companycode)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %caseitem_ID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order table / order item table using CONCATENATE (fieldname are renamed differenly to prevent SYN key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;casenr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %casenr_ID,&lt;/P&gt;&lt;P&gt;companycode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %companycode_ID,&lt;/P&gt;&lt;P&gt;AUTONUMBERHASH(casenr,companycode)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %caseitem_ID / %case_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result is, when i select a customer name, the debtor names disappear and the other way arround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the proper way to achive this?&lt;/P&gt;&lt;P&gt;Thanks in advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 08:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-datamodel-link-table/m-p/258539#M97620</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2012-02-07T08:48:59Z</dc:date>
    </item>
    <item>
      <title>question about datamodel (link table)</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-datamodel-link-table/m-p/258540#M97621</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;If you concatenate the two tables like this, then the joins to customer address and debtor address will be logically on different rows so therefore will do what you are experiencing - select one and the others disappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you really need to analyse debtors and customers together like this?&amp;nbsp; I would probably go for having separate address tables.&amp;nbsp; Use Exists or Keep to reduce the number of records in the Master table to match the relevant customer or debtor information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 10:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-datamodel-link-table/m-p/258540#M97621</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-02-08T10:04:24Z</dc:date>
    </item>
  </channel>
</rss>

