<?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: Expressao in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Expressao/m-p/44286#M2286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tente assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; color: #000000;"&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;{&amp;lt;Devolucao&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;={0},&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: #000000;"&gt;CLIENT={608652,502532,502638,608445}&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;&amp;gt;+&amp;lt;{&lt;SPAN style="color: #000000; font-size: 16px;"&gt;[Devolucao]= {0},[Setor]= {Fortin}&lt;/SPAN&gt;&amp;gt;}ValorTotal&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 16px; color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 17:49:43 GMT</pubDate>
    <dc:creator>Thiago_Justen_</dc:creator>
    <dc:date>2018-04-16T17:49:43Z</dc:date>
    <item>
      <title>Expressao</title>
      <link>https://community.qlik.com/t5/Brasil/Expressao/m-p/44285#M2285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Preciso calcular o valor total de uma compra com duas condicoes.....ja tentei pelo setor, mas essa coluna foi criada no Qlik, nao sei se consigo usar na expressao como condicao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;So quero os valores positivos, pois nessa coluna tb constam valores negativos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Ja tentei com o numero do cliente tb, ja q sao so 4 em questao, mas ela nao mostra valor ainda.... so um '-'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Alguem pode me ajudar, por favor? Obrigada.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;*** Devolucao =&amp;nbsp; If(ValorTotal&amp;lt;0,1,0) as Devolucao(criada no script)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10.66px;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"&gt;&lt;SPAN style="line-height: 107%; color: #000000; margin: 0px;"&gt;Sum(If&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; line-height: 107%;"&gt;{&amp;lt;Devolucao&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; line-height: 107%;"&gt;={0} and &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;CLIENT='608652','502532','502638','608445'&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; line-height: 107%;"&gt; &amp;gt;}ValorTotal&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: black; line-height: 107%;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10.66px;"&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 12pt;"&gt;ou&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10.66px;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Sum(If([Devolucao]= {0} and [Setor]= 'Fortin' ), ValorTotal )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 17:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Expressao/m-p/44285#M2285</guid>
      <dc:creator>paula_queiroz</dc:creator>
      <dc:date>2018-04-16T17:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expressao</title>
      <link>https://community.qlik.com/t5/Brasil/Expressao/m-p/44286#M2286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tente assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; color: #000000;"&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;{&amp;lt;Devolucao&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;={0},&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: #000000;"&gt;CLIENT={608652,502532,502638,608445}&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;&amp;gt;+&amp;lt;{&lt;SPAN style="color: #000000; font-size: 16px;"&gt;[Devolucao]= {0},[Setor]= {Fortin}&lt;/SPAN&gt;&amp;gt;}ValorTotal&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; color: black;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 16px; color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 17:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Expressao/m-p/44286#M2286</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-16T17:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expressao</title>
      <link>https://community.qlik.com/t5/Brasil/Expressao/m-p/44287#M2287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oi Thiago, na verdade posso usar uma expressao ou outra. Ou filtro pelo setor ou so esses clientes, mas eu prefiro por setor....&lt;/P&gt;&lt;P&gt;Tenho 2 setores um tras valor e outro 0, mas de acordo com o arquivo de origem tem valores positivos e megativos, nao sei pq so tras de um arquivo....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 18:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Expressao/m-p/44287#M2287</guid>
      <dc:creator>paula_queiroz</dc:creator>
      <dc:date>2018-04-16T18:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expressao</title>
      <link>https://community.qlik.com/t5/Brasil/Expressao/m-p/44288#M2288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum({&amp;lt;Setor={'Fortin'},Devolucao={0}&amp;gt;}valorTotal) .....assim tras de um setor, mas qnd mudo o setor para o outro q preciso(sao 2 metricas) nao tras valor.&lt;/P&gt;&lt;P&gt;Nao sei se vc entendeu....rs, mas obrigada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 18:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Expressao/m-p/44288#M2288</guid>
      <dc:creator>paula_queiroz</dc:creator>
      <dc:date>2018-04-16T18:46:23Z</dc:date>
    </item>
  </channel>
</rss>

