<?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: If com analise de conjunto in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762180#M23586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Rodrigo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Então o que eu consegui e descobri que:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Utilizar no set analysis um indicador diferente do que eu utilizo no meu grupo ciclico no caso o indicadores que esta na minha dimensão, eu preciso criar uma outra coluna com as mesmas informações para usar no set analysis&lt;/P&gt;&lt;P&gt;-E que a minha condição não da certo para alguns niveis do meu grupo ciclico, pois eu faço IF indicadores (é um dos niveis do grupo ciclico) and campo2 com isso em alguns niveis ele não funciona.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ainda não consegui chegar ao resultado correto, nesse momento eu estou com problema justamente no ulitmo nivel o 'Indicadores' esta exibindo no data display para o ultimo nivel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 00:17:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-31T00:17:53Z</dc:date>
    <item>
      <title>If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762159#M23565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estou com o seguinte cenário:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dependendo de alguma situação eu faço o calculo A ou faço o calculo B, eu pensei em resolver isso utilizando a função condicional if, porém nesse caso é necessário que o usuário faça a condição acontecer, ou seja, é preciso que a seleção dele atenda as condições para fazer o calculo A ou B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Já com analise de conjunto pelo que eu entendo eu não preciso que o usuário selecione os filtros para que o calculo aconteça.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tem como por analise de conjunto eu fazer essa condicional, ou algo parecido? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;por exemplo &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Campo1={'A'}, Campo2={'B'}, Campo3-={'Conteudo3'}, Campo4-={'Conteudo4'} &amp;gt;}[Vendas]&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notem que eu quis desconsiderar o conteudo3 e conteudo4 dessa analise utilizando o -= parece estar funcionando. Agora minha duvida é como eu digo pra ele considerar outro calculo, que seja diferente de Sum (Vendas), caso o Campo3 seja igual a Conteudo3 e Campo4 seja igual a Conteudo4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762159#M23565</guid>
      <dc:creator />
      <dc:date>2015-03-20T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762160#M23566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde.&lt;/P&gt;&lt;P&gt;Aconselho você calcular no script. Dessa forma a informação já estará pronta. Você pode criar na carga uma flag por exemplo flag_situacao com valores 1 e 2, um para cada situação e usar conforma abaixo:&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({1&amp;lt;Flag_Situacao={'1'} &amp;gt;}[Vendas]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({1&amp;lt;Flag_Situacao={'2'} &amp;gt;}[Vendas]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Com o 1 no lugar do dólar você força a condição.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 16:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762160#M23566</guid>
      <dc:creator>lucianosv</dc:creator>
      <dc:date>2015-03-20T16:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762161#M23567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Desculpa mas não entendi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;como seria essa flag criada?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;=sum({$&amp;lt;Campo1={'A'}, Campo2={'B'}, Campo3-={'Conteudo3'}, Campo4-={'Conteudo4'} &amp;gt;}[Vendas]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;) as FlagsemCampos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({$&amp;lt;Campo1={'A'}, Campo2={'B'}, Campo3={'Conteudo3'}, Campo4={'Conteudo4'} &amp;gt;}[Vendas]*50&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;) as FlacomCampos&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;a diferença de um do outro é que um cenario eu considero campos no outro nao, e faço calculos diferentes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;é isso que eu colocaria no script?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 17:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762161#M23567</guid>
      <dc:creator />
      <dc:date>2015-03-20T17:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762162#M23568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Na verdade você não entendeu a ideia,&amp;nbsp; a sintaxe é a do script, não do set analysis.&lt;/P&gt;&lt;P&gt;Vamos lá:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;No script&lt;/SPAN&gt; você vai fazer um If que vai setar o campo. Mais ou menos assim:&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: 12px; background-color: #f6f6f6;"&gt;If(&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Campo1='A' and Campo2='B' and Campo3 &amp;lt;&amp;gt;'Conteudo3' and Campo4&amp;lt;&amp;gt; 'Conteudo4'), '1',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Campo1='A' and Campo2='B' and Campo3 = 'Conteudo3' and Campo4 = 'Conteudo4'), '2'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f6f6f6;"&gt;Flag_Situacao&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Na expressão&lt;/SPAN&gt; fica assim:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f6f6f6;"&gt;Flag_Situacao = 1, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;sum({1&amp;lt;Flag_Situacao={'1'} &amp;gt;}[Vendas]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;sum({1&amp;lt;Flag_Situacao={'2'} &amp;gt;}[Vendas]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;) * 50))&lt;/SPAN&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: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 17:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762162#M23568</guid>
      <dc:creator>lucianosv</dc:creator>
      <dc:date>2015-03-20T17:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762163#M23569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Da pra fazer assim também:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333320617676px;"&gt;{$&amp;lt;Campo1={'A'}, Campo2={'B'}&amp;gt;}&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt; Campo3 = 'Conteudo3' and Campo4 = 'Conteudo4', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333320617676px;"&gt;[Vendas]*50,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333320617676px;"&gt;[Vendas]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;) )&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762163#M23569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-20T18:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762164#M23570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mas ai o usuario vai ter que selecionar o campo3 e campo4 certo?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762164#M23570</guid>
      <dc:creator />
      <dc:date>2015-03-20T18:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762165#M23571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dentro do sum() não,&amp;nbsp; se fosse tipo if( campo3 = 'conteudo3', sum(venda*50), sum(venda)) dai seria quando fosse selecionado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762165#M23571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-20T18:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762166#M23572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Testa a solução que eu te passei. Não vai precisar selecionar nada.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se quiser usar a solução do Rodrigo, cria duas variáveis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {1&amp;lt;Campo1={'A'}, Campo2={'B'}, Campo3 = {'Conteudo3'}, Campo4 = {'Conteudo4'}&amp;gt;} [Vendas]) * 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {1&amp;lt;Campo1={'A'}, Campo2={'B'}, Campo3 -= {'Conteudo3'}, Campo4 -= {'Conteudo4'}&amp;gt;} [Vendas]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E faz o condicional para cada expressão com um IF:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Campo1='A' and Campo2='B' and Campo3 = 'Conteudo3' and Campo4 = 'Conteudo4')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If(Campo1='A' and Campo2='B' and Campo3 &amp;lt;&amp;gt;'Conteudo3' and Campo4&amp;lt;&amp;gt; 'Conteudo4')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762166#M23572</guid>
      <dc:creator>lucianosv</dc:creator>
      <dc:date>2015-03-20T18:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762167#M23573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rodrigo tudo bem? desde ja obrigado pela ajuda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;passei o fds fazendo isso, parece ter dado certo em uma tabela que eu tenho.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Preciso dessa formula para uma tabela simples (aparentemente certo.)&lt;/P&gt;&lt;P&gt;-Preciso também em um gráfico de barras com hierarquia. Essa formula é utilizada na ultima hierarquia, o que não estou entendendo é: só quando eu seleciono o o ultimo nivel e apenas um unico indicador ele retorna o valor correto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exemplo: Nivel &amp;gt; Nivel2 &amp;gt; Nivel3&lt;/P&gt;&lt;P&gt;No Nivel3 tem varios indicadores por exemplo tipo1, tipo2, tipo3, tipo4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quando eu abro o Nivel3 me mostram as 4 barras com alguns valores, mas o valor correto só encontro quando eu clico no tipo4 por exemplo, dai tenho a visão apenas daquele tipo e daquele nivel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estou com a seguinte duvida, ele já não deveria mostrar o valor correto quando acesso o Nivel3 e onde visualizo todos os tipos?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 14:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762167#M23573</guid>
      <dc:creator />
      <dc:date>2015-03-23T14:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762168#M23574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;manda um exemplo pra eu dar uma olhada.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 17:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762168#M23574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T17:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762169#M23575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Veja se da pra entender &lt;/P&gt;&lt;P&gt;&lt;IMG alt="indicador.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81608_indicador.png" style="height: 819px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 19:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762169#M23575</guid>
      <dc:creator />
      <dc:date>2015-03-23T19:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762170#M23576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Outra pergunta:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estou com problemas quando tenho a analise de conjunto com if, e o segundo argumento ser uma analise de conjunto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Campo1={'A'},[Indicador]={'Volume'}&amp;gt;} &lt;/P&gt;&lt;P&gt;if([Mês] &amp;gt;= num(Month(today(0))), [Vendas],vReal))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;na vReal eu tenho =sum({$&amp;lt;Campo1={'B'},[Indicador]={'Volume'}&amp;gt; [Vendas]} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qual seria a alternativa para utilizar nesse caso, alguem pode me ajudar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 14:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762170#M23576</guid>
      <dc:creator />
      <dc:date>2015-03-25T14:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762171#M23577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;melhor fazer assim...&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;IF([Mês] &amp;gt;= num(Month(today(0))),&amp;nbsp; &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({$&amp;lt;Campo1={'A'},[Indicador]={'Volume'}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [Vendas]),&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({$&amp;lt;Campo1={'B'},[Indicador]={'Volume'}&amp;gt;} [Vendas]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Abraços.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 14:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762171#M23577</guid>
      <dc:creator>thiago_mlg</dc:creator>
      <dc:date>2015-03-25T14:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762172#M23578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thiago, obrigado&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deu certo desse jeito que vc me falou, muito obrigado. Essa pergunta na verdade foi um parenteses nesse tópico, você consegue me dar um help no cenário que mostrei logo acima com imagem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762172#M23578</guid>
      <dc:creator />
      <dc:date>2015-03-25T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762173#M23579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rodrigo, consegue me ajudar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Veja se com esse print da tabela no qlikview fica mais facil de entender. O que eu estou querendo dizer é que: quando chego no ultimo nivel sem selecionar nada (Primeira imagem) os valores são iguais. Quando eu seleciono algum indicador ele mostra o valor correto que é o 107,74, mas apenas quando seleciono. O Valor já não deveria aparecer na primeira imagem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Tabela.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81945_Tabela.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 00:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762173#M23579</guid>
      <dc:creator />
      <dc:date>2015-03-26T00:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762174#M23580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alguem consegue me ajudar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/149192"&gt;yuri.nicolett&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 14:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762174#M23580</guid>
      <dc:creator />
      <dc:date>2015-03-26T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762175#M23581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assim, só olhando a imagem fica um pouco difícil de "encontrar o problema" , o que seriam esses indicadores exatamente? seriam formulas diferentes dependendo do indicador ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se você conseguir postar um qvw de exemplo com dados fictícios, fica mais fácil pra mim e pro pessoal tentar te ajudar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 15:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762175#M23581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-26T15:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762176#M23582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vou tentar preparar um .qvw aqui.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Há uma dimensão com hierarquia onde o ultimo nivel é Indicadores:&lt;/P&gt;&lt;P&gt;Tenho diversos indicadores: Indicador1, Indicador2, Indicador3, ...&lt;/P&gt;&lt;P&gt;Tenho calculo de orçado e real&lt;/P&gt;&lt;P&gt;o calculo é o mesmo para todos os indicadores, exceto por exemplo o Indicador2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minha formula esta assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum({$&amp;lt;Campo1={'A'}&amp;gt;} if([Indicadores]='Indicador2' and Campo2='B', ([Valor]/ Volume),Volume)),'#.##0,00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 15:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762176#M23582</guid>
      <dc:creator />
      <dc:date>2015-03-26T15:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762177#M23583</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: 12px; background-color: #f6f6f6;"&gt;Se o indicador = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Indicador2 então campo2 = A e B .. e a expressão (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;[Valor]/ Volume) ? Ou se o &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;indicador = &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Indicador2&amp;nbsp; e o campo2 = B então &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;a expressão (&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;[Valor]/ Volume) ? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tem diferença nos 2, mas se for o caso a primeira pergunta, tenta assim:&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: 12px; background-color: #f6f6f6;"&gt;&lt;EM&gt; if([Indicadores]='Indicador2' , &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;Campo1={'A,B'}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;[Valor]/ Volume) ,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;Campo1={'A'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Volume) &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;como indicadores é uma dimensão da sua tabela, quando você usa o if não precisa o campo necessariamente estar selecionado. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762177#M23583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-26T16:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: If com analise de conjunto</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762178#M23584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seria o segundo caso.&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: 12px; background-color: #f6f6f6;"&gt;se o &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;indicador = &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Indicador2&amp;nbsp; e o campo2 = B então &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;a expressão (&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Valor]/ Volume) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-analise-de-conjunto/m-p/762178#M23584</guid>
      <dc:creator />
      <dc:date>2015-03-26T16:57:32Z</dc:date>
    </item>
  </channel>
</rss>

