<?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: Year wise Last month Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029606#M1315738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try some thing like,&lt;/P&gt;&lt;P&gt;create YearMonth field and use that field in set expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;YearMonth={$(=max(YearMonth))}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 13:01:32 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2016-04-27T13:01:32Z</dc:date>
    <item>
      <title>Year wise Last month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029602#M1315726</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;I wrote this expression, If select any year, I am getting&amp;nbsp; complete month wise sales (Possible months).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;Year = P({1&amp;lt;Year={$(=Only(Year))},MonthNo ={$(=max(MonthNo))}&amp;gt;})&amp;gt;}Sales) &lt;/STRONG&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;But I am expecting. If I select any Year, In that year what is the last month Sales only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sreeni&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029602#M1315726</guid>
      <dc:creator>sreeni_qvd</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Last month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029603#M1315728</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,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MonthNo={"$(=max(MonthNo))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 12:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029603#M1315728</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-04-27T12:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Last month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029604#M1315731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;MonthNo ={$(=Max(MonthNo))}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 12:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029604#M1315731</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T12:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Last month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029605#M1315734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM({&amp;lt;InvoiceYear = {'$(=Max(InvoiceYear))'}, InvoiceMonth = {"$(=Month(MakeDate(Max(InvoiceYear),Max({&amp;lt;InvoiceYear = {'$(=Max(InvoiceYear))'}&amp;gt;}InvoiceMonth))))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chagne InvoiceYear and InvoiceMonth to your respective field names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 12:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029605#M1315734</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-04-27T12:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Last month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029606#M1315738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try some thing like,&lt;/P&gt;&lt;P&gt;create YearMonth field and use that field in set expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;YearMonth={$(=max(YearMonth))}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 13:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Last-month-Sales/m-p/1029606#M1315738</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-04-27T13:01:32Z</dc:date>
    </item>
  </channel>
</rss>

