<?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: Display most recent record before a date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-most-recent-record-before-a-date/m-p/1092748#M466785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share some sample data points with your desired output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 20:04:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-01-14T20:04:55Z</dc:date>
    <item>
      <title>Display most recent record before a date</title>
      <link>https://community.qlik.com/t5/QlikView/Display-most-recent-record-before-a-date/m-p/1092747#M466784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;I've got a straight table displaying records within a given date range.&amp;nbsp; I would like to display ONLY the latest record prior to a user-defned "as of date". To identify this record, tried:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; If(Aggr(NODISTINCT Max({&amp;lt;EFFECTIVE_START_DATE={"&amp;lt;=$(=vAsOfDate)"}&amp;gt;} EFFECTIVE_START_DATE), EMPLOYEE_NUMBER) = EFFECTIVE_START_DATE, 1,null()),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;However, all records return a null.&amp;nbsp; I'm not sure that my set expression in the MAX function is correct.&amp;nbsp; Any assistance would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-most-recent-record-before-a-date/m-p/1092747#M466784</guid>
      <dc:creator />
      <dc:date>2016-01-14T19:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Display most recent record before a date</title>
      <link>https://community.qlik.com/t5/QlikView/Display-most-recent-record-before-a-date/m-p/1092748#M466785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share some sample data points with your desired output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-most-recent-record-before-a-date/m-p/1092748#M466785</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-14T20:04:55Z</dc:date>
    </item>
  </channel>
</rss>

