<?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: Soma condicional com campos booleanos. in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222150#M43134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Sera que nao da para usar o true() ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sum(&amp;nbsp; if(true(Status) , QtdeProd))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2016 14:22:07 GMT</pubDate>
    <dc:creator>afurtado</dc:creator>
    <dc:date>2016-11-09T14:22:07Z</dc:date>
    <item>
      <title>Soma condicional com campos booleanos.</title>
      <link>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222148#M43132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pessoal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preciso fazer uma soma condicionada ao retorno de um campo boolean.&lt;/P&gt;&lt;P&gt;Já tentei com as formulas assim, onde &lt;SPAN style="font-size: 13.3333px;"&gt;'Status' é do tipo boolean. e 'QtdeProd' é um inteiro:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Status=1, QtdeProd)) ou &lt;SPAN style="font-size: 13.3333px;"&gt;sum(if(Status=0, QtdeProd))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum(if(Status='true', QtdeProd))&amp;nbsp; ou &lt;SPAN style="font-size: 13.3333px;"&gt;sum(if(Status='false', QtdeProd)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nos dois casos retorna zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222148#M43132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-09T12:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Soma condicional com campos booleanos.</title>
      <link>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222149#M43133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia André ,consegue liberar um arquivo QVW reduzido para que possamos analisar melhor ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 13:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222149#M43133</guid>
      <dc:creator>maiconmello</dc:creator>
      <dc:date>2016-11-09T13:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Soma condicional com campos booleanos.</title>
      <link>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222150#M43134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Sera que nao da para usar o true() ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sum(&amp;nbsp; if(true(Status) , QtdeProd))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222150#M43134</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2016-11-09T14:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Soma condicional com campos booleanos.</title>
      <link>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222151#M43135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pessoal, &lt;/P&gt;&lt;P&gt;Consegui chegar na solução conforme segue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(if(Status=&lt;STRONG&gt;-1&lt;/STRONG&gt;, QtdeProd)) -&amp;gt; Para valores true.&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-size: 13.3333px; font-family: inherit;"&gt;sum(if(Status=&lt;STRONG&gt;0&lt;/STRONG&gt;, QtdeProd)) -&amp;gt; Para valores false. Não estava funcionando, mas agora foi normal.&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;sum(if(&lt;STRONG&gt;isNull&lt;/STRONG&gt;(Status), QtdeProd)) -&amp;gt; Para valores Null&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;Obrigado aos que tentaram ajudar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 16:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Soma-condicional-com-campos-booleanos/m-p/1222151#M43135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-09T16:16:08Z</dc:date>
    </item>
  </channel>
</rss>

