<?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: Compare two date fields, find the next greater date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138753#M373499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I want to compare two date fields (date1 and date2) and get the next greater date of field date2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am not sure I understand this part "&lt;EM&gt;get the next greater date of field date2&lt;/EM&gt;". Can you provide a sample to look at this in details?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2016 16:09:45 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-25T16:09:45Z</dc:date>
    <item>
      <title>Compare two date fields, find the next greater date</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138752#M373498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I have a problem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I want to compare two date fields (date1 and date2) and get the next greater date of field date2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;The relationship between date1 and date2 is 1 to n.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;The fields are linked via a Customer ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I tried something like that&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;date2&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;date2&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;date2&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt; font-family: Calibri;"&gt;But this is not correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt; font-family: Calibri;"&gt;Any ideas about that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt; font-family: Calibri;"&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt; font-family: Calibri;"&gt;Philipp &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Philipp Schöck&#xD;
&#xD;
I added a small example to explain my problem in more detail.&#xD;
&#xD;
Kind regards&#xD;
&#xD;
Philipp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 16:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138752#M373498</guid>
      <dc:creator />
      <dc:date>2016-07-25T16:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two date fields, find the next greater date</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138753#M373499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I want to compare two date fields (date1 and date2) and get the next greater date of field date2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am not sure I understand this part "&lt;EM&gt;get the next greater date of field date2&lt;/EM&gt;". Can you provide a sample to look at this in details?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 16:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138753#M373499</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-25T16:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two date fields, find the next greater date</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138754#M373500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to explain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression 'compared date' should display always the next greater date.&lt;BR /&gt; &lt;BR /&gt; It should look into the field date2, look if there are dates later then in the field date1 and display the smallest of them. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 06:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138754#M373500</guid>
      <dc:creator />
      <dc:date>2016-07-26T06:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two date fields, find the next greater date</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138755#M373501</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;Are you looking like attachment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 07:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138755#M373501</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-07-26T07:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two date fields, find the next greater date</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138756#M373502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you... this looks good!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 07:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-date-fields-find-the-next-greater-date/m-p/1138756#M373502</guid>
      <dc:creator />
      <dc:date>2016-07-26T07:04:33Z</dc:date>
    </item>
  </channel>
</rss>

