<?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: nested aggregation not allowed in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/nested-aggregation-not-allowed/m-p/1908405#M60360</link>
    <description>&lt;P&gt;Boa tarde&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/170939"&gt;@Peleu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Teste assim:&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;SPAN&gt;Dentro da Margem =&amp;gt; Sum(Aggr(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT&gt;if((Avg([Margem_%])/Avg(prun_mar/100))&amp;gt;=1,1,0),&lt;STRONG&gt;DIMENSAO_AGREGACAO&lt;/STRONG&gt;))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Onde&amp;nbsp;&lt;STRONG&gt;DIMENSAO_AGREGACAO &lt;/STRONG&gt;deve ser substituída pelo campo que você tem como agregador.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Abs e Sucesso!!&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 21:13:36 GMT</pubDate>
    <dc:creator>Thiago_Justen_</dc:creator>
    <dc:date>2022-03-22T21:13:36Z</dc:date>
    <item>
      <title>nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/Brasil/nested-aggregation-not-allowed/m-p/1908380#M60358</link>
      <description>&lt;P&gt;&lt;FONT&gt;Boa tarde!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Eu fiz uma tabela que contém em uma das colunas a seguinte expressão:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT&gt;if((Avg([Margem_%])/Avg(prun_mar/100))&amp;gt;=1,'Dentro da Margem','Fora da Margem'), a qual me retorna se um determinado produto está dentro ou fora da meta de margem.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;A minha dúvida é se alguém sabe como fazer dois KPIs que contabilizem quantos dos produtos estão classificados como "Dentro da Margem", e quantos estão como "Fora da Margem".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Fiz algumas tentativas aqui, mas sempre dá o erro do "nested aggregation not allowed"&lt;/FONT&gt;&lt;FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Desde já, muito obrigado a quem conseguir me ajudar!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 20:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/nested-aggregation-not-allowed/m-p/1908380#M60358</guid>
      <dc:creator>Peleu</dc:creator>
      <dc:date>2022-03-22T20:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: nested aggregation not allowed</title>
      <link>https://community.qlik.com/t5/Brasil/nested-aggregation-not-allowed/m-p/1908405#M60360</link>
      <description>&lt;P&gt;Boa tarde&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/170939"&gt;@Peleu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Teste assim:&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;SPAN&gt;Dentro da Margem =&amp;gt; Sum(Aggr(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT&gt;if((Avg([Margem_%])/Avg(prun_mar/100))&amp;gt;=1,1,0),&lt;STRONG&gt;DIMENSAO_AGREGACAO&lt;/STRONG&gt;))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Onde&amp;nbsp;&lt;STRONG&gt;DIMENSAO_AGREGACAO &lt;/STRONG&gt;deve ser substituída pelo campo que você tem como agregador.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Abs e Sucesso!!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 21:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/nested-aggregation-not-allowed/m-p/1908405#M60360</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2022-03-22T21:13:36Z</dc:date>
    </item>
  </channel>
</rss>

