<?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 Re: INNER JOIN in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446039#M433344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are describing seems like the correct behavior in this case. As stated in Michele's post above, you triplicate the record when you inner join the N:1 table to the source table. If you don't want this behavior, don't join the tables - QlikView doesn't need the join. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Nov 2017 15:05:18 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2017-11-09T15:05:18Z</dc:date>
    <item>
      <title>INNER JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446037#M433342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with the output of my data. I have 3 tables and conntected them with an INNER JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But somehow when I &lt;/P&gt;&lt;P&gt;sum(price)&lt;/P&gt;&lt;P&gt;count(serial_no)&lt;/P&gt;&lt;P&gt;QV returns me 117.000 and 150&lt;/P&gt;&lt;P&gt;I was actually expecting 39.000 and 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the QV multiplies the value with 3 cos I have an INNER JOIN between the tables contract/history and contract/assets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is it somehow possible to have a JOIN FUNCTION where&lt;/P&gt;&lt;P&gt;sum(price) = 39.000&lt;/P&gt;&lt;P&gt;count(serial_no) = 50&lt;/P&gt;&lt;P&gt;without multiplying it with 3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached my qv file and my tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help me out here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 14:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446037#M433342</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2017-11-09T14:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: INNER JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446038#M433343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because when you join "history" tab with the other tables the record triplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to have only one final table you have three options:&lt;/P&gt;&lt;P&gt;1) change your keys between "history" and "assets".&lt;/P&gt;&lt;P&gt;2) take only one record for each "contract_no".&lt;/P&gt;&lt;P&gt;3) do your inner joins but on your charts use sum(price)/3 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count(serial_no)/3 &lt;/SPAN&gt;as expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 15:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446038#M433343</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2017-11-09T15:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: INNER JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446039#M433344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are describing seems like the correct behavior in this case. As stated in Michele's post above, you triplicate the record when you inner join the N:1 table to the source table. If you don't want this behavior, don't join the tables - QlikView doesn't need the join. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 15:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446039#M433344</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-09T15:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: INNER JOIN</title>
      <link>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446040#M433345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just removed the JOINS. Now it perfectly works. Thanks very much !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 15:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INNER-JOIN/m-p/1446040#M433345</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2017-11-09T15:22:44Z</dc:date>
    </item>
  </channel>
</rss>

