<?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: AGGR() on Only () in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-on-Only/m-p/1214814#M460990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AH HELL NO...&lt;/P&gt;&lt;P&gt;I just added a sum in front to get what I wanted ... never mind...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2017 23:16:23 GMT</pubDate>
    <dc:creator>sibrulotte</dc:creator>
    <dc:date>2017-03-01T23:16:23Z</dc:date>
    <item>
      <title>AGGR() on Only ()</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-on-Only/m-p/1214813#M460989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have this set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr((only({&amp;lt; Année = {'2016','2017'}, [Statut de la commande] -={'4'}&amp;gt;}[Quantité requise]) - only({&amp;lt; Année = {'2016','2017'}, [Statut de la commande] -={'4'}&amp;gt;}[Quantité reçue])) *&lt;/P&gt;&lt;P&gt;only({&amp;lt; Année = {'2016','2017'}, [Statut de la commande] -={'4'}&amp;gt;}[Prix unitaire réception]), Nom, [Description du bon de commande], ld)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically:&lt;/P&gt;&lt;P&gt;For a Supplier (Nom), that has an order (Description du bon de commande), there are items (ld).&lt;/P&gt;&lt;P&gt;For each item I want to substract what I have received to what I ordered, and multiply that by unit price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought AGGR would return the sum for the supplyer. But that only works if there are item per order...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I be doing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to rework the model right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 23:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-on-Only/m-p/1214813#M460989</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2017-03-01T23:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR() on Only ()</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-on-Only/m-p/1214814#M460990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AH HELL NO...&lt;/P&gt;&lt;P&gt;I just added a sum in front to get what I wanted ... never mind...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 23:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-on-Only/m-p/1214814#M460990</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2017-03-01T23:16:23Z</dc:date>
    </item>
  </channel>
</rss>

