<?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: Ajuda KPI in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55095#M2813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Pablo! Tudo blz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfeito... Só que ficou a dúvida: o porquê desta forma seria o correto e não da outra? (Eu, particularmente, só emprego a primeira mesmo, normalmente somente uso o Aggr do lado mais externo - antes do Count, mas agora não sei se por elegância, boas práticas, performance... Fiquei curioso pois o resultado apresentado também está igual ao 8 esperado.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grande abraço!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 10:18:38 GMT</pubDate>
    <dc:creator>luciano_garcia</dc:creator>
    <dc:date>2018-02-06T10:18:38Z</dc:date>
    <item>
      <title>Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55091#M2809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde pessoal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tenho uma pergunta simples, mas to sem idéia....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tenho o seguinte Cenário:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;NRO_OS&lt;/TD&gt;&lt;TD width="128"&gt;DTA_Encerramento&lt;/TD&gt;&lt;TD width="64"&gt;CHASSI&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;01/02/2018&lt;/TD&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;01/02/2018&lt;/TD&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;03/02/2018&lt;/TD&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;04/02/2018&lt;/TD&gt;&lt;TD&gt;BBB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;05/02/2018&lt;/TD&gt;&lt;TD&gt;CCC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;06/02/2018&lt;/TD&gt;&lt;TD&gt;DDD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;07/02/2018&lt;/TD&gt;&lt;TD&gt;EEE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;07/02/2018&lt;/TD&gt;&lt;TD&gt;EEE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;09/02/2018&lt;/TD&gt;&lt;TD&gt;GGG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;10/02/2018&lt;/TD&gt;&lt;TD&gt;HHH&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quero montar um KPI que conte quantas OSs teve, porém se o chassi for o mesmo e tiver a mesma Data de Encerramento, contar uma vez SÓ!&lt;/P&gt;&lt;P&gt;No Exemplo acima: tenho 10 OSs registradas, porém é pra contar somente 8 vezes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valeu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 18:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55091#M2809</guid>
      <dc:creator>marcelvinicius</dc:creator>
      <dc:date>2018-02-05T18:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55092#M2810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count(Aggr(Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NRO_OS&lt;/SPAN&gt;), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CHASSI&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DTA_Encerramento&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 20:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55092#M2810</guid>
      <dc:creator>pericles_silva</dc:creator>
      <dc:date>2018-02-05T20:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55093#M2811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Outra maneira seria:&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: maroon;"&gt;CHASSI&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;DTA_Encerramento&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; mso-layout-grid-align: none; text-autospace: none;"&gt;Ou ainda:&lt;/P&gt;&lt;P class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: maroon;"&gt;CHASSI&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;DTA_Encerramento&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 04:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55093#M2811</guid>
      <dc:creator>luciano_garcia</dc:creator>
      <dc:date>2018-02-06T04:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55094#M2812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neste caso o correto seria a primeira opção &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;CHASSI&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DTA_Encerramento&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 09:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55094#M2812</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-02-06T09:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55095#M2813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Pablo! Tudo blz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfeito... Só que ficou a dúvida: o porquê desta forma seria o correto e não da outra? (Eu, particularmente, só emprego a primeira mesmo, normalmente somente uso o Aggr do lado mais externo - antes do Count, mas agora não sei se por elegância, boas práticas, performance... Fiquei curioso pois o resultado apresentado também está igual ao 8 esperado.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grande abraço!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55095#M2813</guid>
      <dc:creator>luciano_garcia</dc:creator>
      <dc:date>2018-02-06T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55096#M2814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oi Luciano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; O AGGR neste caso é desnecessário e somente causaria uma sobrecarga de processamento.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Um bom exemplo de uso do AGGR seria por exemplo obter o menor preço médio dentro de uma dimensão de produtos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;MIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Arial, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;AGGR&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Arial, sans-serif; font-size: 12px;"&gt;SUM(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12px; font-family: Arial, sans-serif;"&gt;Venda) / &lt;SPAN style="color: #0000ff; font-family: Arial, sans-serif; font-size: 12px;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12px; font-family: Arial, sans-serif;"&gt;Qtde), Produto&lt;SPAN style="font-size: 13.3333px;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; Calcula-se o preço médio dentro do AGGR dividindo a Venda pela Quantidade e passamos como parametro a dimensão Produto. Como função de agregação externa usamos "MIN" que recupera o menor valor dentre os valores da tabela virtual gerada pelo AGGR .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55096#M2814</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-02-06T10:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55097#M2815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia amigo Pablo e demais amigos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deu certo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Também obrigado pela aula do uso do AGGR que me auxiliou bastante já.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atenciosamente, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 11:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55097#M2815</guid>
      <dc:creator>marcelvinicius</dc:creator>
      <dc:date>2018-02-06T11:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ajuda KPI</title>
      <link>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55098#M2816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Realmente me precipitei em usar AGGR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desculpe, o que vale é a intenção &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abçs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 02:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Ajuda-KPI/m-p/55098#M2816</guid>
      <dc:creator>pericles_silva</dc:creator>
      <dc:date>2018-02-08T02:47:27Z</dc:date>
    </item>
  </channel>
</rss>

