<?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: Max(Date) vs. Set analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937947#M323674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 15:22:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-03T15:22:58Z</dc:date>
    <item>
      <title>Max(Date) vs. Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937944#M323671</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 the following problem and I have you know the answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a fact table I have, for example, a few records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 448px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="112"&gt;CustomerNr&lt;/TD&gt;&lt;TD class="xl68" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="112"&gt;PolisNr&lt;/TD&gt;&lt;TD class="xl68" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="112"&gt;BookDate&lt;/TD&gt;&lt;TD class="xl69" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="112"&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl70" height="20"&gt;1234&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;abc-1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;1-1-2015&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: right;"&gt;1234&lt;/TD&gt;&lt;TD&gt;abc-1&lt;/TD&gt;&lt;TD style="text-align: right;"&gt;&lt;P&gt;9-1-2015&lt;/P&gt;&lt;/TD&gt;&lt;TD style="text-align: right;"&gt;&lt;P&gt;950&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;1234&lt;/TD&gt;&lt;TD class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;abc-1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;6-6-2015&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;750&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;1234&lt;/TD&gt;&lt;TD class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;def-1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1-9-2015&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="21" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;5678&lt;/TD&gt;&lt;TD class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;dfg-1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;6-3-2015&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" style="text-align: right;"&gt;5678&lt;/TD&gt;&lt;TD colspan="1"&gt;dfg-1&lt;/TD&gt;&lt;TD colspan="1" style="text-align: right;"&gt;&lt;P&gt;15-9-2015&lt;/P&gt;&lt;/TD&gt;&lt;TD colspan="1" style="text-align: right;"&gt;1250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: right;"&gt;5678&lt;/TD&gt;&lt;TD&gt;dfg-1&lt;/TD&gt;&lt;TD style="text-align: right;"&gt;&lt;P&gt;16-9-2015&lt;/P&gt;&lt;/TD&gt;&lt;TD style="text-align: right;"&gt;850&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl74" height="21" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;5678&lt;/TD&gt;&lt;TD class="xl75" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;dfg-1&lt;/TD&gt;&lt;TD align="right" class="xl76" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1-11-2015&lt;/TD&gt;&lt;TD align="right" class="xl77" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;350&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bases on Time selections I want the correct Amount per CustomerNr and PolisNr.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;When I selecting year 2015 i want to see an Amount of 750 + 500 + 350 = 1600&lt;/P&gt;&lt;P&gt;When I selecting year 2015 and Quarter 1, I want to see 950&lt;/P&gt;&lt;P&gt;When I selecting year 2015 and month 9, I want to see 500 + 850&lt;/P&gt;&lt;P&gt;When I selecting year 2015 and week 38, I want to see 850&lt;/P&gt;&lt;P&gt;When I selecting year 2015 and day 1-9-2015, I want to see 500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can give me an answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Arjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 14:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937944#M323671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-02T14:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Max(Date) vs. Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937945#M323672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( Aggr( FirstSortedValue(Amount, -BookDate), CustomerNr, PolisNr))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937945#M323672</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-02T20:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Max(Date) vs. Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937946#M323673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That what Swuehl says &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 14:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937946#M323673</guid>
      <dc:creator>martijn</dc:creator>
      <dc:date>2015-12-03T14:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Max(Date) vs. Set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937947#M323674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 15:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Date-vs-Set-analysis/m-p/937947#M323674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T15:22:58Z</dc:date>
    </item>
  </channel>
</rss>

