<?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: Camparing Current Month(Max Date) and Past 2 Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279236#M863757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Previous month: sum({$&amp;lt;[Date Disbursed - Month]={'$(=AddMonths(max([Date Disbursed - Month]),-1))'}&amp;gt;} [ETP Amount])&lt;/P&gt;&lt;P&gt;2 Months before: sum({$&amp;lt;[Date Disbursed - Month]={'$(=AddMonths(max([Date Disbursed - Month]),-2))'}&amp;gt;} [ETP Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2016 08:46:37 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-12-19T08:46:37Z</dc:date>
    <item>
      <title>Camparing Current Month(Max Date) and Past 2 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279235#M863756</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 want to compare ETP Amount collected for the maximum (current) month with Previous and 2 Month Before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For current Month, I already got the expression as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;[Date Disbursed - Month]={'$(=max([Date Disbursed - Month]))'}&amp;gt;} [ETP Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the value for Previous Month and Past 2 Month in expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;STRONG style="font-size: 13.3333px;"&gt;[Date Disbursed - Month]&lt;/STRONG&gt; formatted as 'DD-MMM-YYYY'.&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/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279235#M863756</guid>
      <dc:creator>mohdhaniff</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Camparing Current Month(Max Date) and Past 2 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279236#M863757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Previous month: sum({$&amp;lt;[Date Disbursed - Month]={'$(=AddMonths(max([Date Disbursed - Month]),-1))'}&amp;gt;} [ETP Amount])&lt;/P&gt;&lt;P&gt;2 Months before: sum({$&amp;lt;[Date Disbursed - Month]={'$(=AddMonths(max([Date Disbursed - Month]),-2))'}&amp;gt;} [ETP Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 08:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279236#M863757</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-19T08:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Camparing Current Month(Max Date) and Past 2 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279237#M863758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already try solution given but&amp;nbsp; results = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="aa.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146985_aa.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 09:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279237#M863758</guid>
      <dc:creator>mohdhaniff</dc:creator>
      <dc:date>2016-12-19T09:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Camparing Current Month(Max Date) and Past 2 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279238#M863759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the date format of that field differs from the document default. Try adding a date format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Date Disbursed - Month]={'$(=Date(AddMonths(max([Date Disbursed - Month]),-1),'DD-MMM-YYYY'))'}&amp;gt;} [ETP Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 10:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279238#M863759</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-19T10:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Camparing Current Month(Max Date) and Past 2 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279239#M863760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier I thought something wrong with the formula due to red line. Today I learn something new about QlikView trick.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="147069" alt="aa.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147069_aa.GIF" style="height: 68px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*P/S, If you don't mind, can you help me on another issue related to this solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/243762"&gt;Comparing Total Collected between 2 month within the same period&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this query, I wish to do set analysis to compare amount collected for current month and previous month (or previous 2 month). The different is I want to know how much amount collected on previous month within the same period collected on current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.: Current month number of days is 4, then how much collected for the same period on previous month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 01:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279239#M863760</guid>
      <dc:creator>mohdhaniff</dc:creator>
      <dc:date>2016-12-20T01:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Camparing Current Month(Max Date) and Past 2 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279240#M863761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you're nesting single quotes within single quotes. Replace the outer single quotes with double quotes and the editor will be happy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 06:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279240#M863761</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-20T06:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Camparing Current Month(Max Date) and Past 2 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279241#M863762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 07:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Camparing-Current-Month-Max-Date-and-Past-2-Months/m-p/1279241#M863762</guid>
      <dc:creator>mohdhaniff</dc:creator>
      <dc:date>2016-12-20T07:17:25Z</dc:date>
    </item>
  </channel>
</rss>

