<?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 Quintil em tabela in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Quintil-em-tabela/m-p/1611637#M57449</link>
    <description>&lt;P&gt;Bom dia,&lt;/P&gt;&lt;P&gt;Tenho uma tabela de beneficiários com as colunas de &lt;STRONG&gt;Nome do Beneficiario&lt;/STRONG&gt; &lt;FONT color="#0000FF"&gt;&lt;EM&gt;nm_beneficiario&lt;/EM&gt;&lt;/FONT&gt;,&amp;nbsp; &lt;STRONG&gt;Valor Gasto&lt;/STRONG&gt; &lt;FONT color="#0000FF"&gt;&lt;EM&gt;sum(vl_gasto)&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp; e o &lt;STRONG&gt;% do Valor Gasto por Ele do Total&lt;/STRONG&gt; &lt;FONT color="#0000FF"&gt;&lt;EM&gt;sum(vl_gasto)/sum(total vl_gasto)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Eu precisaria criar uma nova coluna com o Quintil de cada beneficiário:&lt;/P&gt;&lt;P&gt;O&lt;STRONG&gt; Primeiro Quintil&lt;/STRONG&gt; seria os beneficiários que somam até &lt;STRONG&gt;20% do total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;O &lt;STRONG&gt;Segundo Quintil&lt;/STRONG&gt; seria os beneficiários que somam de &lt;STRONG&gt;20% até 40% do total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;O &lt;STRONG&gt;Terceiro Quintil&lt;/STRONG&gt; seria os beneficiários que somam de &lt;STRONG&gt;40% até 60% do total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;....e assim por diante até fechar os 100%&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tentei umas fórmulas com a função fractile, mas não tive sucesso.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Segue exemplo:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1212.jpg" style="width: 794px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16882iC186E869631F71B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1212.jpg" alt="1212.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 14:24:24 GMT</pubDate>
    <dc:creator>pablogadotti</dc:creator>
    <dc:date>2019-08-12T14:24:24Z</dc:date>
    <item>
      <title>Quintil em tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Quintil-em-tabela/m-p/1611637#M57449</link>
      <description>&lt;P&gt;Bom dia,&lt;/P&gt;&lt;P&gt;Tenho uma tabela de beneficiários com as colunas de &lt;STRONG&gt;Nome do Beneficiario&lt;/STRONG&gt; &lt;FONT color="#0000FF"&gt;&lt;EM&gt;nm_beneficiario&lt;/EM&gt;&lt;/FONT&gt;,&amp;nbsp; &lt;STRONG&gt;Valor Gasto&lt;/STRONG&gt; &lt;FONT color="#0000FF"&gt;&lt;EM&gt;sum(vl_gasto)&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp; e o &lt;STRONG&gt;% do Valor Gasto por Ele do Total&lt;/STRONG&gt; &lt;FONT color="#0000FF"&gt;&lt;EM&gt;sum(vl_gasto)/sum(total vl_gasto)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Eu precisaria criar uma nova coluna com o Quintil de cada beneficiário:&lt;/P&gt;&lt;P&gt;O&lt;STRONG&gt; Primeiro Quintil&lt;/STRONG&gt; seria os beneficiários que somam até &lt;STRONG&gt;20% do total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;O &lt;STRONG&gt;Segundo Quintil&lt;/STRONG&gt; seria os beneficiários que somam de &lt;STRONG&gt;20% até 40% do total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;O &lt;STRONG&gt;Terceiro Quintil&lt;/STRONG&gt; seria os beneficiários que somam de &lt;STRONG&gt;40% até 60% do total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;....e assim por diante até fechar os 100%&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tentei umas fórmulas com a função fractile, mas não tive sucesso.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Segue exemplo:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1212.jpg" style="width: 794px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16882iC186E869631F71B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1212.jpg" alt="1212.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Quintil-em-tabela/m-p/1611637#M57449</guid>
      <dc:creator>pablogadotti</dc:creator>
      <dc:date>2019-08-12T14:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Quintil em tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Quintil-em-tabela/m-p/1611739#M57451</link>
      <description>&lt;P&gt;Boa tarde amigo,&lt;/P&gt;&lt;P&gt;Talvez um curva abc possa resolve seu problema.&lt;/P&gt;&lt;P&gt;de uma olha nesse post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 18:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Quintil-em-tabela/m-p/1611739#M57451</guid>
      <dc:creator>RafaMartins</dc:creator>
      <dc:date>2019-08-12T18:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Quintil em tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Quintil-em-tabela/m-p/1613378#M57487</link>
      <description>&lt;P&gt;Deu certo, amigo.&lt;/P&gt;&lt;P&gt;Obrigado!!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 17:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Quintil-em-tabela/m-p/1613378#M57487</guid>
      <dc:creator>pablogadotti</dc:creator>
      <dc:date>2019-08-16T17:54:56Z</dc:date>
    </item>
  </channel>
</rss>

