<?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: Need to add max date in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804088#M473350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: blue;"&gt;Use Date format of OPEN_DATE in this expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: blue;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: maroon;"&gt;[Department]&lt;/SPAN&gt;={'Development Services'}, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: maroon;"&gt;[Work Order Status]&lt;/SPAN&gt;={'Pending','Overdue'}, OPEN_DATE = {'$(=Date(Max( OPEN_DATE )),'MM/DD/YYYY')'}&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: maroon;"&gt;COUNT_TICKETS&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 06:06:10 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-11-11T06:06:10Z</dc:date>
    <item>
      <title>Need to add max date in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804086#M473348</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;I am trying to write an expression for a chart that will show the total number of work orders for a specific department.&amp;nbsp; I also need to provide this by the max OPEN_DATE.&amp;nbsp; Basically I need to show the most recent data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve got this so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: maroon;"&gt;[Department]&lt;/SPAN&gt;={'Development Services'}, &lt;SPAN style="color: maroon;"&gt;[Work Order Status]&lt;/SPAN&gt;={'Pending','Overdue'}&amp;gt;} &lt;SPAN style="color: maroon;"&gt;COUNT_TICKETS&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I’m unclear on how to incorporate the max OPEN_DATE in to my expression.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or guidance would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 22:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804086#M473348</guid>
      <dc:creator />
      <dc:date>2014-11-10T22:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add max date in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804087#M473349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try and write like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: maroon;"&gt;[Department]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;={'Development Services'}, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: maroon;"&gt;[Work Order Status]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;={'Pending','Overdue'}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OPEN_DATE = &lt;STRONG&gt;{'$(=Max( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OPEN_DATE &lt;/SPAN&gt;))'&lt;/STRONG&gt;}&lt;/SPAN&gt; &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: maroon;"&gt;COUNT_TICKETS&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804087#M473349</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-11T05:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add max date in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804088#M473350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: blue;"&gt;Use Date format of OPEN_DATE in this expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: blue;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: maroon;"&gt;[Department]&lt;/SPAN&gt;={'Development Services'}, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: maroon;"&gt;[Work Order Status]&lt;/SPAN&gt;={'Pending','Overdue'}, OPEN_DATE = {'$(=Date(Max( OPEN_DATE )),'MM/DD/YYYY')'}&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: maroon;"&gt;COUNT_TICKETS&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 06:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804088#M473350</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-11T06:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add max date in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804089#M473351</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;add this to your code.&lt;/P&gt;&lt;P&gt;OPEN_DATE = {"$(=Max( OPEN_DATE ))"} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Department]={'Development Services'}, [Work Order Status]={'Pending','Overdue'},&lt;/P&gt;&lt;P&gt;OPEN_DATE = {"$(=Max( OPEN_DATE ))"} &amp;gt;}COUNT_TICKETS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 06:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804089#M473351</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-11-11T06:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add max date in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804090#M473352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for your response - this worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 20:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-max-date-in-expression/m-p/804090#M473352</guid>
      <dc:creator />
      <dc:date>2014-11-12T20:23:07Z</dc:date>
    </item>
  </channel>
</rss>

