<?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?, aggr? Both? Don't Know in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263397#M586110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, hope somebody can lead me. I want to create a Straight Table with a dimension (Item) and several Expressions (Quantity, Sales, Rappel). The Data are like as follows:&lt;/P&gt;&lt;P&gt;﻿&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5717_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the straight table&amp;nbsp; should be like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5718_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;The problem comes with the Expression Rappel. The values of Rappel come from another table and refer only to the Customer, not to the Item. So If the customers have the following Rappel:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5720_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final Table should be:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5721_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jul 2011 08:49:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-07T08:49:40Z</dc:date>
    <item>
      <title>Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263397#M586110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, hope somebody can lead me. I want to create a Straight Table with a dimension (Item) and several Expressions (Quantity, Sales, Rappel). The Data are like as follows:&lt;/P&gt;&lt;P&gt;﻿&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5717_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the straight table&amp;nbsp; should be like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5718_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;The problem comes with the Expression Rappel. The values of Rappel come from another table and refer only to the Customer, not to the Item. So If the customers have the following Rappel:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5720_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final Table should be:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/5721_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 08:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263397#M586110</guid>
      <dc:creator />
      <dc:date>2011-07-07T08:49:40Z</dc:date>
    </item>
    <item>
      <title>Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263398#M586111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Pedro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have a problem by join your tables. QlikView can not know, which Rappel belongs to which Item. Do you have an example for us?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 09:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263398#M586111</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-07T09:00:15Z</dc:date>
    </item>
    <item>
      <title>Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263399#M586112</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;&amp;nbsp;&amp;nbsp; Can you please upload the qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 09:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263399#M586112</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-07T09:01:25Z</dc:date>
    </item>
    <item>
      <title>Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263400#M586113</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;It all depends on the criteria to get the right results on the Rappel. How these amounts should be splitted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 09:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263400#M586113</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-07T09:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263401#M586114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you are. Thanks for interest!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 10:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263401#M586114</guid>
      <dc:creator />
      <dc:date>2011-07-07T10:55:34Z</dc:date>
    </item>
    <item>
      <title>Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263402#M586115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Pedro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you tables has no connection. You have to join them by IDs, minimum Unqualify CalendarDate;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 11:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263402#M586115</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-07T11:00:42Z</dc:date>
    </item>
    <item>
      <title>Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263403#M586116</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;&amp;nbsp;&amp;nbsp; I would say there should be some linking in the tables you have used in application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So decide the field which is common in both the tables and link the tables using that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; By linking you will easily get the Ripple with respect to Item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 11:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263403#M586116</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-07T11:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum?, aggr? Both? Don't Know</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263404#M586117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thank you all for your help. First I must apologize but I couldn't connect these days. Finally I've found a way to achieve what I wanted. I didn't have to connect the tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;//Customer A has its rappels in the Account Nº 7090002&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; (Sum(&amp;nbsp; {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'} , &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CodigoCliente&lt;/SPAN&gt;={&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CustomerA&lt;/SPAN&gt;} &amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.Qty) / Sum( total {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'},&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CodigoCliente&lt;/SPAN&gt;={&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CustomerA&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.Qty))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Sum(total {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'} , &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;OutGestionTotal&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;NCuenta&lt;/SPAN&gt;={7090002} &amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;OutGestionTotal&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;ImporteCompra&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;//Customer B has its rappels in the Account Nº 7090003&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; (Sum(&amp;nbsp; {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'} , &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CodigoCliente&lt;/SPAN&gt;={&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CustomerB&lt;/SPAN&gt;} &amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.Qty) / Sum( total {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'},&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CodigoCliente&lt;/SPAN&gt;={&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CustomerB&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.Qty))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Sum(total {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'} , &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;OutGestionTotal&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;NCuenta&lt;/SPAN&gt;={7090003} &amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;OutGestionTotal&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;ImporteCompra&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;//Customer C has its rappels in the Account Nº 7090004&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; (Sum(&amp;nbsp; {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'} , &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CodigoCliente&lt;/SPAN&gt;={&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CustomerC&lt;/SPAN&gt;} &amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.Qty) / Sum( total {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'},&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CodigoCliente&lt;/SPAN&gt;={&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CustomerC&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;Gestion&lt;/SPAN&gt;.Qty))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Sum(total {&amp;lt;&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;CalendarDate&lt;/SPAN&gt;={'&amp;lt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFFG&lt;/SPAN&gt;)) &amp;gt;=$(=Date(&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;vFIG&lt;/SPAN&gt;))'} , &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;OutGestionTotal&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;NCuenta&lt;/SPAN&gt;={7090004} &amp;gt;} &lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;OutGestionTotal&lt;/SPAN&gt;.&lt;SPAN style="background-color: initial; cursor: default; border-bottom-width: 1px; border-bottom-color: red; border-bottom-style: dashed; background-position: repeat no-repeat;"&gt;ImporteCompra&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt; The problem of joining tables is that one of these tables has the lines of the delivery notes and the movement of the items and the other has the accounts amounts. In the account tables, the amount of rappels are registered at the end of the month for the total amount of the month, so I would have to get first the proportional part to every line of the delivery. Besides there were only some specific customers with this problem.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 07:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-aggr-Both-Don-t-Know/m-p/263404#M586117</guid>
      <dc:creator />
      <dc:date>2011-07-14T07:52:28Z</dc:date>
    </item>
  </channel>
</rss>

