<?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 find next date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349563#M129517</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 a number of records, each record has a date value in the field "Date". &lt;/P&gt;&lt;P&gt;How can i find the one record that has the first date after today's date or today's date if there is a record that has today's date in the field "Date".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried FirstSortedValue() but this does not seem to give me the right result. It seems to return always the first date within all records - ignoring todays date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2012 07:37:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-14T07:37:54Z</dc:date>
    <item>
      <title>find next date</title>
      <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349563#M129517</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 a number of records, each record has a date value in the field "Date". &lt;/P&gt;&lt;P&gt;How can i find the one record that has the first date after today's date or today's date if there is a record that has today's date in the field "Date".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried FirstSortedValue() but this does not seem to give me the right result. It seems to return always the first date within all records - ignoring todays date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 07:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349563#M129517</guid>
      <dc:creator />
      <dc:date>2012-05-14T07:37:54Z</dc:date>
    </item>
    <item>
      <title>find next date</title>
      <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349564#M129518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach some sample datain excel&amp;nbsp; and provide the output that is required.&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;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 08:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349564#M129518</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-05-14T08:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: find next date</title>
      <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349565#M129519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, lets take the following sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 50%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Event&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;StartDate&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Event_A&lt;/TD&gt;&lt;TD&gt;2011-12-23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Event_B&lt;/TD&gt;&lt;TD&gt;2012-05-10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Event_C&lt;/TD&gt;&lt;TD&gt;2012-05-16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Event_D&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;2012-06-02&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Event_E&lt;/TD&gt;&lt;TD&gt;2012-06-15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a text field i want to display: Next event:YYYY-MM-DD&lt;/P&gt;&lt;P&gt;Means: Today it would say: Next event: 2012-05-16...&lt;/P&gt;&lt;P&gt;on e.g. the 22nd of May it should display: Next event 2012-06-02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this illustrates the problem better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 08:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349565#M129519</guid>
      <dc:creator />
      <dc:date>2012-05-14T08:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: find next date</title>
      <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349566#M129520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the attach application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 09:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349566#M129520</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-05-14T09:01:01Z</dc:date>
    </item>
    <item>
      <title>find next date</title>
      <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349567#M129521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but sorry, this is does not work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know for today's date, what is the next event. And i need to display this in a text box. Not sure, how i would do this with your example ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 09:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349567#M129521</guid>
      <dc:creator />
      <dc:date>2012-05-14T09:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: find next date</title>
      <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349568#M129522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this application. You can also you a calendar instead of today to make it dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 09:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349568#M129522</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-05-14T09:42:06Z</dc:date>
    </item>
    <item>
      <title>find next date</title>
      <link>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349569#M129523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. This worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 09:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/find-next-date/m-p/349569#M129523</guid>
      <dc:creator />
      <dc:date>2012-05-15T09:44:23Z</dc:date>
    </item>
  </channel>
</rss>

