<?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: How to get the most current date from a list. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831231#M292544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please go through the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jemimah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 11:34:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-16T11:34:43Z</dc:date>
    <item>
      <title>How to get the most current date from a list.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831226#M292539</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;If I have a list of dates, lets say they are the date of every sale that a location of a business made.&amp;nbsp; How would I display the number of days since the last sale?&amp;nbsp; I understand that if I only had one date I could just use =[Sale Date]-Today() but since there are multiple dates I would want the 'most current date' - today().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do I create an expression to pull the most current date based on the selections of the chart?&amp;nbsp; Like for instance if I had CT and NY selected I would want to subtract 4/5/2004 from today but if I only had MA selected I would want the expression to calculate 3/4/2005 from today.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense and I appreciate the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="234.18181824684143" style="border: 1px solid #000000; width: 160.181818246841px; height: 237.181818246841px;" width="158.18181824684143"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Location&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sale Date&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;CT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/1/2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;NY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/2/2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;MA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/2/2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;CT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4/5/2004&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;MA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3/4/2005&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831226#M292539</guid>
      <dc:creator />
      <dc:date>2015-06-16T11:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the most current date from a list.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831227#M292540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;today() - max([Sale Date])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831227#M292540</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-16T11:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the most current date from a list.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831228#M292541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Interval(Today() - Max([Sale Date]),'DD')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831228#M292541</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-06-16T11:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the most current date from a list.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831229#M292542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date(today()-Max([Sale Date]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831229#M292542</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-06-16T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the most current date from a list.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831230#M292543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Today()-max([Sale Date])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831230#M292543</guid>
      <dc:creator>daniel_kusiak</dc:creator>
      <dc:date>2015-06-16T11:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the most current date from a list.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831231#M292544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please go through the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jemimah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 11:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831231#M292544</guid>
      <dc:creator />
      <dc:date>2015-06-16T11:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the most current date from a list.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831232#M292545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Hi Jemimah,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; Your DATEFORMAT in the script is :&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='DD/MM/YYYY'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but the INLINE has MM/DD/YYYY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I think the results will not be correct if format does not the match.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Kosmas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 14:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-most-current-date-from-a-list/m-p/831232#M292545</guid>
      <dc:creator />
      <dc:date>2015-06-16T14:47:44Z</dc:date>
    </item>
  </channel>
</rss>

