<?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: Dificuldade de criar if in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321388#M47787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pode tentar só com o &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LEN(TRIM(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DESCONTO_PRAZO&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)) = 0&lt;/SPAN&gt; na sua condição, pois espaços em branco serão automaticamente removidos!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2017 18:54:08 GMT</pubDate>
    <dc:creator>TiagoCardoso</dc:creator>
    <dc:date>2017-03-31T18:54:08Z</dc:date>
    <item>
      <title>Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321380#M47779</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;Preciso criar um if com uma mensagem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;PEDIDO_LÍQUIDO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;FOR &amp;gt; &lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;DESCONTO_MINIMO&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENTÃO DEIXE &lt;SPAN style="text-decoration: underline;"&gt;PEDIDO_LÍQUIDO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE &lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;PEDIDO_LÍQUIDO&lt;/SPAN&gt; &amp;lt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;DESCONTO_MINIMO&lt;/SPAN&gt; = MENSAGEM "VALOR INFERIOR AO PEDIDO"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguma dica?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="158526" alt="2017-03-31_14-41-29.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158526_2017-03-31_14-41-29.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 17:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321380#M47779</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2017-03-31T17:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321381#M47780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amigo, Boa tarde. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No script você pode fazer assim. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;PEDIDO_LÍQUIDO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;DESCONTO_MINIMO,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;PEDIDO_LÍQUIDO&lt;/SPAN&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 'VALOR INFERIOR AO PEDIDO' ) as Campo;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 17:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321381#M47780</guid>
      <dc:creator>maiconmello</dc:creator>
      <dc:date>2017-03-31T17:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321382#M47781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;É que tenho duas tabelas relacionandas.&lt;/P&gt;&lt;P&gt;Gostaria de fazer expressão.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321382#M47781</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2017-03-31T18:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321383#M47782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deu certo parcial:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(PEDIDO_LÍQUIDO &amp;gt; DESCONTO_MINIMO,PEDIDO_LÍQUIDO, 'VALOR INFERIOR AO PEDIDO' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="158537" alt="2017-03-31_15-16-44.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158537_2017-03-31_15-16-44.png" style="height: 159px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eu precisava agora da ajuda de vocês.&lt;/P&gt;&lt;P&gt;Se o &lt;SPAN style="font-size: 13.3333px;"&gt;DESCONTO_MINIMO&lt;/SPAN&gt; estiver&amp;nbsp; vazio(branco) que ela passe para condição abaixo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-03-31_15-24-07.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/158538_2017-03-31_15-24-07.png" style="font-size: 13.3333px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(DESCONTO_PRAZO), DESCONTO_MAXIMO,DESCONTO_PRAZO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguma dica?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321383#M47782</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2017-03-31T18:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321384#M47783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;É essa condição que você coloca mesmo . &lt;/P&gt;&lt;P&gt;Agora o seu campo vazio é nullo mesmo ? &lt;/P&gt;&lt;P&gt;Se não esta dando certo valida assim : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(IsNull(DESCONTO_PRAZO) or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DESCONTO_PRAZO&lt;/SPAN&gt; = ' ', DESCONTO_MAXIMO,DESCONTO_PRAZO)&amp;nbsp; //Igual a branco&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321384#M47783</guid>
      <dc:creator>maiconmello</dc:creator>
      <dc:date>2017-03-31T18:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321385#M47784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maicon não deu certo.&lt;/P&gt;&lt;P&gt;Primeiro tenho que tratar ser o Desconto_Minimo (tem valor ou está vazio)&lt;/P&gt;&lt;P&gt;Se Desconto_Minimo estiver vazio ele não faça nada.&lt;/P&gt;&lt;P&gt;Passe para o if abaixo&lt;/P&gt;&lt;P&gt;Depois eu continuo....&lt;/P&gt;&lt;P&gt;igual na imagem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321385#M47784</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2017-03-31T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321386#M47785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tem como disponibilizar o modelo ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321386#M47785</guid>
      <dc:creator>maiconmello</dc:creator>
      <dc:date>2017-03-31T18:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321387#M47786</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;Boa tarde a todos....&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; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LEN(TRIM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DESCONTO_PRAZO&lt;/SPAN&gt;)) = 0 or &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;DESCONTO_PRAZO&lt;/SPAN&gt; = ' ', DESCONTO_MAXIMO,DESCONTO_PRAZO)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; 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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pode Tentar fazendo esta avaliação.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; 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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Abraços.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321387#M47786</guid>
      <dc:creator>TiagoCardoso</dc:creator>
      <dc:date>2017-03-31T18:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321388#M47787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pode tentar só com o &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LEN(TRIM(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DESCONTO_PRAZO&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)) = 0&lt;/SPAN&gt; na sua condição, pois espaços em branco serão automaticamente removidos!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321388#M47787</guid>
      <dc:creator>TiagoCardoso</dc:creator>
      <dc:date>2017-03-31T18:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321389#M47788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tiago tenho primeiro que verificar ser o Desconto_Minimo (Ele sempre terá um valor ou nulo)&lt;/P&gt;&lt;P&gt;Caso tenha ele faça a comparação&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(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;PEDIDO_LÍQUIDO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;DESCONTO_MINIMO,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;PEDIDO_LÍQUIDO&lt;/SPAN&gt;,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt; 'VALOR INFERIOR AO PEDIDO' )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; text-decoration: underline; font-family: inherit; font-weight: inherit;"&gt;Aqui está certo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; text-decoration: underline; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; text-decoration: underline; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Se DESCONTO_MINIMO ESTIVE VAZIO PASSE PARA O IF ABAIXO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; text-decoration: underline; font-family: inherit; font-weight: inherit;"&gt;Mas quando ele estiver vazio igual abaixo: que ele vá para &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;if(IsNull(DESCONTO_PRAZO), DESCONTO_MAXIMO,DESCONTO_PRAZO)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="158544" alt="2017-03-31_15-24-07.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158544_2017-03-31_15-24-07.png" style="height: 66px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 19:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321389#M47788</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2017-03-31T19:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321390#M47789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PEDIDO_LÍQUIDO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DESCONTO_MINIMO,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;PEDIDO_LÍQUIDO&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; 'VALOR INFERIOR AO PEDIDO' ,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;if(IsNull(DESCONTO_PRAZO) OR &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LEN(TRIM(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DESCONTO_PRAZO&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)) = 0&lt;/SPAN&gt;, ESCONTO_MAXIMO,DESCONTO_PRAZO)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ele avalia a condição do primeiro IF, caso seja falso ele cai no segundo IF (Tudo na mesma expressão).&lt;/P&gt;&lt;P&gt;IFs aninhados, pelo que eu entendi seja isso o que você precisa?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abraço.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 20:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321390#M47789</guid>
      <dc:creator>TiagoCardoso</dc:creator>
      <dc:date>2017-03-31T20:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321391#M47790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Veja se atende&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =if(Column(2) &amp;gt; DESCONTO_MINIMO,Column(2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Column(2) &amp;lt;= DESCONTO_MINIMO,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VALOR INFERIOR AO PEDIDO&lt;/SPAN&gt;',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(IsNull(DESCONTO_PRAZO) OR LEN(TRIM(DESCONTO_PRAZO)) = 0, DESCONTO_MAXIMO,DESCONTO_PRAZO)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 20:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321391#M47790</guid>
      <dc:creator>fabionakashigue</dc:creator>
      <dc:date>2017-03-31T20:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dificuldade de criar if</title>
      <link>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321392#M47791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Obrigado Fábio, Deu certo.&lt;/P&gt;&lt;P&gt;Parabéns.&lt;/P&gt;&lt;P&gt;Um bom final de semana.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(sum(VLR_ITEM_FATURAR_TOTAL) &amp;gt; DESCONTO_MINIMO,DESCONTO_MAXIMO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(sum(VLR_ITEM_FATURAR_TOTAL) &amp;lt;= DESCONTO_MINIMO,'VALOR INFERIOR AO PEDIDO',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(IsNull(DESCONTO_PRAZO) OR LEN(TRIM(DESCONTO_PRAZO)) = 0, DESCONTO_MAXIMO,DESCONTO_PRAZO)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2017 00:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Dificuldade-de-criar-if/m-p/1321392#M47791</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2017-04-01T00:38:40Z</dc:date>
    </item>
  </channel>
</rss>

