<?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: text object show the max date for current wait in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13730#M2261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should have read your first post a bit more carefully. Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(max({&amp;lt;&lt;STRONG&gt;EventUniqueID ={"=assessmentdatetime=Max(TOTAL assessmentdatetime)"},&lt;/STRONG&gt; MetricDesc=,MetricID={'LI01'},Status-={'DISCHARGED','COMPLETED','LETTER'}, Location-={'EAU'}, ReadyStatus -={''}&amp;gt;} EDReadyWait)/24/60, 'hh:mm')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2018 10:05:59 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-01-30T10:05:59Z</dc:date>
    <item>
      <title>text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13719#M2250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I have a cohort of people showing the time they came in and their associated EDwait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text box that shows the number of these patient's waiting&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MetricDesc&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MetricID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'LI01'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'DISCHARGED','COMPLETED','LETTER'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'EAU'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReadyStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -={''}&amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EventUniqueID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&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;the other box I need to show what the last persons wait was.. so I need a max of date but show the EDwait if you like ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MetricDesc&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MetricID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'LI01'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'DISCHARGED','COMPLETED','LETTER'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'EAU'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReadyStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -={''}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EDReadyWait&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/24/60, 'hh:mm') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;but this just gives me the max EDwait for all of those people&lt;/SPAN&gt;.&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;I cant figure out how to add in the max date&lt;/SPAN&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="font-size: 8pt;"&gt;thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13719#M2250</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-29T15:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13720#M2251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What this returns when you use below one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;MetricDesc&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;MetricID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'LI01'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-={'DISCHARGED','COMPLETED','LETTER'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-={'EAU'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ReadyStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; -={''}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;EDReadyWait&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 00:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13720#M2251</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-30T00:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13721#M2252</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;this just shows the max value of EDready wait.&lt;/P&gt;&lt;P&gt;So if there was 10 people who are ED ready it shows the longest wait,&lt;/P&gt;&lt;P&gt;however I need to refine it to the last person who came in , so max date and bring back their EDready wait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13721#M2252</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-30T09:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13722#M2253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using FirstSortedValue(), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FisrtSortedValue({Set analysis} PatientField , -&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EDreadyWait&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13722#M2253</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-30T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13723#M2254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you identify the last person who came in (ie which field and what does the field contain)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13723#M2254</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-30T09:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13724#M2255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;assessmentdatetime&amp;nbsp; is the time they came in,&lt;/P&gt;&lt;P&gt;I need a max of this, on the set analysis, bringing back the edready wait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13724#M2255</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-30T09:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13725#M2256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;this doesn't work.. I get a big number..&lt;/P&gt;&lt;P&gt;do you mean paitentfield is the date I need the max applying to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MetricID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'LI01'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'DISCHARGED','COMPLETED','LETTER'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'EAU'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReadyStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -={''} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AssessmentDateTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; , -&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EDReadyWait&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13725#M2256</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-30T09:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13726#M2257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=FisrtSortedValue({&amp;lt;MetricID={'LI01'},Status-={'DISCHARGED','COMPLETED','LETTER'}, Location-={'EAU'}, ReadyStatus -={''} &amp;gt;} &lt;STRONG&gt;PersonField&lt;/STRONG&gt; , -&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;assessmentdatetime&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13726#M2257</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-30T09:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13727#M2258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry was is person field?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13727#M2258</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-30T09:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13728#M2259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry I edited my first reply to you, as I had first spelt incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns a big value, where I need it to display time.&lt;/P&gt;&lt;P&gt;so I applied interval to it but it still doesn't retrieve the right answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the last person in should be 00:18 but I get 718:49&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MetricID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'LI01'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'DISCHARGED','COMPLETED','LETTER'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={'EAU'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReadyStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -={''} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AssessmentDateTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; , -&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EDReadyWait&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/24/60, 'hh:mm') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13728#M2259</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-30T10:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13729#M2260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give this one a shot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FirstSortedValue({&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; EventUniqueID = P({&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; MetricDesc=,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; MetricID={'LI01'},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Status-={'DISCHARGED','COMPLETED','LETTER'}, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Location-={'EAU'}, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ReadyStatus -={''}&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; }&amp;nbsp; EventUniqueID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;} EDReadyWait, -assessmentdatetime)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Wrap this expression in an interval function if required&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13729#M2260</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-30T10:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13730#M2261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should have read your first post a bit more carefully. Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(max({&amp;lt;&lt;STRONG&gt;EventUniqueID ={"=assessmentdatetime=Max(TOTAL assessmentdatetime)"},&lt;/STRONG&gt; MetricDesc=,MetricID={'LI01'},Status-={'DISCHARGED','COMPLETED','LETTER'}, Location-={'EAU'}, ReadyStatus -={''}&amp;gt;} EDReadyWait)/24/60, 'hh:mm')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13730#M2261</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-30T10:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13731#M2262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! so much&lt;/P&gt;&lt;P&gt;I don't understand it - no way could I have figured that out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you again&lt;/P&gt;&lt;P&gt;Liz x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13731#M2262</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-30T10:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13732#M2263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its just returning -&lt;/P&gt;&lt;P&gt;thank you for you help, really appreciate it, Jonathon's reply has fixed the issue, you were on the right lines with firstsortedvalue &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13732#M2263</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-30T10:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13733#M2264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you are unsure about this bit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;EventUniqueID = P({&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; MetricDesc=,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; MetricID={'LI01'},&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; Status-={'DISCHARGED','COMPLETED','LETTER'},&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; Location-={'EAU'},&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; ReadyStatus -={''}&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; }&amp;nbsp; EventUniqueID)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This set expression just selects the &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;EventUniqueID&lt;/EM&gt; values that fit with the selection criteria in your post. &lt;EM&gt;P()&lt;/EM&gt; is &lt;EM&gt;possible&lt;/EM&gt; values.&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 11:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13733#M2264</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-31T11:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: text object show the max date for current wait</title>
      <link>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13734#M2265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arh thanks brilliant,&lt;/P&gt;&lt;P&gt;and the first sort value gives me the latest assessment date on that set expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;good to know! thanks&lt;/P&gt;&lt;P&gt;I have used this twice now already, very handy!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 12:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-object-show-the-max-date-for-current-wait/m-p/13734#M2265</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2018-01-31T12:17:59Z</dc:date>
    </item>
  </channel>
</rss>

