<?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: Acumular Coluna calculo curva ABC in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151554#M40422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Opa Rodrigo obrigado pela ajuda, &lt;/P&gt;&lt;P&gt;mas dessa maneira a coluna retornou 100% para todas as linhas.&lt;IMG alt="100%.png" class="jive-image image-1" src="/legacyfs/online/134103_100%.png" style="height: 452px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2016 17:25:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-09T17:25:16Z</dc:date>
    <item>
      <title>Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151550#M40418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá a todos, &lt;BR /&gt;Venho quebrando a cabeça para acumular uma coluna e calcular a curva ABC da quantidade vendida dos produtos por Seção em um gráfico de tabela simples. &lt;/P&gt;&lt;P&gt;Coluna cd_prod (código do produto),&lt;/P&gt;&lt;P&gt;Seção(Seção do Produto),&lt;/P&gt;&lt;P&gt;Pedidos(Count(DISTINCT pedido)),&lt;/P&gt;&lt;P&gt;Total_pedidos_seção(Count(Total &amp;lt;Secao&amp;gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;)),&lt;/P&gt;&lt;P&gt;Porcentagem(Count(DISTINCT &lt;SPAN style="font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;) / Count(Total &amp;lt;Secao&amp;gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;Acumulado(RANGESUM(ABOVE(&lt;SPAN style="font-size: 13.3333px;"&gt;Count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) / Count(Total &amp;lt;Secao&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;,1,RowNo()),&lt;SPAN style="font-size: 13.3333px;"&gt;Count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) / Count(Total &amp;lt;Secao&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;) ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eu não sei mais&amp;nbsp; oque fazer para acumular a coluna Porcentagem e criar a curva ABC =/ &lt;/P&gt;&lt;P&gt;A Função RangeSUM pode ser utilizada com Count ? Não encontrei exemplos com Count, só com Sum... &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Desde já agradeço a ajuda de todos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sec.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133970_sec.png" style="height: 438px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 20:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151550#M40418</guid>
      <dc:creator />
      <dc:date>2016-08-08T20:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151551#M40419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;tente desta forma:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rangesum(above(&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Porcentagem(Count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) / Count(Total &amp;lt;Secao&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)),0,rowno()))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 12:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151551#M40419</guid>
      <dc:creator />
      <dc:date>2016-08-09T12:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151552#M40420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Opa Rodrigo obrigado por ajudar!&lt;/P&gt;&lt;P&gt;Tentei dessa forma porém apresenta erro na expressão&amp;nbsp; =/ &lt;IMG alt="pareto.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134040_pareto.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 12:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151552#M40420</guid>
      <dc:creator />
      <dc:date>2016-08-09T12:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151553#M40421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;rangesum(above(&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;Count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;) / Count(Total &amp;lt;Secao&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;)),0,rowno()))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 16:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151553#M40421</guid>
      <dc:creator />
      <dc:date>2016-08-09T16:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151554#M40422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Opa Rodrigo obrigado pela ajuda, &lt;/P&gt;&lt;P&gt;mas dessa maneira a coluna retornou 100% para todas as linhas.&lt;IMG alt="100%.png" class="jive-image image-1" src="/legacyfs/online/134103_100%.png" style="height: 452px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151554#M40422</guid>
      <dc:creator />
      <dc:date>2016-08-09T17:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151555#M40423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;rangesum(above(&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;(Count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;) / Count(Total &amp;lt;Secao&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;pedido&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;,0,rowno()))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 18:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151555#M40423</guid>
      <dc:creator />
      <dc:date>2016-08-09T18:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151556#M40424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nada ainda =/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 19:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151556#M40424</guid>
      <dc:creator />
      <dc:date>2016-08-09T19:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151557#M40425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Poste uma amostra dos seus dados que eu faço pra ti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luana Ribeiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 21:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151557#M40425</guid>
      <dc:creator />
      <dc:date>2016-08-09T21:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151558#M40426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marivan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;se for gráfico tabela simples, tem a opção de acumular....&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-08-09 18_50_16.jpg" class="jive-image image-1" src="/legacyfs/online/134135_2016-08-09 18_50_16.jpg" style="height: 328px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Segue um modelo que acho&amp;nbsp; que de algum outro post com acumular pela opção da imagem e por rangesum()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 21:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151558#M40426</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2016-08-09T21:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151559#M40427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia Luana,&lt;/P&gt;&lt;P&gt;Muito obrigado pela atenção. &lt;/P&gt;&lt;P&gt;Enviei a planilha com os dados e o qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 13:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151559#M40427</guid>
      <dc:creator />
      <dc:date>2016-08-10T13:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151560#M40428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Já fiz isso =/ &lt;BR /&gt;Não funcionou.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 17:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151560#M40428</guid>
      <dc:creator />
      <dc:date>2016-08-10T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Acumular Coluna calculo curva ABC</title>
      <link>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151561#M40429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marivan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; A dificuldade está relacionada a existência de múltiplas dimensões no objeto. Para este tipo de cálculo somente devemos ter 2 dimensões: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- a que determina o agrupamento, neste caso &lt;STRONG&gt;Secao&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; a que determina o detalhe do agrupamento, neste caso &lt;SPAN style="font-size: 13.3333px;"&gt;cd_prod (&lt;/SPAN&gt;codigo do produto)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quando temos duas dimensões, rowno() automaticamente reinicia a contagem quando muda o valor na dimensão de nivel 1 (Secao). &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Se temos 3 ou mais , rowno() sempre retorna 1, então por isso temos que manter somente 2 colunas como dimensões.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A coluna nome do produto você adiciona como expressão com a função only(produto).&lt;/P&gt;&lt;P&gt;Você também deve ajustar a prioridade de classificação da tabela pelos campos promovendo os campos Secao em&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;O cálculo do acumulado por seção fica assim:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=rangesum(above(COUNT(DISTINCT pedido),0,rowno()))/COUNT(DISTINCT TOTAL &amp;lt;Secao&amp;gt; pedido)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVW com a solução está em anexo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2016 23:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Acumular-Coluna-calculo-curva-ABC/m-p/1151561#M40429</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2016-08-13T23:59:31Z</dc:date>
    </item>
  </channel>
</rss>

