<?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 Link Table Multiplication in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-Table-Multiplication/m-p/379269#M702743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have 2 tables connected by a link table.&amp;nbsp; This link table conencts many tables together in the data model.&amp;nbsp; The problem is that if I multiply a single key in one table by a single keyed value in another table, my result is then further multiplied by the number of total keys of that combination in the link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please open my app and take a look at what I mean (heavily simplified for example sake).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to achieve an answer of 16 (2x8) but because there is a third key in the link table that duplicates the other two keys, I end up with an incorrect answer of 32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used link tables for a long time and never realized this until now.&amp;nbsp; What am I doing wrong???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2012 23:36:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-20T23:36:02Z</dc:date>
    <item>
      <title>Link Table Multiplication</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-Multiplication/m-p/379269#M702743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have 2 tables connected by a link table.&amp;nbsp; This link table conencts many tables together in the data model.&amp;nbsp; The problem is that if I multiply a single key in one table by a single keyed value in another table, my result is then further multiplied by the number of total keys of that combination in the link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please open my app and take a look at what I mean (heavily simplified for example sake).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to achieve an answer of 16 (2x8) but because there is a third key in the link table that duplicates the other two keys, I end up with an incorrect answer of 32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used link tables for a long time and never realized this until now.&amp;nbsp; What am I doing wrong???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 23:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-Multiplication/m-p/379269#M702743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-20T23:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table Multiplication</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-Multiplication/m-p/379270#M702744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am finding that using the word DISTINCT solves this issue.&amp;nbsp; Not sure if there is data model solution for this kind of issue.&amp;nbsp; I know distinct is expensive expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 00:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-Multiplication/m-p/379270#M702744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-21T00:20:19Z</dc:date>
    </item>
  </channel>
</rss>

