<?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: problem with aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-aggregation/m-p/1516031#M598377</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You only need to qualifier the&amp;nbsp;TOTAL with&amp;nbsp;AGENCE dimension&lt;/P&gt;&lt;PRE&gt;Sum(&lt;SPAN&gt;ENCOURS_PLACEMENT&lt;/SPAN&gt;)/Sum(TOTAL &amp;lt;AGENCE&amp;gt; &lt;SPAN&gt;ENCOURS_PLACEMENT&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
    <pubDate>Tue, 04 Dec 2018 09:37:25 GMT</pubDate>
    <dc:creator>albert_guito</dc:creator>
    <dc:date>2018-12-04T09:37:25Z</dc:date>
    <item>
      <title>problem with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-aggregation/m-p/1516008#M598376</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have this table:&lt;/P&gt;&lt;P&gt;Agence, SEGMENT, SOUS_SEGMENT as dimensions.&lt;/P&gt;&lt;P&gt;The aim of this, is to got an aggr by agence, to have the measure 'poids'=100% for every agence,&lt;/P&gt;&lt;P&gt;or when I don't use filters like the first picture, I got wrong % ,&lt;/P&gt;&lt;P&gt;or when I select one agence, like the second picture, I got the right numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question: what to change to get the numbers like the second picture for every agence.&lt;/P&gt;&lt;P&gt;I used:&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(ENCOURS_PLACEMENT_HIST) for encours_placement_hist&lt;/P&gt;&lt;P&gt;aggr(sum(ENCOURS_PLACEMENT),AGENCE,SEGMENT,SOUS_SEGMENT)&lt;BR /&gt;/&lt;BR /&gt;aggr(sum(total ENCOURS_PLACEMENT),AGENCE,SEGMENT,SOUS_SEGMENT)&amp;nbsp; &amp;nbsp;for 'poids'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I need to correct the poids column and for each agence, I got 100% as total&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 624px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1541i4E8192292EBB6366/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 628px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1540iE4F9848D6B083499/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-aggregation/m-p/1516008#M598376</guid>
      <dc:creator>aminehaddar</dc:creator>
      <dc:date>2024-11-16T05:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-aggregation/m-p/1516031#M598377</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You only need to qualifier the&amp;nbsp;TOTAL with&amp;nbsp;AGENCE dimension&lt;/P&gt;&lt;PRE&gt;Sum(&lt;SPAN&gt;ENCOURS_PLACEMENT&lt;/SPAN&gt;)/Sum(TOTAL &amp;lt;AGENCE&amp;gt; &lt;SPAN&gt;ENCOURS_PLACEMENT&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Dec 2018 09:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-aggregation/m-p/1516031#M598377</guid>
      <dc:creator>albert_guito</dc:creator>
      <dc:date>2018-12-04T09:37:25Z</dc:date>
    </item>
  </channel>
</rss>

