<?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: Aggregation problem in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggregation-problem/m-p/1916996#M75457</link>
    <description>&lt;P&gt;You're my hero it's works perfectly thanks for the help&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 16:09:18 GMT</pubDate>
    <dc:creator>squalitooo</dc:creator>
    <dc:date>2022-04-11T16:09:18Z</dc:date>
    <item>
      <title>Aggregation problem</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-problem/m-p/1916982#M75455</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a problem with the sum of 2 differents datas on the same item&lt;/P&gt;
&lt;P&gt;My exemple:&lt;/P&gt;
&lt;P&gt;ITEM | UNIT | FORMULA&lt;/P&gt;
&lt;P&gt;ITEM_1 | KG | 25914&lt;/P&gt;
&lt;P&gt;ITEM_1| UP| 418065&lt;/P&gt;
&lt;P&gt;why when i try to sum this on ITEM with this formula :&lt;/P&gt;
&lt;P&gt;If (Unite_Stock_Suivi_Fabrication='KG',Sum( Quantite_Suivi_Fabrication), Sum( Quantite_Suivi_Fabrication)*Poids_Article)&lt;/P&gt;
&lt;P&gt;the result is 806775&lt;/P&gt;
&lt;P&gt;the correct result would be : 418065 + 25914 = 443979&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;anyone can help me plz?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 15:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-problem/m-p/1916982#M75455</guid>
      <dc:creator>squalitooo</dc:creator>
      <dc:date>2022-04-11T15:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation problem</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-problem/m-p/1916995#M75456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If there is more than one unit per Article (i.e. when your pivot table is collapsed) then the If condition does not behave like you seem to expect.&lt;BR /&gt;I guess you are looking for something like this instead:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum(If(Unite_Stock_Suivi_Fabrication='KG', Quantite_Suivi_Fabrication, Quantite_Suivi_Fabrication*Poids_Article))&lt;/LI-CODE&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 16:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-problem/m-p/1916995#M75456</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-04-11T16:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation problem</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-problem/m-p/1916996#M75457</link>
      <description>&lt;P&gt;You're my hero it's works perfectly thanks for the help&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 16:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-problem/m-p/1916996#M75457</guid>
      <dc:creator>squalitooo</dc:creator>
      <dc:date>2022-04-11T16:09:18Z</dc:date>
    </item>
  </channel>
</rss>

