<?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 set analysis expression to return most recent records from selected date(Month Year) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-expression-to-return-most-recent-records-from/m-p/164062#M36901</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'm FOB (Fresh Off the Boat) with Qlikview. I'm really struggling understanding the concept with the set analysis and how it works. I have a list of records below. If I select the end date of April 2010, I would want a list of customers with max(order_date) &amp;lt;= April 2010. Can someone help ? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 243pt; border-collapse: collapse;" width="324"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" width="64" /&gt;&lt;COL style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;" width="68" /&gt;&lt;COL span="3" style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD height="17" style="width: 48pt; height: 12.75pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;customer&lt;/TD&gt;&lt;TD style="width: 51pt; background-color: transparent; border: #d4d0c8;" width="68"&gt;order Date&lt;/TD&gt;&lt;TD class="xl71" style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;product&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD height="17" style="height: 12.75pt; background-color: transparent; border: #d4d0c8;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent; border: #d4d0c8;"&gt;2-Jan-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;XYZ&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl70" height="17" style="height: 12.75pt; background-color: #f2dddc; border: #d4d0c8;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow; border: #d4d0c8;"&gt;5-Mar-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;ABC&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;end date&lt;/TD&gt;&lt;TD class="xl68" style="background-color: yellow; border: #d4d0c8;"&gt;April 2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl70" height="17" style="height: 12.75pt; background-color: #f2dddc; border: #d4d0c8;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent; border: #d4d0c8;"&gt;11-Jun-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;YYY&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;end date&lt;/TD&gt;&lt;TD class="xl69" style="background-color: #f2dddc; border: #d4d0c8;"&gt;July 2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="height: 12.75pt; background-color: yellow; border: #d4d0c8;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow; border: #d4d0c8;"&gt;15-Apr-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;XYZ&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="height: 12.75pt; background-color: yellow; border: #d4d0c8;"&gt;c&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow; border: #d4d0c8;"&gt;19-Mar-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;XYZ&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl70" height="17" style="height: 12.75pt; background-color: #f2dddc; border: #d4d0c8;"&gt;c&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent; border: #d4d0c8;"&gt;13-May-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;ABC&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2011 13:15:44 GMT</pubDate>
    <dc:creator>shawnqlikfv</dc:creator>
    <dc:date>2011-03-16T13:15:44Z</dc:date>
    <item>
      <title>set analysis expression to return most recent records from selected date(Month Year)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression-to-return-most-recent-records-from/m-p/164062#M36901</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'm FOB (Fresh Off the Boat) with Qlikview. I'm really struggling understanding the concept with the set analysis and how it works. I have a list of records below. If I select the end date of April 2010, I would want a list of customers with max(order_date) &amp;lt;= April 2010. Can someone help ? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 243pt; border-collapse: collapse;" width="324"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" width="64" /&gt;&lt;COL style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;" width="68" /&gt;&lt;COL span="3" style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD height="17" style="width: 48pt; height: 12.75pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;customer&lt;/TD&gt;&lt;TD style="width: 51pt; background-color: transparent; border: #d4d0c8;" width="68"&gt;order Date&lt;/TD&gt;&lt;TD class="xl71" style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;product&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD height="17" style="height: 12.75pt; background-color: transparent; border: #d4d0c8;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent; border: #d4d0c8;"&gt;2-Jan-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;XYZ&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl70" height="17" style="height: 12.75pt; background-color: #f2dddc; border: #d4d0c8;"&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow; border: #d4d0c8;"&gt;5-Mar-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;ABC&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;end date&lt;/TD&gt;&lt;TD class="xl68" style="background-color: yellow; border: #d4d0c8;"&gt;April 2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl70" height="17" style="height: 12.75pt; background-color: #f2dddc; border: #d4d0c8;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent; border: #d4d0c8;"&gt;11-Jun-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;YYY&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;end date&lt;/TD&gt;&lt;TD class="xl69" style="background-color: #f2dddc; border: #d4d0c8;"&gt;July 2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="height: 12.75pt; background-color: yellow; border: #d4d0c8;"&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow; border: #d4d0c8;"&gt;15-Apr-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;XYZ&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="height: 12.75pt; background-color: yellow; border: #d4d0c8;"&gt;c&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow; border: #d4d0c8;"&gt;19-Mar-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;XYZ&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl70" height="17" style="height: 12.75pt; background-color: #f2dddc; border: #d4d0c8;"&gt;c&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent; border: #d4d0c8;"&gt;13-May-10&lt;/TD&gt;&lt;TD class="xl71" style="background-color: transparent; border: #d4d0c8;"&gt;ABC&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 13:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression-to-return-most-recent-records-from/m-p/164062#M36901</guid>
      <dc:creator>shawnqlikfv</dc:creator>
      <dc:date>2011-03-16T13:15:44Z</dc:date>
    </item>
  </channel>
</rss>

