<?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 Get expression for latest date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-expression-for-latest-date/m-p/717338#M540133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ex. Loaded table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Week, value&lt;/P&gt;&lt;P&gt;week 1, 2&lt;/P&gt;&lt;P&gt;week 1, 3&lt;/P&gt;&lt;P&gt;week 1, 1&lt;/P&gt;&lt;P&gt;week 2, 1&lt;/P&gt;&lt;P&gt;week 2, 3&lt;/P&gt;&lt;P&gt;week 3, 1&lt;/P&gt;&lt;P&gt;week 3, 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get : sum(value) for most recent week (i.e. "week 3"); I suspect a combination of aggr() and firstsortedvalue() should do the trick, but I can't nail it down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 11:30:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-21T11:30:58Z</dc:date>
    <item>
      <title>Get expression for latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Get-expression-for-latest-date/m-p/717338#M540133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ex. Loaded table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Week, value&lt;/P&gt;&lt;P&gt;week 1, 2&lt;/P&gt;&lt;P&gt;week 1, 3&lt;/P&gt;&lt;P&gt;week 1, 1&lt;/P&gt;&lt;P&gt;week 2, 1&lt;/P&gt;&lt;P&gt;week 2, 3&lt;/P&gt;&lt;P&gt;week 3, 1&lt;/P&gt;&lt;P&gt;week 3, 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get : sum(value) for most recent week (i.e. "week 3"); I suspect a combination of aggr() and firstsortedvalue() should do the trick, but I can't nail it down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 11:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-expression-for-latest-date/m-p/717338#M540133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T11:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get expression for latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Get-expression-for-latest-date/m-p/717339#M540134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Sum({&amp;lt;Week={"$(=MaxString(&lt;STRONG&gt;{1}&lt;/STRONG&gt;Week))"}&amp;gt;} Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 11:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-expression-for-latest-date/m-p/717339#M540134</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-07-21T11:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get expression for latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Get-expression-for-latest-date/m-p/717340#M540135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Set Analysis was the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 12:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-expression-for-latest-date/m-p/717340#M540135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T12:32:05Z</dc:date>
    </item>
  </channel>
</rss>

