<?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 Last date before a certain date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473784#M1141741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a expression where I show the last date associated with a product before the date selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I want to see the last date associated with a product before 2012-12-31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Product A has 2012-10-10,2012-01-01,2013-04-04 dates associated with it, then the last date before 2012-12-31 is 2012-10-10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 20:42:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-24T20:42:20Z</dc:date>
    <item>
      <title>Last date before a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473784#M1141741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a expression where I show the last date associated with a product before the date selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I want to see the last date associated with a product before 2012-12-31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Product A has 2012-10-10,2012-01-01,2013-04-04 dates associated with it, then the last date before 2012-12-31 is 2012-10-10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 20:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473784#M1141741</guid>
      <dc:creator />
      <dc:date>2013-09-24T20:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Last date before a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473785#M1141742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=max({1&amp;lt;[yourDate]={"&amp;lt;$(=max([yourDate]))"}&amp;gt;}[yourDate])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 21:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473785#M1141742</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-09-24T21:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Last date before a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473786#M1141743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your answer. This is &lt;STRONG&gt;almost&lt;/STRONG&gt; what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to select the last date prior a selected date. This selected date will be stored in a variable so my expression will be something like&lt;/P&gt;&lt;P&gt;=date(max({1&amp;lt;P_DATE={"&amp;lt;$(=V_DATE)"}&amp;gt;} P_DATE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't seem to make this expression work with a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 18:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473786#M1141743</guid>
      <dc:creator />
      <dc:date>2013-09-25T18:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Last date before a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473787#M1141744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What didn´t worked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 18:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473787#M1141744</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-09-25T18:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Last date before a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473788#M1141745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind, I just managed to make it work. My variable V_DATE wasn't in the correct Date Format before but now it's fixed. Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 18:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-date-before-a-certain-date/m-p/473788#M1141745</guid>
      <dc:creator />
      <dc:date>2013-09-25T18:52:06Z</dc:date>
    </item>
  </channel>
</rss>

