<?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 in pivot table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggregation-in-pivot-table/m-p/2013029#M83726</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not tested but you may need to aggr your mesure and use the qualifier nodistinct somewhere in your mesure&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here an example i use in one of my app :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunobertels_0-1670316698543.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95496i22582A440EAF0751/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunobertels_0-1670316698543.png" alt="brunobertels_0-1670316698543.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RED MESURE&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum( Volume)/&lt;/P&gt;
&lt;P&gt;sum(distinct aggr(nodistinct &amp;lt;Famille&amp;gt; sum( Volume) ,$(vDimPeriode1)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GREEN MESURE :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum( Volume)/&lt;/P&gt;
&lt;P&gt;sum(distinct aggr(nodistinct sum( Volume) ,$(vDimPeriode1),Famille))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hop it helps&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 08:52:18 GMT</pubDate>
    <dc:creator>brunobertels</dc:creator>
    <dc:date>2022-12-06T08:52:18Z</dc:date>
    <item>
      <title>Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-in-pivot-table/m-p/2012661#M83706</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;I'm stuck with following:&lt;/P&gt;
&lt;P&gt;The sum of Apr (and other months too) must be 100 % so 3-98 + 1 + 2 + 99 +100 must be 100 %. &lt;/P&gt;
&lt;P&gt;The 31.24 % and 23.18 % is correct, but the total of position group must be 100 % (yellow)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Femke_DPG_0-1670240930658.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95405i930CAFC1ED9ED17A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Femke_DPG_0-1670240930658.png" alt="Femke_DPG_0-1670240930658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My measure is this:&lt;/P&gt;
&lt;P&gt;If((Dimensionality()) = 2,&lt;BR /&gt;&lt;BR /&gt;sum({$&amp;lt;Preferred={'Voorkeur'},[Surcharges Codes2]={'VKP'}&amp;gt;}[Number of Insertions])/sum(total &amp;lt;Advertiser, Month&amp;gt; [Number of Insertions]),&lt;/P&gt;
&lt;P&gt;sum({$&amp;lt;Preferred={'Voorkeur'},[Surcharges Codes2]={'VKP'}&amp;gt;}[Number of Insertions])/sum(total &amp;lt;Advertiser&amp;gt; [Number of Insertions]))&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Can anyone help me please? &lt;/P&gt;
&lt;P&gt;Thanks a lot!! &lt;/P&gt;
&lt;P&gt;Femke&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 11:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-in-pivot-table/m-p/2012661#M83706</guid>
      <dc:creator>Femke_DPG</dc:creator>
      <dc:date>2022-12-05T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-in-pivot-table/m-p/2013029#M83726</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not tested but you may need to aggr your mesure and use the qualifier nodistinct somewhere in your mesure&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here an example i use in one of my app :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunobertels_0-1670316698543.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95496i22582A440EAF0751/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunobertels_0-1670316698543.png" alt="brunobertels_0-1670316698543.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RED MESURE&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum( Volume)/&lt;/P&gt;
&lt;P&gt;sum(distinct aggr(nodistinct &amp;lt;Famille&amp;gt; sum( Volume) ,$(vDimPeriode1)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GREEN MESURE :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum( Volume)/&lt;/P&gt;
&lt;P&gt;sum(distinct aggr(nodistinct sum( Volume) ,$(vDimPeriode1),Famille))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hop it helps&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 08:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-in-pivot-table/m-p/2013029#M83726</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-12-06T08:52:18Z</dc:date>
    </item>
  </channel>
</rss>

