<?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 Formula de soma in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67958#M3594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tenho uma tabela semelhante a essa:&lt;/P&gt;&lt;P&gt;(a tabela tem mais milhares de linhas, mas coloquei um pedaço para exemplificar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 904px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="21" style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="97"&gt;ID&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="175"&gt;DATA&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="139"&gt;CLIENTE&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="109"&gt;VALOR&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="109"&gt;TOTAL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.575,00&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 8.024,07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 744,21&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 16px; background-color: #d9d9d9;"&gt;R$ 8.024,07&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.554,86&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 16px; background-color: #d9d9d9;"&gt;R$ 8.024,07&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 3.150,00&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 16px; background-color: #d9d9d9;"&gt;R$ 8.024,07&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 687,33&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 687,33&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 687,34&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 1.172,66&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.172,66&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&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;Só para entenderem a situação. Eu quero calcular a variação de porcentagem entre transações.&lt;/P&gt;&lt;P&gt;Pra isso eu queria ter soma de "VALOR" de acordo com "CLIENTE".&lt;/P&gt;&lt;P&gt;Total representa o valor da transação completa, de acordo com o ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei a formula: &lt;STRONG&gt;SUM(AGGR(MAX(DTBORDERO),VALOR))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Mas, me trouxe um numero bilionário e irreal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei também sem o SUM, mas não retornou valor nenhum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eu quero trazer a soma dos valores com a maior data, porque há mais transações de um mesmo cliente em datas diferentes.&lt;/P&gt;&lt;P&gt;Então quero calcular a mais recente com a primeira transação, por exemplo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se puderem me ajudar com ideias.&lt;/P&gt;&lt;P&gt;Sou novo no QLIK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obs. Uso o QlikCloud&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, 07 Mar 2018 19:24:04 GMT</pubDate>
    <dc:creator>hudson_prado</dc:creator>
    <dc:date>2018-03-07T19:24:04Z</dc:date>
    <item>
      <title>Formula de soma</title>
      <link>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67958#M3594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tenho uma tabela semelhante a essa:&lt;/P&gt;&lt;P&gt;(a tabela tem mais milhares de linhas, mas coloquei um pedaço para exemplificar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 904px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="21" style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="97"&gt;ID&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="175"&gt;DATA&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="139"&gt;CLIENTE&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="109"&gt;VALOR&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: white; font-weight: bold; font-family: Calibri, sans-serif; border-width: 1pt 0.5pt; border-style: solid; border-color: black; background: black;" width="109"&gt;TOTAL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.575,00&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 8.024,07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 744,21&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 16px; background-color: #d9d9d9;"&gt;R$ 8.024,07&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.554,86&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 16px; background-color: #d9d9d9;"&gt;R$ 8.024,07&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;1&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE1&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 3.150,00&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 16px; background-color: #d9d9d9;"&gt;R$ 8.024,07&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 687,33&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 687,33&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 687,34&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 1.172,66&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.172,66&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black;"&gt;R$ 9.098,00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="21" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;2018-02-21 00:00:00.000&lt;/TD&gt;&lt;TD style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;CLIENTE2&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.172,67&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 12pt; color: black; font-family: Calibri, sans-serif; border: 0.5pt solid black; background: #d9d9d9;"&gt;R$ 9.098,00&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;Só para entenderem a situação. Eu quero calcular a variação de porcentagem entre transações.&lt;/P&gt;&lt;P&gt;Pra isso eu queria ter soma de "VALOR" de acordo com "CLIENTE".&lt;/P&gt;&lt;P&gt;Total representa o valor da transação completa, de acordo com o ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei a formula: &lt;STRONG&gt;SUM(AGGR(MAX(DTBORDERO),VALOR))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Mas, me trouxe um numero bilionário e irreal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei também sem o SUM, mas não retornou valor nenhum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eu quero trazer a soma dos valores com a maior data, porque há mais transações de um mesmo cliente em datas diferentes.&lt;/P&gt;&lt;P&gt;Então quero calcular a mais recente com a primeira transação, por exemplo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se puderem me ajudar com ideias.&lt;/P&gt;&lt;P&gt;Sou novo no QLIK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obs. Uso o QlikCloud&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, 07 Mar 2018 19:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67958#M3594</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-03-07T19:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Formula de soma</title>
      <link>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67959#M3595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hudson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;É isso?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195734" alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195734_Capturar.PNG" style="height: 173px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expressão:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum(VALOR)/sum(ALL &amp;lt;DATA&amp;gt; VALOR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ou por Cliente:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum(VALOR)/sum(ALL &amp;lt;CLIENTE&amp;gt; VALOR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 16:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67959#M3595</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-03-08T16:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formula de soma</title>
      <link>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67960#M3596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thiago,&lt;/P&gt;&lt;P&gt;Obrigado pela ajuda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Não é isso, mas você me deu uma idéia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essa tabela é minha base de dados. Eu não tenho ela no qlik montada como você fez.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cada ID representa um titulo de FIDC, o total é o montante do titulo.&lt;/P&gt;&lt;P&gt;O valor é de acordo com a quantidade que cada cliente pagou desse montante.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eu queria fazer a representação de acordo com o valor total.&lt;/P&gt;&lt;P&gt;A soma do Valor é semrpe igual ao Total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Então, eu queria fazer a representação de acordo com o ID ou o Total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Por exemplo.&lt;/P&gt;&lt;P&gt;Cliente vendeu um titulo no valor de 10k, depois vendeu um titulo de 20k.&lt;/P&gt;&lt;P&gt;Então eu queria mostrar a porcentagem de aumento de acordo com o passar do tempo.&lt;/P&gt;&lt;P&gt;Se ele tá negociando mais ou menos de acordo com as anteriores.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 17:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67960#M3596</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-03-08T17:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Formula de soma</title>
      <link>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67961#M3597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Com esse script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABELA_TEMP:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, DATA, CLIENTE, VALOR, TOTAL&lt;/P&gt;&lt;P&gt;1, 22/02/2018, CLIENTE1,'1.575,00','8.024,07'&lt;/P&gt;&lt;P&gt;1, 23/02/2018, CLIENTE1,'744,21','8.024,07'&lt;/P&gt;&lt;P&gt;1, 24/02/2018, CLIENTE1,'2.554,86','8.024,07'&lt;/P&gt;&lt;P&gt;1, 25/02/2018, CLIENTE1,'3.150,00','8.024,07'&lt;/P&gt;&lt;P&gt;2, 26/02/2018, CLIENTE2,'687,33','9.098,00'&lt;/P&gt;&lt;P&gt;2, 27/02/2018, CLIENTE2,'687,33','9.098,00'&lt;/P&gt;&lt;P&gt;2, 28/02/2018, CLIENTE2,'687,34','9.098,00'&lt;/P&gt;&lt;P&gt;2, 21/02/2018, CLIENTE2,'1.172,66','9.098,00'&lt;/P&gt;&lt;P&gt;2, 21/02/2018, CLIENTE2,'1.172,66','9.098,00'&lt;/P&gt;&lt;P&gt;2, 21/02/2018, CLIENTE2,'1.172,67','9.098,00'&lt;/P&gt;&lt;P&gt;2, 21/02/2018, CLIENTE2,'1.172,67','9.098,00'&lt;/P&gt;&lt;P&gt;2, 21/02/2018, CLIENTE2,'1.172,67','9.098,00'&lt;/P&gt;&lt;P&gt;2, 21/02/2018, CLIENTE2,'1.172,67','9.098,00'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FINAL:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(If(Peek(ID)=ID,VALOR/Peek(VALOR),0),'###,00 %') as VARIACAO&lt;/P&gt;&lt;P&gt;Resident TABELA_TEMP ORDER BY ID,DATA;&lt;/P&gt;&lt;P&gt;DROP Table TABELA_TEMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obtive esse resultado:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195735_Capturar.PNG" style="height: 212px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 17:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67961#M3597</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-03-08T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Formula de soma</title>
      <link>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67962#M3598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cara, desculpa minha mudança de ideia.&lt;/P&gt;&lt;P&gt;Mas, mesmo se desse certo, ficaria dificil a leitura.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pensei em fazer da seguinte forma:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195746_1.JPG" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Separei por data da negociação e dentro dela o total e o campo que eu gostaria de colocar a variação de % de acordo com o valor anterior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Então, no 15/01/2018 eu queria colocar a porcentagem de aumento com relação a data anterior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei algumas formulas, mas não consegui nada.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obrigado mais uma vez pela ajuda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 17:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67962#M3598</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-03-08T17:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Formula de soma</title>
      <link>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67963#M3599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hudson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essa discussão foi resolvida aqui? &lt;A href="https://community.qlik.com/thread/294246"&gt;Duvida - SUM com AGGR // FirstSortedValue&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se sim, por favor, feche esta também para mantermos a comunidade atualizada acerca das questões já resolvidas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abs e Sucesso!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 22:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Formula-de-soma/m-p/67963#M3599</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-03-09T22:17:41Z</dc:date>
    </item>
  </channel>
</rss>

