<?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: Erro em soma condicional in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Erro-em-soma-condicional/m-p/1290534#M46323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amigo, está faltando definir os campos a serem somados&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14872578707906707" jivemacro_uid="_14872578707906707" modifiedtitle="true"&gt;
&lt;P&gt;(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;Tabela_DB_CR={'Tab DB'},[SZ2_Cod. Diretor]={'135'},[CTH_Tp ClasseVal]={02,10,17},SZ3_Descricao=,CHAVE_CT1010_DESC=CHAVE_CT1010_DESC-{'8230602'},SZ8_Descricao=&amp;gt;} [CadeCampo1])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; +&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;Tabela_DB_CR={'Tab CR'},[SZ2_Cod. Diretor]={'135'},[CTH_Tp ClasseVal]={02,10,17},SZ3_Descricao=,CHAVE_CT1010_DESC=CHAVE_CT1010_DESC-{'8230602'},SZ8_Descricao=&amp;gt;} [CadeCampo2])&lt;/P&gt;
&lt;P&gt;)/1000&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Substituí [CadeCampo1] e [CadeCampo2] pelos campos apropriados para a finalidade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 15:09:04 GMT</pubDate>
    <dc:creator>mario_sergio_ti</dc:creator>
    <dc:date>2017-02-16T15:09:04Z</dc:date>
    <item>
      <title>Erro em soma condicional</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-em-soma-condicional/m-p/1290533#M46322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prezados, estou tentando fazer uma soma condicional porém algo está falhando. Notem que o segundo SUM já não está funcionando.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="201" style="width: 805px; height: 201px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" width="567"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" width="567"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" width="567"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Tabela_DB_CR&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'Tab DB'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[SZ2_Cod. Diretor]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'135'},&lt;/SPAN&gt;&lt;STRONG style=": ; color: maroon; font-size: 9.0pt; font-family: 'Courier New'; text-decoration: underline;"&gt;[CTH_Tp &lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ClasseVal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={02,10,17}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SZ3_Descricao&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CHAVE_CT1010_DESC&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CHAVE_CT1010_DESC&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;-{'8230602'},SZ8_Descricao=&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" width="567"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" width="567"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;SUM({$&amp;lt;Tabela_DB_CR={'Tab CR'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[SZ2_Cod. Diretor]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'135'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[CTH_Tp ClasseVal]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={02,10,17},SZ3_Descricao=,CHAVE_CT1010_DESC=CHAVE_CT1010_DESC-{'8230602'},SZ8_Descricao=&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" width="567"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)/1000 &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muito obrigado a todos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 13:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-em-soma-condicional/m-p/1290533#M46322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T13:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Erro em soma condicional</title>
      <link>https://community.qlik.com/t5/Brasil/Erro-em-soma-condicional/m-p/1290534#M46323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amigo, está faltando definir os campos a serem somados&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14872578707906707" jivemacro_uid="_14872578707906707" modifiedtitle="true"&gt;
&lt;P&gt;(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;Tabela_DB_CR={'Tab DB'},[SZ2_Cod. Diretor]={'135'},[CTH_Tp ClasseVal]={02,10,17},SZ3_Descricao=,CHAVE_CT1010_DESC=CHAVE_CT1010_DESC-{'8230602'},SZ8_Descricao=&amp;gt;} [CadeCampo1])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; +&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;Tabela_DB_CR={'Tab CR'},[SZ2_Cod. Diretor]={'135'},[CTH_Tp ClasseVal]={02,10,17},SZ3_Descricao=,CHAVE_CT1010_DESC=CHAVE_CT1010_DESC-{'8230602'},SZ8_Descricao=&amp;gt;} [CadeCampo2])&lt;/P&gt;
&lt;P&gt;)/1000&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Substituí [CadeCampo1] e [CadeCampo2] pelos campos apropriados para a finalidade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Erro-em-soma-condicional/m-p/1290534#M46323</guid>
      <dc:creator>mario_sergio_ti</dc:creator>
      <dc:date>2017-02-16T15:09:04Z</dc:date>
    </item>
  </channel>
</rss>

