<?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 If com decimal in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/If-com-decimal/m-p/1622764#M57658</link>
    <description>&lt;P&gt;Olá,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;BR /&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;Como colocar a expressão If com decimal?&lt;/P&gt;&lt;P&gt;ex:&amp;nbsp;=If(PEDIDOS_saldo &amp;gt; &lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;0,2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;, 'Pendente', 'Entregue')&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 17:38:39 GMT</pubDate>
    <dc:creator>omlima</dc:creator>
    <dc:date>2019-09-11T17:38:39Z</dc:date>
    <item>
      <title>If com decimal</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-decimal/m-p/1622764#M57658</link>
      <description>&lt;P&gt;Olá,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;BR /&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;Como colocar a expressão If com decimal?&lt;/P&gt;&lt;P&gt;ex:&amp;nbsp;=If(PEDIDOS_saldo &amp;gt; &lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;0,2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;, 'Pendente', 'Entregue')&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 17:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-decimal/m-p/1622764#M57658</guid>
      <dc:creator>omlima</dc:creator>
      <dc:date>2019-09-11T17:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: If com decimal</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-decimal/m-p/1622767#M57659</link>
      <description>&lt;LI-CODE lang="python"&gt;Amigo, boa tarde!

Você pode colocar o seu comparador (0,2) entre aspas simples para que ele funcione corretamente dentro da sua expressão.

Segue exemplo abaixo:

SET ThousandSep='.';
SET DecimalSep=',';

TEMP:
LOAD * INLINE [
PEDIDOS, VALOR
1, '0,1'
2, '0,2'
3, '1,32'
];

TEMP2:
NoConcatenate LOAD
	*,
    IF(VALOR&amp;gt;'0,2','PENDENTE','ENTREGUE')
RESIDENT TEMP;
DROP TABLE TEMP;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 Sep 2019 17:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-decimal/m-p/1622767#M57659</guid>
      <dc:creator>vandrecarlos</dc:creator>
      <dc:date>2019-09-11T17:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: If com decimal</title>
      <link>https://community.qlik.com/t5/Brasil/If-com-decimal/m-p/1622785#M57662</link>
      <description>&lt;P&gt;Valeu, obrigado!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 18:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/If-com-decimal/m-p/1622785#M57662</guid>
      <dc:creator>omlima</dc:creator>
      <dc:date>2019-09-11T18:28:24Z</dc:date>
    </item>
  </channel>
</rss>

