<?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: Expressão com AGGR (ajuda) in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29984#M1567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Não entendi, se voce nao tem o total de pessoas, como vai calcular a media? Quais campos voce tem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 18:40:24 GMT</pubDate>
    <dc:creator>eduardo_dimperio</dc:creator>
    <dc:date>2018-05-23T18:40:24Z</dc:date>
    <item>
      <title>Expressão com AGGR (ajuda)</title>
      <link>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29983#M1566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pessoal, &lt;/P&gt;&lt;P&gt;Preciso calcular a média da quantidade de pessoas por dia, acontece que eu não tenho uma coluna com o total de pessoas, então criei no script&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;o campo '1' as NUMPAX. (Ou seja, para cada linha da minha tabela, considerei como sendo 1 pessoa)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Pesquisando vi que a forma correta de tirar essa média seria agrupando por dia então usei a expressão: &lt;/P&gt;&lt;P&gt;AVG(Aggr(SUM(NUMPAX), dia)), &lt;SPAN style="font-size: 10pt;"&gt;em alguns filtros o valor dessa média até bate mas na maioria dos casos não. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;alguma dica de como posso resolver isso. &lt;/P&gt;&lt;P&gt;quando faço o AVG convencional ta 1 obviamente &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 17:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29983#M1566</guid>
      <dc:creator>sandrinejesus</dc:creator>
      <dc:date>2018-02-28T17:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expressão com AGGR (ajuda)</title>
      <link>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29984#M1567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Não entendi, se voce nao tem o total de pessoas, como vai calcular a media? Quais campos voce tem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 18:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29984#M1567</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-05-23T18:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expressão com AGGR (ajuda)</title>
      <link>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29985#M1568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Não entendi como está sua ETL? manda imagem das tabelas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 19:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29985#M1568</guid>
      <dc:creator>giovanneb</dc:creator>
      <dc:date>2018-05-23T19:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expressão com AGGR (ajuda)</title>
      <link>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29986#M1569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandrine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;se fizer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(NUMPAX) / count(distinct dia) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; deve te atender na questão da media.&amp;nbsp; Creio que seja melhor do que o avg com aggr.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Não que o avg nao lhe atenda, mas tem um aggr e dependendo da dimensão pode nao dar o resultado esperado........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Mas esta faltando mais informações para te ajudar melhor. Dependendo da modelagem, até o sum(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NUMPAX&lt;/SPAN&gt;) pode dar errado.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 21:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29986#M1569</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2018-05-23T21:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expressão com AGGR (ajuda)</title>
      <link>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29987#M1570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muito obrigada, deu certo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Express%C3%A3o-com-AGGR-ajuda/m-p/29987#M1570</guid>
      <dc:creator>sandrinejesus</dc:creator>
      <dc:date>2018-05-24T16:55:01Z</dc:date>
    </item>
  </channel>
</rss>

