<?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: How to Calculate the Last three Months Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091603#M935757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk below&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2016 07:39:55 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-02-23T07:39:55Z</dc:date>
    <item>
      <title>How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091602#M935756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you help to tell me how to write the express to Calculate the Last three Months sales?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2016/1 sales amount is 100&lt;/P&gt;&lt;P&gt;The 2015/12 sales amount is 200&lt;/P&gt;&lt;P&gt;The 2015/11 sales amount is 300&lt;/P&gt;&lt;P&gt;The 2015/10 sales amount is 400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select&amp;nbsp; (2016 -1)&lt;/P&gt;&lt;P&gt;The Result:&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp; Month&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;2016&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100+200+300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select&amp;nbsp; (2015 -12)&lt;/P&gt;&lt;P&gt;The Result:&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp; Month&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;2015&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200+300+400&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 06:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091602#M935756</guid>
      <dc:creator />
      <dc:date>2016-02-23T06:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091603#M935757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk below&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 07:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091603#M935757</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-23T07:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091604#M935758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression would depend on your date field data format. Try to share a qvw with sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 08:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091604#M935758</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-23T08:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091605#M935759</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;The following is my Excel Data.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 283px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;" width="64"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="74"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;Month&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="145"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;Machine&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border-width: 0px 0px 0.5pt; border-style: none none solid; border-color: black black windowtext;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0px 0.5pt; border-style: none none solid; border-color: black black windowtext;"&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0px 0.5pt; border-style: none none solid; border-color: black black windowtext;"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;I need to calculate the Count(all &lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;Machine&lt;/SPAN&gt;) per past three Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;The rolling result shoud be :&amp;nbsp; If I select "&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Year=2016, Month=1,"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Count[(Year =2016 ,Month=1 )+ (Year = 2015 ,Month=12) + (Year=2015 ,Month=11) Machine]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;If I use the following exprssion, the value could be Zero. (I need to calculate&amp;nbsp; the Value to cross the Year.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; rangecount(above(count(Machine), RowNo(Total)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 08:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091605#M935759</guid>
      <dc:creator />
      <dc:date>2016-02-23T08:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091606#M935760</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;Check this link below if you have a date filed&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;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="9162" data-objecttype="102" href="https://community.qlik.com/docs/DOC-9162" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Set Analysis for certain Point in Time&lt;/A&gt;&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;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="9144" data-objecttype="102" href="https://community.qlik.com/docs/DOC-9144" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Set Analysis for Rolling Periods&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091606#M935760</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-23T09:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091607#M935761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/STRONG&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;Check this as expression,&lt;BR /&gt;&lt;/STRONG&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;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14562193840717621 jive_text_macro" jivemacro_uid="_14562193840717621"&gt;
&lt;P&gt;Sum({&amp;lt;Year=, Month =, Date={"$(='&amp;gt;=' &amp;amp; MonthStart(Today(), -2) &amp;amp; '&amp;lt;=' &amp;amp; MonthEnd(Today()))"}&amp;gt;} Sales)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091607#M935761</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-02-23T09:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091608#M935762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression &lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;))}&amp;gt;}SalesAmount)&lt;/P&gt;&lt;P&gt;+&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Date={$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)-1)}&amp;gt;}SalesAmount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Date={$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)-2)}&amp;gt;}SalesAmount)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091608#M935762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-23T09:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091609#M935763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/701426#701426" title="https://community.qlik.com/message/701426#701426"&gt;https://community.qlik.com/message/701426#701426&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/535786"&gt;set analysis to sum of sales of last 3 months.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091609#M935763</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-02-23T09:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091610#M935764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I prefer in similar situations to use precalculated in script values. But only when amount of months is constant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this situation i suggest to use additional table without association. We obtain tables after perfoming of script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthName(MonthEnd(MakeDate(ПериодГод,ПериодМесяц))) as YearAndMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Продажи as Sales;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Left(Период,4) as ПериодГод,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mid(Период,Index(Период,'/') + 1) as ПериодМесяц,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Продажи&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Лист1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; YearAndMonth as YearAndMonthForVisualisation&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp; Table1;&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;YearAndMonth&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;jan 2016&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dec 2015&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;aug 2015&lt;/TD&gt;&lt;TD&gt;260&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;nov 2015&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;sep 2015&lt;/TD&gt;&lt;TD&gt;350&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;oct 2015&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;jul 2015&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 201px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="201"&gt;YearAndMonthForVisualisation&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;jan 2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;dec 2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;nov 2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;oct 2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;sep 2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;aug 2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;jul 2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG __jive_id="115630" alt="export.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/115630_export.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Values in &lt;SPAN style="font-size: 13.3333px;"&gt;YearAndMonth and in &lt;SPAN style="font-size: 13.3333px;"&gt;YearAndMonthForVisualisation&lt;/SPAN&gt; are numeric in their nature. They are obtained by function 'MonthName'. After that we create visualisation: ListBox and Straight table. Dimension in straight table is '&lt;SPAN style="font-size: 13.3333px;"&gt;YearAndMonthForVisualisation&lt;/SPAN&gt;'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG __jive_id="115629" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115629_1.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;We use expression:Sum ({&amp;lt;YearAndMonth={'&amp;gt;=$(#=MonthStart(AddMonths(Max(YearAndMonthForVisualisation),-2)))&amp;lt;=$(#=Max(YearAndMonthForVisualisation))'}&amp;gt;}Sales).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I hope it is helpful.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 14:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091610#M935764</guid>
      <dc:creator>smirkinaa</dc:creator>
      <dc:date>2016-02-23T14:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091611#M935765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;FieldDate={"&amp;gt;=$(MonthStart(Addmonths(Min(Today()),-3)))&amp;lt;=$(MonthEnd(Addmonths(Max(Today()),3)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;FieldDate={"&amp;gt;=$(MonthStart(Addmonths(Min(FieldDate),-3)))&amp;lt;=$(MonthEnd(Addmonths(Max(FieldDate),3)))"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 15:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091611#M935765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-23T15:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate the Last three Months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091612#M935766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="5408" data-externalid="" data-online="false" data-presence="null" data-userid="33221" data-username="smirkinaa" href="https://community.qlik.com/people/smirkinaa"&gt;&lt;STRONG style="color: #8b8b8b;"&gt;andrii smirkin&lt;/STRONG&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use your solution, it wroks fine now. Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 06:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-the-Last-three-Months-Sales/m-p/1091612#M935766</guid>
      <dc:creator />
      <dc:date>2016-02-24T06:52:33Z</dc:date>
    </item>
  </channel>
</rss>

