<?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 last 6 months and next 6 months sales based on my selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45573#M777147</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&amp;nbsp; &lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Date={"&amp;gt;=$(=MonthStart(Max(Date),-5))&amp;lt;=$(=MonthEnd(Max(Date),+6))"}&amp;gt;} Sales )&lt;IMG alt="Capture5.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/199827_Capture5.PNG" style="height: 180px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 06:25:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-17T06:25:39Z</dc:date>
    <item>
      <title>how to calculate last 6 months and next 6 months sales based on my selection?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45571#M777145</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 have simple requirement if i select any month i want display last 6 month sales.&lt;/P&gt;&lt;P&gt;Ex:if i select march i want dislpay last 6 month sales like&amp;nbsp; oct,nov,dec,jan,feb and mar.sales i want show. how to write the set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same way if i select any month i want display next 6 month sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: If i select June than display june,july ----up to Nov.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;chaitu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45571#M777145</guid>
      <dc:creator>gkcchowdary</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate last 6 months and next 6 months sales based on my selection?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45572#M777146</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;Last 6 months&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date), -6), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'DateFieldFormatHere'))"}, Month, Year, MonthYear&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Next 6 months&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(Max(Date), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(&lt;STRONG style="font-size: 13.3333px;"&gt;MonthStart(&lt;/STRONG&gt;Max(Date), 7) - 1, 'DateFieldFormatHere'))"}, Month, Year, MonthYear&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 02:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45572#M777146</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-17T02:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate last 6 months and next 6 months sales based on my selection?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45573#M777147</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&amp;nbsp; &lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Date={"&amp;gt;=$(=MonthStart(Max(Date),-5))&amp;lt;=$(=MonthEnd(Max(Date),+6))"}&amp;gt;} Sales )&lt;IMG alt="Capture5.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/199827_Capture5.PNG" style="height: 180px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 06:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45573#M777147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-17T06:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate last 6 months and next 6 months sales based on my selection?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45574#M777148</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Please see attached QVW. !&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 06:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-calculate-last-6-months-and-next-6-months-sales-based-on/m-p/45574#M777148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T06:43:31Z</dc:date>
    </item>
  </channel>
</rss>

