<?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 sum problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233279#M84816</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;Can you post your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Oct 2010 20:55:10 GMT</pubDate>
    <dc:creator>mantaq10</dc:creator>
    <dc:date>2010-10-10T20:55:10Z</dc:date>
    <item>
      <title>sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233276#M84813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;BR /&gt;i have to count how many records in table A are in table B (for each year).&lt;/P&gt;&lt;P&gt;i have creted a resident table whith this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;table_a:&lt;/P&gt;&lt;P&gt;load TMP_KEY AS MATCH_KEY,&lt;BR /&gt; BARCODE_MATCH_OR AS MATCH_BARCODE_OR,&lt;BR /&gt; BARCODE_MATCH_AR AS MATCH_BARCODE_AR,&lt;BR /&gt; ANNO,&lt;BR /&gt; IF(BARCODE_MATCH_OR=BARCODE_MATCH_AR,NUM(1),NUM(0)) AS MATCH_CONTA&lt;BR /&gt; RESIDENT&lt;BR /&gt; MATCHATI_TMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TMP_KEY BARCODE_MATCH_AR BARCODE_MATCH_OR ANNO MATCH_CONTA&lt;BR /&gt;431525 431525 431525 2010 1&lt;BR /&gt;431867 431867 431867 2010 1&lt;BR /&gt;431915 431915 431915 2010 1&lt;BR /&gt;434535 434535 2010 0&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;the table_a contain 19663 records.&lt;/P&gt;&lt;P&gt;whith a pivot table i could sum the "match_conta" value .&lt;BR /&gt;I use the dimension ANNO but the result is wrong.&lt;/P&gt;&lt;P&gt;I don't understand why the sum(match_conta) return 106506&lt;/P&gt;&lt;P&gt;Someone can help me.&lt;/P&gt;&lt;P&gt;Many Thanks&lt;BR /&gt;Riccardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Oct 2010 17:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233276#M84813</guid>
      <dc:creator />
      <dc:date>2010-10-10T17:36:57Z</dc:date>
    </item>
    <item>
      <title>sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233277#M84814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Riccardo,&lt;/P&gt;&lt;P&gt;To match the 2 tables are you doing a join? If so, I would make sure that the join is not wrongly duplicating the rows.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Oct 2010 18:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233277#M84814</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-10T18:35:33Z</dc:date>
    </item>
    <item>
      <title>sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233278#M84815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl,&lt;/P&gt;&lt;P&gt;yes i have done a join for optimize&lt;/P&gt;&lt;P&gt;but ... If i display all fields for the target table with an ordinary table the system show me 19663 records, 11616 of these have the&lt;/P&gt;&lt;P&gt;fields "match_conta" = 1 .&lt;/P&gt;&lt;P&gt;So i suppose to have a value like 11616 for year ...&lt;/P&gt;&lt;P&gt;I'm not so expertize .. so i probably doing a mistake...&lt;/P&gt;&lt;P&gt;Many thank's Riccardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Oct 2010 19:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233278#M84815</guid>
      <dc:creator />
      <dc:date>2010-10-10T19:53:52Z</dc:date>
    </item>
    <item>
      <title>sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233279#M84816</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;Can you post your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Oct 2010 20:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233279#M84816</guid>
      <dc:creator>mantaq10</dc:creator>
      <dc:date>2010-10-10T20:55:10Z</dc:date>
    </item>
    <item>
      <title>sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233280#M84817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;yes of course .. and many thank's ..&lt;/P&gt;&lt;P&gt;Riccardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 08:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233280#M84817</guid>
      <dc:creator />
      <dc:date>2010-10-11T08:55:11Z</dc:date>
    </item>
    <item>
      <title>sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233281#M84818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;i have found the mistake!!!&lt;/P&gt;&lt;P&gt;i counted the null value .. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sorry !! and thank's for helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 10:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-problem/m-p/233281#M84818</guid>
      <dc:creator />
      <dc:date>2010-10-11T10:01:50Z</dc:date>
    </item>
  </channel>
</rss>

