<?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 max date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/max-date/m-p/445788#M166302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have a table&amp;nbsp; Doc which contains the history of stock &lt;/P&gt;&lt;P&gt;Doc:&lt;/P&gt;&lt;P&gt;nameProduct,&lt;/P&gt;&lt;P&gt;movementDate,&lt;/P&gt;&lt;P&gt;quantity,&lt;/P&gt;&lt;P&gt;unitPrice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the quantity of the last movement of each product in a table &lt;/P&gt;&lt;P&gt;I tried this expression : &lt;STRONG&gt;sum({$&amp;lt;Doc.movementDate={$(=Max(Doc.movementDate))}&amp;gt;}Doc.quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but it affects the same date for all product :s &lt;/P&gt;&lt;P&gt;help plz &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2013 11:15:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-06T11:15:00Z</dc:date>
    <item>
      <title>max date</title>
      <link>https://community.qlik.com/t5/QlikView/max-date/m-p/445788#M166302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have a table&amp;nbsp; Doc which contains the history of stock &lt;/P&gt;&lt;P&gt;Doc:&lt;/P&gt;&lt;P&gt;nameProduct,&lt;/P&gt;&lt;P&gt;movementDate,&lt;/P&gt;&lt;P&gt;quantity,&lt;/P&gt;&lt;P&gt;unitPrice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the quantity of the last movement of each product in a table &lt;/P&gt;&lt;P&gt;I tried this expression : &lt;STRONG&gt;sum({$&amp;lt;Doc.movementDate={$(=Max(Doc.movementDate))}&amp;gt;}Doc.quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but it affects the same date for all product :s &lt;/P&gt;&lt;P&gt;help plz &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 11:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date/m-p/445788#M166302</guid>
      <dc:creator />
      <dc:date>2013-06-06T11:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: max date</title>
      <link>https://community.qlik.com/t5/QlikView/max-date/m-p/445789#M166303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firstsortedvalue(Doc.quantity,-&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Doc.movementDate&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 11:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date/m-p/445789#M166303</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-06-06T11:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: max date</title>
      <link>https://community.qlik.com/t5/QlikView/max-date/m-p/445790#M166304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u so much &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 11:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date/m-p/445790#M166304</guid>
      <dc:creator />
      <dc:date>2013-06-06T11:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: max date</title>
      <link>https://community.qlik.com/t5/QlikView/max-date/m-p/445791#M166305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but I don't know if&amp;nbsp; it gives the the quantity of the max(mouvementDate), I mean the recent one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 11:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date/m-p/445791#M166305</guid>
      <dc:creator />
      <dc:date>2013-06-06T11:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: max date</title>
      <link>https://community.qlik.com/t5/QlikView/max-date/m-p/445792#M166306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;sum({$&amp;lt;Doc.movementDate={'&amp;lt;=$(=Max(Doc.movementDate))'}&amp;gt;}Doc.quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 14:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date/m-p/445792#M166306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-06T14:12:08Z</dc:date>
    </item>
  </channel>
</rss>

