<?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: Help required in the writing the below expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-required-in-the-writing-the-below-expression/m-p/1599264#M737277</link>
    <description>&lt;P&gt;Thanks! Yes did that somehow forgot there is a function called AddYears.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2019 06:25:48 GMT</pubDate>
    <dc:creator>qlikviewforum</dc:creator>
    <dc:date>2019-07-05T06:25:48Z</dc:date>
    <item>
      <title>Help required in the writing the below expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-the-writing-the-below-expression/m-p/1599056#M737274</link>
      <description>&lt;P&gt;Let's assume Snapshot Date is "25/05/2019" so the below expression gives the sales of Mar,2019 to May,2019&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date={'&amp;gt;=$(=MonthStart(Max([Snapshot Date]),-2))&amp;lt;=$(=Date(MonthEnd(Max([Snapshot Date]))))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;What should be the change in the expression if I want to get the sales same as above months but for next year and previous year (i,e Mar,2020 to May,2020 and Mar,2018 to May,2018)&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-the-writing-the-below-expression/m-p/1599056#M737274</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in the writing the below expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-the-writing-the-below-expression/m-p/1599149#M737276</link>
      <description>&lt;P&gt;Use AddYears&lt;/P&gt;&lt;P&gt;to get last year&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date={'&amp;gt;=$(=AddYears(MonthStart(Max([Snapshot Date]),-2),-1))&amp;lt;=$(=Date(AddYears(MonthEnd(Max([Snapshot Date])),-1)))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Next Year&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date={'&amp;gt;=$(=AddYears(MonthStart(Max([Snapshot Date]),-2),1))&amp;lt;=$(=Date(AddYears(MonthEnd(Max([Snapshot Date])),1)))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 14:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-the-writing-the-below-expression/m-p/1599149#M737276</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2019-07-04T14:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in the writing the below expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-the-writing-the-below-expression/m-p/1599264#M737277</link>
      <description>&lt;P&gt;Thanks! Yes did that somehow forgot there is a function called AddYears.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 06:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-the-writing-the-below-expression/m-p/1599264#M737277</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2019-07-05T06:25:48Z</dc:date>
    </item>
  </channel>
</rss>

