<?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: Duvida - SUM com AGGR // FirstSortedValue in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Duvida-SUM-com-AGGR-FirstSortedValue/m-p/81025#M4460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isso, Marcio.&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Só precisei acrescentar o apóstrofo pra ler dirieto. Sem ele, retornava nulo.&lt;/P&gt;&lt;P&gt;O final ficou assim: &lt;STRONG&gt;SUM({$ &amp;lt;DATA={'$(=MAX(DATA))'}&amp;gt;}VALOR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Agradeço a ajuda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2018 18:44:54 GMT</pubDate>
    <dc:creator>hudson_prado</dc:creator>
    <dc:date>2018-03-09T18:44:54Z</dc:date>
    <item>
      <title>Duvida - SUM com AGGR // FirstSortedValue</title>
      <link>https://community.qlik.com/t5/Brasil/Duvida-SUM-com-AGGR-FirstSortedValue/m-p/81023#M4458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Não sei se estou errando a sintaxe. Tenho um pouco de duvidas ainda pra fazer um SUM com AGGR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essa é minha base:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="619"&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="99"&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-14 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; 4.990,43&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$ 15.122,50&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-14 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$ 4.990,43&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$ 15.122,50&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-14 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; 5.141,64&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$ 15.122,50&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-01-15 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$ 8.499,40&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$ 40.784,44&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-01-15 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; 8.499,40&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$ 40.784,44&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-01-15 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$ 403,75&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$ 40.784,44&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-01-15 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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 942,36&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$ 40.784,44&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-01-15 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$ 8.263,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;R$ 40.784,44&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-01-15 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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 649,25&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$ 40.784,44&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-01-15 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$ 649,25&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$ 40.784,44&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-01-15 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.309,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$ 40.784,44&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-01-15 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$ 2.309,34&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$ 40.784,44&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-01-15 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.379,32&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$ 40.784,44&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-01-15 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$ 539,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;R$ 40.784,44&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-01-15 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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 539,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$ 40.784,44&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-01-15 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$ 1.649,90&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$ 40.784,44&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-01-15 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; 3.152,13&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$ 40.784,44&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eu quero mostrar em uma tabela como essa abaixo o valor da ultima transação.&lt;/P&gt;&lt;P&gt;Eu necessito da soma do valor de acordo com a data ou ID. Ou até mesmo o campo TOTAL.&lt;/P&gt;&lt;P&gt;O TOTAL representa a soma dos valores de acordo com o ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testei essa fórmula: &lt;STRONG&gt;SUM(AGGR(MAX(DATA),VALOR))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Me retornou o valor abaixo astronomico. Quando estava esperando pelo valor R$15.122,50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195879_1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei também o FirstSortedValue: &lt;STRONG&gt;FirstSortedValue(TOTAL,DATA,-1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Porém esse retorna nulo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se puderem me dar uma ajuda...&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 14:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Duvida-SUM-com-AGGR-FirstSortedValue/m-p/81023#M4458</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-03-09T14:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Duvida - SUM com AGGR // FirstSortedValue</title>
      <link>https://community.qlik.com/t5/Brasil/Duvida-SUM-com-AGGR-FirstSortedValue/m-p/81024#M4459</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;E alguma coisa do tipo Sum({&amp;lt;Data = {$(=Max(Data))} Total)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 18:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Duvida-SUM-com-AGGR-FirstSortedValue/m-p/81024#M4459</guid>
      <dc:creator>Marcio_Campestrini</dc:creator>
      <dc:date>2018-03-09T18:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Duvida - SUM com AGGR // FirstSortedValue</title>
      <link>https://community.qlik.com/t5/Brasil/Duvida-SUM-com-AGGR-FirstSortedValue/m-p/81025#M4460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isso, Marcio.&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Só precisei acrescentar o apóstrofo pra ler dirieto. Sem ele, retornava nulo.&lt;/P&gt;&lt;P&gt;O final ficou assim: &lt;STRONG&gt;SUM({$ &amp;lt;DATA={'$(=MAX(DATA))'}&amp;gt;}VALOR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Agradeço a ajuda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 18:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Duvida-SUM-com-AGGR-FirstSortedValue/m-p/81025#M4460</guid>
      <dc:creator>hudson_prado</dc:creator>
      <dc:date>2018-03-09T18:44:54Z</dc:date>
    </item>
  </channel>
</rss>

