<?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: Month on Month Comparison. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090127#M362706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With selections the expression is working. But if we are not selecting any Month then the chart is showin wrong results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to show 2 years data without any selection and the chart should be independent of month selection. Based on selection of year it should show the same year data as well the previous year data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 11:29:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-28T11:29:01Z</dc:date>
    <item>
      <title>Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090120#M362699</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 need to create a bar chart which shows the Month on Month added value.Ie. &lt;/P&gt;&lt;P&gt;The dimension would be MonthYear.&lt;/P&gt;&lt;P&gt;in Expression let say for 2015-12 it should show the sales which has been added compared to 2014-12,&lt;/P&gt;&lt;P&gt;sales(2015-12)-sales(2014-12) should be the added value for 2015-12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i achieve the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090120#M362699</guid>
      <dc:creator />
      <dc:date>2016-01-28T08:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090121#M362700</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;You can try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Year &lt;STRONG&gt;=Sum({$&amp;lt;Year={$(=Max(Year))}, Mon={$(=Month(Today()))}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous Year &lt;STRONG&gt;=Sum({$&amp;lt;Year={$(=Max(Year)-1)}, Mon={$(=Month(Today()))}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090121#M362700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-28T08:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090122#M362701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace the function &lt;STRONG&gt;Today() &lt;/STRONG&gt;with a date field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090122#M362701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-28T08:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090123#M362702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample data to work ! or may be your sample application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 09:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090123#M362702</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-01-28T09:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090124#M362703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the sample data as well as Qvw.&lt;/P&gt;&lt;P&gt;Please find the attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090124#M362703</guid>
      <dc:creator />
      <dc:date>2016-01-28T11:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090125#M362704</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Year={'$(=max(Year))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Above(sum({&amp;lt;Year={'$(=max(Year)-1)', '$(=max(Year))'}&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&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112831_Capture.PNG" style="height: 168px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090125#M362704</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-28T11:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090126#M362705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Year={'$(=max(Year))'},&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month&lt;/STRONG&gt;={'$(=max(Month))'}&amp;gt;}&lt;/STRONG&gt;&amp;gt;}&lt;/STRONG&gt;Sales), &lt;SPAN style="font-size: 13.3333px;"&gt;sum(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Year={'$(=max(Year)-1)'},&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month&lt;/STRONG&gt;={'$(=max(Month))'}&amp;gt;}&lt;/STRONG&gt;&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090126#M362705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-28T11:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090127#M362706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With selections the expression is working. But if we are not selecting any Month then the chart is showin wrong results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to show 2 years data without any selection and the chart should be independent of month selection. Based on selection of year it should show the same year data as well the previous year data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090127#M362706</guid>
      <dc:creator />
      <dc:date>2016-01-28T11:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090128#M362707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;Year={'$(=max(Year))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Above(sum({&amp;lt;Year={'$(=max(Year)-1)', '$(=max(Year))'}&amp;gt;}Sales), Count(DISTINCT TOTAL {&amp;lt;Year={'$(=max(Year))'}&amp;gt;} Month_Asof))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112841_Capture.PNG" style="height: 394px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090128#M362707</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-28T11:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090129#M362708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the values are appearing correct but it is only visible for year 2015.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090129#M362708</guid>
      <dc:creator />
      <dc:date>2016-01-28T11:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090130#M362709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is no info about 2013. What would you want to see for 2014? the actual numbers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090130#M362709</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-28T11:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090131#M362710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For all years, may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Sum(Sales), - Above(sum(Sales), Count(DISTINCT TOTAL {&amp;lt;Year={'$(=max(Year))'}&amp;gt;} Month_Asof)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112842_Capture.PNG" style="height: 339px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090131#M362710</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-28T11:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090132#M362711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this for all years - first year in your data (because for first year you won't have any difference)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Sum({&amp;lt;Year -={'$(=min(Year))'}&amp;gt;}Sales), -Above(sum(Sales), Count(DISTINCT TOTAL {&amp;lt;Year={'$(=max(Year))'}&amp;gt;} Month_Asof)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090132#M362711</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-28T11:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090133#M362712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 15:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090133#M362712</guid>
      <dc:creator />
      <dc:date>2016-01-28T15:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090134#M362713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt; But if i have 1 more year data let say for 2013 then for 2013 it will show the same data.not the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i am limiting the data for 2 years in dimension.then for 2014 it will be showing the same value for 2014 not the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also if i need to add 1 more dimension "Type' then the expression wont Work.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 03:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090134#M362713</guid>
      <dc:creator />
      <dc:date>2016-01-29T03:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090135#M362714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(Year))&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), - &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Above&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(Year)-1)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'$(=max(Year))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Month_AsOf&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)))&lt;BR /&gt; + &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(Year)-1)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), - &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Above&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(Year)-2)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'$(=max(Year))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Month_AsOf&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;And for each type create different expressions eg Type={'ABC'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;KC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 07:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090135#M362714</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-01-29T07:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090136#M362715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share data for 2013? I think this formula I just gave you should show you difference for 2014 and 2015 if you have 2013, 2014 and 2015 years in your database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 08:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090136#M362715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-29T08:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090137#M362716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jyothish. ... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Its working.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 11:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1090137#M362716</guid>
      <dc:creator />
      <dc:date>2016-01-29T11:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month Comparison.</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1653097#M447980</link>
      <description>&lt;P&gt;Can any1 help me with a expression that compares current and past month of same year&lt;/P&gt;&lt;P&gt;eg: nov 2019 comparison with oct 2019&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 12:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-Comparison/m-p/1653097#M447980</guid>
      <dc:creator>VishalSingh18</dc:creator>
      <dc:date>2019-12-02T12:38:16Z</dc:date>
    </item>
  </channel>
</rss>

