<?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 expression for max(date) and previous month same date sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-expression-for-max-date-and-previous-month-same-date-sales/m-p/462716#M567917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Please use the set expresiion for the previous month same day sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({DATE_FIELD={$(=(DATE_FIELD-30))}}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any problems, please provide the qvw with some data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 12:45:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-29T12:45:05Z</dc:date>
    <item>
      <title>need expression for max(date) and previous month same date sales</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-for-max-date-and-previous-month-same-date-sales/m-p/462715#M567916</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;Can anyone share me the max(date) sales and previous month same date sales.&lt;/P&gt;&lt;P&gt;when i select the date in list box,one column should show that date sales and one column should show previous month same date sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;baru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 12:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-for-max-date-and-previous-month-same-date-sales/m-p/462715#M567916</guid>
      <dc:creator />
      <dc:date>2012-10-29T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: need expression for max(date) and previous month same date sales</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-for-max-date-and-previous-month-same-date-sales/m-p/462716#M567917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Please use the set expresiion for the previous month same day sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({DATE_FIELD={$(=(DATE_FIELD-30))}}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any problems, please provide the qvw with some data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 12:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-for-max-date-and-previous-month-same-date-sales/m-p/462716#M567917</guid>
      <dc:creator />
      <dc:date>2012-10-29T12:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: need expression for max(date) and previous month same date sales</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-for-max-date-and-previous-month-same-date-sales/m-p/462717#M567918</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;Try this expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Current month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;DateFieldName={"=$(=Max(DateFieldName))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;For Previous month:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;DateFieldName={"$(=Addmonths(Max(DateFieldName), -1))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 13:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-for-max-date-and-previous-month-same-date-sales/m-p/462717#M567918</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-10-29T13:17:16Z</dc:date>
    </item>
  </channel>
</rss>

