<?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: Rank With Set Analysis in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81015#M4450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sua expressão "ignora" o filtro de vendedor pois você fixou o vendedor no set analysis&amp;nbsp; (vendedor1={'VPI'})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mude para:&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;Sum({&amp;lt;Estado = {"=rank(sum(VALOR_TOTAL_LIQ_LIQ), 4)&amp;lt;= 5"}&amp;gt;} VALOR_TOTAL_LIQ_LIQ)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 18:25:52 GMT</pubDate>
    <dc:creator>Thiago_Justen_</dc:creator>
    <dc:date>2018-02-23T18:25:52Z</dc:date>
    <item>
      <title>Rank With Set Analysis</title>
      <link>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81014#M4449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estou tentando criar um top 5 de maior volume de vendas dos estados, filtrado pelo vendedor &lt;STRONG&gt;VPI&lt;/STRONG&gt;. Porém a expressão está ignorando o filtro do vendedor.&lt;BR /&gt;Tive como base a expressão de um manual de set Analysis aqui do forum:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'trebuchet ms', geneva;"&gt;&lt;STRONG&gt;Sum({&amp;lt;produto = {"=rank(sum({&amp;lt;marca = {“A”}&amp;gt;} vendas), 4)&amp;lt;= 20"}&amp;gt;} vendas)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'trebuchet ms', geneva;"&gt;&lt;STRONG&gt;Top 20 dos produtos mais vendidos da marca A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minha expressão é essa: &lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Estado = {"=rank(sum({&amp;lt;Vendedor1 = {'VPI'}&amp;gt;} VALOR_TOTAL_LIQ_LIQ), 4)&amp;lt;= 5"}&amp;gt;} VALOR_TOTAL_LIQ_LIQ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguém Poderia me ajudar?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 17:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81014#M4449</guid>
      <dc:creator>samuel_rodrigue</dc:creator>
      <dc:date>2018-02-23T17:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rank With Set Analysis</title>
      <link>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81015#M4450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sua expressão "ignora" o filtro de vendedor pois você fixou o vendedor no set analysis&amp;nbsp; (vendedor1={'VPI'})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mude para:&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;Sum({&amp;lt;Estado = {"=rank(sum(VALOR_TOTAL_LIQ_LIQ), 4)&amp;lt;= 5"}&amp;gt;} VALOR_TOTAL_LIQ_LIQ)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 18:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81015#M4450</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-02-23T18:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rank With Set Analysis</title>
      <link>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81016#M4451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Samuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; A expressão que você criou deveria funcionar. A Dimensão do seu grafico/tabela é o campo Estado ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Outra coisa é que o resultado será os 5 maiores estados com base no vendedor VPI, mas o valor de venda apresentado do gráfico será a soma das vendas de todos os vendedores nestes 5 estados .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Se quiser ver somente as vendas do vendedor VPI para estes 5 estados, adicione o set no SUM externo.&lt;/P&gt;&lt;P&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;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vendedor1 = {'VPI'}, &lt;/SPAN&gt;Estado = {"=rank(sum({&amp;lt;Vendedor1 = {'VPI'}&amp;gt;} VALOR_TOTAL_LIQ_LIQ), 4)&amp;lt;= 5"}&amp;gt;} VALOR_TOTAL_LIQ_LIQ)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Feb 2018 21:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81016#M4451</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-02-25T21:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rank With Set Analysis</title>
      <link>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81017#M4452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muito Obrigado Pablo, Deu certo!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 12:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Rank-With-Set-Analysis/m-p/81017#M4452</guid>
      <dc:creator>samuel_rodrigue</dc:creator>
      <dc:date>2018-02-26T12:15:13Z</dc:date>
    </item>
  </channel>
</rss>

