<?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: Sum Value for the max Date for every Customer in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Value-for-the-max-Date-for-every-Customer/m-p/77701#M769387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Aggr(Sum(Value), DateChange, Customer), -Aggr(DateChange, DateChange, Customer))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2018 15:30:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-08T15:30:03Z</dc:date>
    <item>
      <title>Sum Value for the max Date for every Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Value-for-the-max-Date-for-every-Customer/m-p/77700#M769386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some Customers (Field Customer) and every customer can have some kind of card or even a few cards. For every card, there is a date of last change, e.g. a card can have several dates. I want to sum up how many money (Field money) is left on every card of every customer, but just using the latest date of change. This means if I have dates 2018-05-01 and 2018-06-23, I only want to use the value of the money field, which corresponds to the latest date.&lt;/P&gt;&lt;P&gt;I try to do this in a text box, but I think I am failing.&lt;/P&gt;&lt;P&gt;A Set Analysis expression using the max(DateChange) is not the right thing.&lt;/P&gt;&lt;P&gt;Any suggestions? Is this even possible in a text box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Value-for-the-max-Date-for-every-Customer/m-p/77700#M769386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Value for the max Date for every Customer</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Value-for-the-max-Date-for-every-Customer/m-p/77701#M769387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Aggr(Sum(Value), DateChange, Customer), -Aggr(DateChange, DateChange, Customer))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 15:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Value-for-the-max-Date-for-every-Customer/m-p/77701#M769387</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-08T15:30:03Z</dc:date>
    </item>
  </channel>
</rss>

