<?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: Subtract Previous month value from Present month value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376083#M514230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your correct answer &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2017 21:13:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-19T21:13:06Z</dc:date>
    <item>
      <title>Subtract Previous month value from Present month value</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376080#M514227</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;Base on MonthYear selection(on Left) I want to see the Selected Month Value - Previous Month Value for Selected Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let see below two scenario&lt;/P&gt;&lt;P&gt;Scenario 1: Jun-2012&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/177110_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Scenario 2: Juj-2012&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/177111_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of Scenario 2(if I Select Jul-2012) I want to show for each and every cell&lt;/P&gt;&lt;P&gt;1. ▲(alt + 30) if(Jul-2012 &amp;gt; Jun-2012)&amp;nbsp; OR&lt;/P&gt;&lt;P&gt;2. ▼(alt + 31) if(Jul-2012 &amp;lt; Jun-2012) &lt;/P&gt;&lt;P&gt;3. else Blank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: test.qvw attached&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 20:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376080#M514227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T20:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract Previous month value from Present month value</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376081#M514228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this expression accomplishes what you're asking:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15058542928502079 jive_text_macro" jivemacro_uid="_15058542928502079"&gt;
&lt;P&gt;if(&lt;/P&gt;
&lt;P&gt;/* Selected Month */ sum(InvoiceValue) - &lt;/P&gt;
&lt;P&gt;/* Previous Month */ sum({&amp;lt;MonthYear={$(=chr(39) &amp;amp; date(AddMonths(MonthYear, -1), 'MMM-YYYY') &amp;amp; chr(39))}&amp;gt;}InvoiceValue)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;gt; 0, '▲',&lt;/P&gt;
&lt;P&gt;if(&lt;/P&gt;
&lt;P&gt;/* Selected Month */ sum(InvoiceValue) - &lt;/P&gt;
&lt;P&gt;/* Previous Month */ sum({&amp;lt;MonthYear={$(=chr(39) &amp;amp; date(AddMonths(MonthYear, -1), 'MMM-YYYY') &amp;amp; chr(39))}&amp;gt;}InvoiceValue)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt; 0, '▼'&lt;/P&gt;
&lt;P&gt;, ''))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also attached your test file with this expression included.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 20:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376081#M514228</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2017-09-19T20:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract Previous month value from Present month value</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376082#M514229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not see attachment.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 21:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376082#M514229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T21:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract Previous month value from Present month value</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376083#M514230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your correct answer &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 21:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtract-Previous-month-value-from-Present-month-value/m-p/1376083#M514230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T21:13:06Z</dc:date>
    </item>
  </channel>
</rss>

