<?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: showing six month sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/showing-six-month-sales/m-p/52107#M774631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu&lt;BR /&gt;Akshaya's solution is a good one. &lt;BR /&gt;Another way you can do it, if you are trying to build a chart and don't want to include variables, is to use Dimension Limits. &lt;BR /&gt;To do this you'll need a chart Dimension which is your distinct Months ie 'MonthYear' (format 'DD-YYYY')&lt;/P&gt;&lt;P&gt;On &lt;STRONG&gt;Dimension Limits&lt;/STRONG&gt; tab you need to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Select your MonthYear dimension&lt;/LI&gt;&lt;LI&gt;Check &lt;EM&gt;Restrict which values are displayed using the first expression&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Show only&lt;/EM&gt; First 6&lt;/LI&gt;&lt;LI&gt;Uncheck&lt;EM&gt; Show Others&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;On Sort tab, you need to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sort by MonthYear, Numeric descending &lt;/LI&gt;&lt;LI&gt;Remove all sorting on your expression eg Sum(Sales)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RollMonths.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201473_RollMonths.PNG" style="height: 434px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RollMonths2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/201474_RollMonths2.PNG" style="height: 435px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 02:22:09 GMT</pubDate>
    <dc:creator>duncanblaine</dc:creator>
    <dc:date>2018-05-04T02:22:09Z</dc:date>
    <item>
      <title>showing six month sales</title>
      <link>https://community.qlik.com/t5/QlikView/showing-six-month-sales/m-p/52105#M774629</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;Greetings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to show last six month sales with out using mtd and rolling month sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manu&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/showing-six-month-sales/m-p/52105#M774629</guid>
      <dc:creator>manu1512</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: showing six month sales</title>
      <link>https://community.qlik.com/t5/QlikView/showing-six-month-sales/m-p/52106#M774630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a variable to calculate the last sixth month and make first date as datevalue and use that variable in set analysis. something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vLastSixthMonthDate = Month(Today())-6&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;Sum({&amp;lt;Date = {"&amp;gt;=$(vLastSixthMonthDate)"}&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;Akshaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 20:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-six-month-sales/m-p/52106#M774630</guid>
      <dc:creator>adityaakshaya</dc:creator>
      <dc:date>2018-05-03T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: showing six month sales</title>
      <link>https://community.qlik.com/t5/QlikView/showing-six-month-sales/m-p/52107#M774631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu&lt;BR /&gt;Akshaya's solution is a good one. &lt;BR /&gt;Another way you can do it, if you are trying to build a chart and don't want to include variables, is to use Dimension Limits. &lt;BR /&gt;To do this you'll need a chart Dimension which is your distinct Months ie 'MonthYear' (format 'DD-YYYY')&lt;/P&gt;&lt;P&gt;On &lt;STRONG&gt;Dimension Limits&lt;/STRONG&gt; tab you need to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Select your MonthYear dimension&lt;/LI&gt;&lt;LI&gt;Check &lt;EM&gt;Restrict which values are displayed using the first expression&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Show only&lt;/EM&gt; First 6&lt;/LI&gt;&lt;LI&gt;Uncheck&lt;EM&gt; Show Others&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;On Sort tab, you need to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sort by MonthYear, Numeric descending &lt;/LI&gt;&lt;LI&gt;Remove all sorting on your expression eg Sum(Sales)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RollMonths.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201473_RollMonths.PNG" style="height: 434px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RollMonths2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/201474_RollMonths2.PNG" style="height: 435px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 02:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/showing-six-month-sales/m-p/52107#M774631</guid>
      <dc:creator>duncanblaine</dc:creator>
      <dc:date>2018-05-04T02:22:09Z</dc:date>
    </item>
  </channel>
</rss>

