<?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 Data modelling - Contracts in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-modelling-Contracts/m-p/1071668#M17518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi we have a contract database having the following relationsship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ContractLines (The lines contains either of BrandID, QualityID or ItemID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ContractID&lt;/P&gt;&lt;P&gt;ContractLine&lt;/P&gt;&lt;P&gt;Contract.BrandID&lt;/P&gt;&lt;P&gt;Contract.QualityID&lt;/P&gt;&lt;P&gt;Contract.ItemID&lt;/P&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ProductTables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;BrandTable&lt;/P&gt;&lt;P&gt;BrandID&lt;/P&gt;&lt;P&gt;BrandPrice&lt;/P&gt;&lt;P&gt;BrandName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QualityTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;QualityID&lt;/P&gt;&lt;P&gt;QualityPrice&lt;/P&gt;&lt;P&gt;QualityName&lt;/P&gt;&lt;P&gt;BrandID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ItemTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ItemID&lt;/P&gt;&lt;P&gt;ItemPrice&lt;/P&gt;&lt;P&gt;Item Name&lt;/P&gt;&lt;P&gt;QualityID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have difficulties in doing in QlikSense is to create a hierachy of the Products and then join that to the ContractLines, in order to on each Contract row display what Brand it belongs to and keeping the nice QlikSense relation to the product hierachy. Any tips?&lt;/P&gt;&lt;P&gt;My best guess is that I have to create a relation table e.g. ContractBrandID and BrandID inbetween ContractLines and BrandTable and so on? And then to create the realation between the Product tables where all product data is joined into one table and finally link that to the perviously created relationship tables between Contractlines and BrandID etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 13:11:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-08T13:11:45Z</dc:date>
    <item>
      <title>Data modelling - Contracts</title>
      <link>https://community.qlik.com/t5/App-Development/Data-modelling-Contracts/m-p/1071668#M17518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi we have a contract database having the following relationsship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ContractLines (The lines contains either of BrandID, QualityID or ItemID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ContractID&lt;/P&gt;&lt;P&gt;ContractLine&lt;/P&gt;&lt;P&gt;Contract.BrandID&lt;/P&gt;&lt;P&gt;Contract.QualityID&lt;/P&gt;&lt;P&gt;Contract.ItemID&lt;/P&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ProductTables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;BrandTable&lt;/P&gt;&lt;P&gt;BrandID&lt;/P&gt;&lt;P&gt;BrandPrice&lt;/P&gt;&lt;P&gt;BrandName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QualityTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;QualityID&lt;/P&gt;&lt;P&gt;QualityPrice&lt;/P&gt;&lt;P&gt;QualityName&lt;/P&gt;&lt;P&gt;BrandID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ItemTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ItemID&lt;/P&gt;&lt;P&gt;ItemPrice&lt;/P&gt;&lt;P&gt;Item Name&lt;/P&gt;&lt;P&gt;QualityID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have difficulties in doing in QlikSense is to create a hierachy of the Products and then join that to the ContractLines, in order to on each Contract row display what Brand it belongs to and keeping the nice QlikSense relation to the product hierachy. Any tips?&lt;/P&gt;&lt;P&gt;My best guess is that I have to create a relation table e.g. ContractBrandID and BrandID inbetween ContractLines and BrandTable and so on? And then to create the realation between the Product tables where all product data is joined into one table and finally link that to the perviously created relationship tables between Contractlines and BrandID etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 13:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-modelling-Contracts/m-p/1071668#M17518</guid>
      <dc:creator />
      <dc:date>2016-02-08T13:11:45Z</dc:date>
    </item>
  </channel>
</rss>

