<?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 problem with 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880575#M307292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hve a different result reading the same data, I'm stuck and I need your fresh help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thank's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 13:55:03 GMT</pubDate>
    <dc:creator>ecabanas</dc:creator>
    <dc:date>2015-07-15T13:55:03Z</dc:date>
    <item>
      <title>problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880575#M307292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hve a different result reading the same data, I'm stuck and I need your fresh help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thank's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880575#M307292</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-07-15T13:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880576#M307293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eduard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give us more of an explanation? What data is reading incorrectly? What's the expected output? Not a lot to go on at the minute!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880576#M307293</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-07-15T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880577#M307294</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 open the doc you will see 2 tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a- Units fron transactionId: sum correctly: 9 units&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b- Units from itemid:Sum incorrectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both read the same info and I do not know why the units are different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880577#M307294</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-07-15T14:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880578#M307295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's different because there are multiple distinct values for Unidades which are being summed in table b but not in table a. If you want table&amp;nbsp; b to display the same use&lt;/P&gt;&lt;P&gt;sum(DISTINCT UNIDADES)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880578#M307295</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-07-15T14:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880579#M307296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Piet,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I rechecked and the answer is not correct,please uncheck inventransid selection, just only itemid and the sum still is not correct&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;! Many thank's&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880579#M307296</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-07-15T14:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880580#M307297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(sum(DISTINCT UNIDADES),INVENTTRANSID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880580#M307297</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-07-15T14:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880581#M307298</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;There are multiple values for UNIDADES for each INVENTTRANSID. If you replace UNIDADES with Sum(UNIDADES) in your first table, you'll see your values quadruple - it looks like you have 4 values for every ID, therefore -36 is naturally four times higher than your -9 value when only summing one lot of the values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880581#M307298</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-07-15T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880582#M307299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI aARON,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Inventtransid is an unique field, there is not many units for each inventtransid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880582#M307299</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2015-07-15T14:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem with 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880583#M307300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eduard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not to drag this out, but there are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is taken from the table viewer (i.e. the underlying table your two values are coming from):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ModelProof.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92956_ModelProof.png" style="width: 686px; height: 432px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at your first four lines - they all have the same INVENTRANSID of 00538094-103. This is the same for all your values, there are 4 rows for every 'unique' line, therefore your values are being quadrupled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort that, sort your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-2-tables/m-p/880583#M307300</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-07-15T15:18:29Z</dc:date>
    </item>
  </channel>
</rss>

