<?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: max date and max -1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114520#M368087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Sum({&amp;lt;date_field={"&lt;SPAN style="color: #ff0000;"&gt;$(&lt;/SPAN&gt;=Date(Max({1}&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-style: inherit; font-family: arial, helvetica, sans-serif;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;)-1,'DD-MM-YYYY')&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;}sales)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2016 13:32:58 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-19T13:32:58Z</dc:date>
    <item>
      <title>max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114514#M368081</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'm getting date added in my sheet ramdomly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to calculate sum of&amp;nbsp; sales where date&amp;nbsp; is maximum date and&amp;nbsp; 1 less from maximum ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so latest date and last lastest date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how should i define it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 118px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" width="118"&gt;22/04/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top: none;"&gt;28/04/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl73" height="20"&gt;01/05/2020&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 921px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" width="118"&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 13:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114514#M368081</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-10T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114515#M368082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Date&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(=Date(Max(Date), 'DD/MM/YYYY))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Max Date - 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(=Date(Max(Date, 2), 'DD/MM/YYYY))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Max Date and Max Date - 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(=Date(Max(Date, 2), 'DD/MM/YYYY))", &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;"$(=Date(Max(Date), 'DD/MM/YYYY))"&lt;/STRONG&gt;&lt;/SPAN&gt;}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 13:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114515#M368082</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-10T13:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114516#M368083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;date_field&lt;/SPAN&gt;={"=max({1}&lt;SPAN style="font-size: 13.3333px;"&gt;date_field&lt;/SPAN&gt;)"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date_field={"=Date(max({1}&lt;SPAN style="font-size: 13.3333px;"&gt;date_field&lt;/SPAN&gt;)-1,'DD-MM-YYYY')"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE : change the &lt;SPAN style="font-size: 13.3333px;"&gt;'DD-MM-YYYY' format according to your date format &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 13:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114516#M368083</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-05-10T13:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114517#M368084</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;&lt;/P&gt;&lt;P&gt;It is working but showing result of max +max-1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;startDate={"=Date(max({1}startDate)-1,'DD/MM/YYYY')"}&amp;gt;}data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm using this for last max -1&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 10:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114517#M368084</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-11T10:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114518#M368085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt; Hi Avinash,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This is not working perfectly .&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;date_field={"=Date(max({1}&lt;SPAN style="font-size: 13.3333px;"&gt;date_field&lt;/SPAN&gt;)-1,'DD-MM-YYYY')"}&amp;gt;}sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;this is giving result as sum of max and max-1 .&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 13:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114518#M368085</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-19T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114519#M368086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max date-1 is not working .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 13:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114519#M368086</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-19T13:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114520#M368087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Sum({&amp;lt;date_field={"&lt;SPAN style="color: #ff0000;"&gt;$(&lt;/SPAN&gt;=Date(Max({1}&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-style: inherit; font-family: arial, helvetica, sans-serif;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;)-1,'DD-MM-YYYY')&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;}sales)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 13:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114520#M368087</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-19T13:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114521#M368088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not working. Could you please help with something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 09:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114521#M368088</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-23T09:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114522#M368089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample where this isn't working for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114522#M368089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-23T10:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114523#M368090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;ok.. Please check&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114523#M368090</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-23T10:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114524#M368091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not seeing anything attached?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114524#M368091</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-23T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114525#M368092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114525#M368092</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-23T10:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114526#M368093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your attached sample, I see three dates&lt;/P&gt;&lt;P&gt;22/04/2016&lt;/P&gt;&lt;P&gt;28/04/2016&lt;/P&gt;&lt;P&gt;19/05/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Max(Date) = 19/05/2016, then Max(Date) - 1 = 18/05/2016. Since the date is non-existent, you won't see anything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125402_Capture.PNG" style="height: 197px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want 1 week ago?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max(Date) - 7? But for the current sample that won't work because there is no 12/05/2016 in your sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or may be you want Max(Date, 2)? This will give you 28/04/2016. It all depends on what you want and what you have. If you can let me know what you want, I can give you a final expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114526#M368093</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-23T10:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114527#M368094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actullly it would be a randon date&amp;nbsp; it could be a week before or 5 days before , so i want my chart to pick&amp;nbsp; current latest date&amp;nbsp; as current week and&amp;nbsp; 2nd latest date as last week&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 11:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114527#M368094</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-23T11:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114528#M368095</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;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;Sum({&amp;lt;date_field={"&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;$(&lt;/SPAN&gt;='&amp;gt;=' &amp;amp; Date(Max({1}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;)-7,'DD-MM-YYYY') &amp;amp; '&amp;lt;' &amp;amp; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;Date(Max({1}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;)-0,'DD-MM-YYYY')&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;}sales)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the sample above, this will pick all the days which are greater than or equal to 12/05/2016 and less than 19/05/2016. Is there a possibility that you might get multiple dates within that range? or will you get only one date a week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can also try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;Sum({&amp;lt;date_field={"&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;$(&lt;/SPAN&gt;=Date(Max({1}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;date_field, 2&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;),'DD-MM-YYYY')&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;}sales)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 11:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114528#M368095</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-23T11:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114529#M368096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;second one seems to work fine .. Thanks a lot, i will test this by adding more data and let you know &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 11:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114529#M368096</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-23T11:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114530#M368097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, keep us posted &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 11:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114530#M368097</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-23T11:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114531#M368098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more thing .. if i change my requiremnt to&amp;nbsp; current month and last month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; so that means&amp;nbsp; 19th of today data will be current month and 19th of last month data would be last month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; how i will implemnt this in same thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 14:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114531#M368098</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-23T14:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114532#M368099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A single date or the whole month? or month to date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please try to refrain yourself from posting new requirement in an old thread. Makes it difficult for people looking for similar requirements in the future. Opening a new thread will not just benefit you (because you will get all the new audience) + it will help this community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 14:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114532#M368099</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-23T14:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: max date and max -1</title>
      <link>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114533#M368100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Single date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 15:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-date-and-max-1/m-p/1114533#M368100</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2016-05-23T15:33:57Z</dc:date>
    </item>
  </channel>
</rss>

