<?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 Table Association in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075119#M928606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following four main tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.12.56.png" class="jive-image image-1" src="/legacyfs/online/119430_Screen Shot 2016-03-26 at 01.12.56.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The above key table comprise a key (relevant code) together with a description of the relevant code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My model also has the following tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.13.41.png" class="jive-image image-2" src="/legacyfs/online/119431_Screen Shot 2016-03-26 at 01.13.41.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.15.29.png" class="jive-image image-3" src="/legacyfs/online/119444_Screen Shot 2016-03-26 at 01.15.29.png" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The above table is called WHOEML&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last table is called FDATherapy and is as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.17.33.png" class="image-4 jive-image" src="/legacyfs/online/119445_Screen Shot 2016-03-26 at 01.17.33.png" style="height: 234px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;What would be the best method to associate these tables with no synthetic keys? As mentioned the first four tables are the key tables with the descriptions of the codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075119#M928606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following four main tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.12.56.png" class="jive-image image-1" src="/legacyfs/online/119430_Screen Shot 2016-03-26 at 01.12.56.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The above key table comprise a key (relevant code) together with a description of the relevant code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My model also has the following tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.13.41.png" class="jive-image image-2" src="/legacyfs/online/119431_Screen Shot 2016-03-26 at 01.13.41.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.15.29.png" class="jive-image image-3" src="/legacyfs/online/119444_Screen Shot 2016-03-26 at 01.15.29.png" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The above table is called WHOEML&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last table is called FDATherapy and is as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 01.17.33.png" class="image-4 jive-image" src="/legacyfs/online/119445_Screen Shot 2016-03-26 at 01.17.33.png" style="height: 234px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;What would be the best method to associate these tables with no synthetic keys? As mentioned the first four tables are the key tables with the descriptions of the codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075119#M928606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075120#M928607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just something to start with (since the data model should also be designed to support your analysis best):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) JOIN or ApplyMap the four Code tables to DimProduct (hence these four tables are removed from the data model afterwards)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Create a key field in DimProduct from the four Codes, e.g. using AutonumberXXX()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Create a key field in WHOEML table from the Code fields, then remove the Code fields from that table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) &lt;SPAN style="font-size: 13.3333px;"&gt;Create a key field in FDATherapy table from the Code fields, then remove the Code fields from that table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you should have three tables, DimProduct, WHOEML and FDATherapy linked by the key created from Codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 23:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075120#M928607</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-25T23:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075121#M928608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the 'search value(s)' in the source table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2016 00:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075121#M928608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-26T00:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075122#M928609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean with that. Are you referring to my proposal?&lt;/P&gt;&lt;P&gt;Which part of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2016 00:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075122#M928609</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-26T00:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075123#M928610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, let me try it out and will come back to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2016 00:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075123#M928610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-26T00:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075124#M928611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model is now as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 04.34.43.png" class="jive-image image-1" src="/legacyfs/online/119446_Screen Shot 2016-03-26 at 04.34.43.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The other 4 tables have been dropped as i used ApplyMap.&amp;nbsp; However, in one of my chart reports i get the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-26 at 04.35.56.png" class="jive-image image-2" src="/legacyfs/online/119447_Screen Shot 2016-03-26 at 04.35.56.png" style="height: 266px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I am not sure why i get the blank row under the Anatomical Main Group field (4TH ROW).&amp;nbsp; Also do not want the 'UNCLASSIFIED/NON-PHARMACEUTICALS IN THE LAST ROW TO APPEAR IN THE CHART.&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2016 02:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075124#M928611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-26T02:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075125#M928612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably get a blank dimension in one row because your measure is not linked to Anatomical Main Group in some cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, the last row shows zero for UNCLASSIFIED, because you don't have any entries in your measure table for this dimension value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If appropriate you can filter these lines out using 'Suppress zero values' on presentation tab and 'Suppress When NULL' on dimension tab. Or you might want to find out why there is no relation in your data for these key values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2016 11:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075125#M928612</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-26T11:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table Association</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075126#M928613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was doing some troubleshooting in order to find out the root cause of the blanks.&amp;nbsp; I ran the model for the specify chart which had a blank and left our other irrelevant tables as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-27 at 18.09.20.png" class="jive-image image-3" src="/legacyfs/online/119504_Screen Shot 2016-03-27 at 18.09.20.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The two tables are as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-27 at 17.27.13.png" class="jive-image image-1" src="/legacyfs/online/119502_Screen Shot 2016-03-27 at 17.27.13.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-27 at 17.28.09.png" class="jive-image image-2" src="/legacyfs/online/119503_Screen Shot 2016-03-27 at 17.28.09.png" style="height: 296px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The report which i ran is as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-27 at 17.50.17.png" class="image-4 jive-image" src="/legacyfs/online/119505_Screen Shot 2016-03-27 at 17.50.17.png" style="height: 514px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I then realised that the blank in the full report as given above where we used ApplyMap, was coming from the red circled Anatomical Main Group 'ANTIPARASITIC PRODUCTS, INSECTICIDES AND REPELLENTS', see below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-03-27 at 17.50.35.png" class="image-5 jive-image" src="/legacyfs/online/119506_Screen Shot 2016-03-27 at 17.50.35.png" style="height: 246px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The above shows the blank in the full model.&amp;nbsp; So what this means is that the association done is not working as it should be.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 16:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Association/m-p/1075126#M928613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-27T16:21:04Z</dc:date>
    </item>
  </channel>
</rss>

