<?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: Text Object Total Does not Match from Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615842#M1114621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=money(sum(aggr(sum({&amp;lt;Aspect={'Open PO'}&amp;gt;}distinct [Total Value]),[Base Material],MFR,MPN,[Due Date],[STD Price],[PO Value],Qty)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Feb 2014 15:23:00 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2014-02-21T15:23:00Z</dc:date>
    <item>
      <title>Text Object Total Does not Match from Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615840#M1114619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone figure out why my total in Text object does not match with my straight table( this is&amp;nbsp; the correct total 105.8M) ?... I used a set analysis as I'm going to concatenate this with my final qvw...I don't have any issues the total value in my other Aspect item except for this&amp;nbsp; 'Open PO'...I was thinking of the total mode selections like in staright table but can't find this in text object..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I have attached the file for better understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. enlighten me on this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 00:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615840#M1114619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T00:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object Total Does not Match from Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615841#M1114620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi cacosta35,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Because there are multiple Due Dates for each base/mfr/mpn and you are summing distinct values, you will need to use the aggr() function to get the correct total.&amp;nbsp; Try the following expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =money(sum(aggr(sum(DISTINCT{&amp;lt;Aspect={'Open PO'}&amp;gt;}[Total Value]),[Due Date])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 02:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615841#M1114620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T02:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object Total Does not Match from Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615842#M1114621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=money(sum(aggr(sum({&amp;lt;Aspect={'Open PO'}&amp;gt;}distinct [Total Value]),[Base Material],MFR,MPN,[Due Date],[STD Price],[PO Value],Qty)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 15:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615842#M1114621</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-21T15:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object Total Does not Match from Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615843#M1114622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The results are different because the expressions are different.&amp;nbsp; There is "distinct" in the table but not in the text box.&lt;/P&gt;&lt;P&gt;I didn't check the logic, but sum(&lt;STRONG&gt;distinct&lt;/STRONG&gt; ...) is a dangerous thing.&amp;nbsp; Make sure that you really need it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 15:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615843#M1114622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object Total Does not Match from Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615844#M1114623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Nicole...I got it it right...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 19:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615844#M1114623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T19:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object Total Does not Match from Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615845#M1114624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sean...Actually, there's one field (MFR or MPN ) that is missing to get the correct value.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 19:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-Total-Does-not-Match-from-Straight-Table/m-p/615845#M1114624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T19:10:10Z</dc:date>
    </item>
  </channel>
</rss>

