<?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 Choose max date from range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Choose-max-date-from-range/m-p/281122#M1190459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field 'Link Date' which occurs for every Sunday of the month. I have another field 'CalendarMonth' which occurs for every month of the year.&lt;/P&gt;&lt;P&gt;How can I allow users to click on 'CalendarMonth' and view the data associated with the Link Date which occurs on &lt;STRONG&gt;the last Sunday of the month ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;E.g for May:&lt;/P&gt;&lt;P&gt;Link Dates are: 01/05/11, 08/05/11, 15/05/11, 22/05/11 &amp;amp; 29/05/11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once May is selected, I'd like the data for 29/05/11 to be shown only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2011 14:06:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-14T14:06:11Z</dc:date>
    <item>
      <title>Choose max date from range</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-max-date-from-range/m-p/281122#M1190459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field 'Link Date' which occurs for every Sunday of the month. I have another field 'CalendarMonth' which occurs for every month of the year.&lt;/P&gt;&lt;P&gt;How can I allow users to click on 'CalendarMonth' and view the data associated with the Link Date which occurs on &lt;STRONG&gt;the last Sunday of the month ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;E.g for May:&lt;/P&gt;&lt;P&gt;Link Dates are: 01/05/11, 08/05/11, 15/05/11, 22/05/11 &amp;amp; 29/05/11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once May is selected, I'd like the data for 29/05/11 to be shown only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 14:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-max-date-from-range/m-p/281122#M1190459</guid>
      <dc:creator />
      <dc:date>2011-07-14T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Choose max date from range</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-max-date-from-range/m-p/281123#M1190460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If&amp;nbsp; LinkDates is a field then you could simply use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max(LinkDates) this will just display the last sunday in the month you have selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not a field then you could use something along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max( If( WeekDay(YourDateField ) = 6, YourDateField)&lt;/P&gt;&lt;P&gt;Where 0 is Monday and 6 is Sunday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 14:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-max-date-from-range/m-p/281123#M1190460</guid>
      <dc:creator>jedgson</dc:creator>
      <dc:date>2011-07-14T14:12:43Z</dc:date>
    </item>
  </channel>
</rss>

