<?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 MonthName() Previous Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242069#M92448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data set&lt;/P&gt;&lt;P&gt;| MonthName | Amount | Type&lt;/P&gt;&lt;P&gt;| March 2011 | 100 | Settled&lt;/P&gt;&lt;P&gt;| Feb 2011 | 200 | Settled&lt;/P&gt;&lt;P&gt;| Jan 2011 | 300 | Settled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to work out the set analysis to work out 'Previous Month' expression, so the output is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| MonthName | Amount | &lt;I&gt;Previous Month&lt;/I&gt;&lt;/P&gt;&lt;P&gt;| March 2011 | 100 | 200&lt;/P&gt;&lt;P&gt;| Feb 2011 | 200 | 300&lt;/P&gt;&lt;P&gt;| Jan 2011 | 300 |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2011 11:26:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-09T11:26:13Z</dc:date>
    <item>
      <title>MonthName() Previous Month</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242069#M92448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data set&lt;/P&gt;&lt;P&gt;| MonthName | Amount | Type&lt;/P&gt;&lt;P&gt;| March 2011 | 100 | Settled&lt;/P&gt;&lt;P&gt;| Feb 2011 | 200 | Settled&lt;/P&gt;&lt;P&gt;| Jan 2011 | 300 | Settled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to work out the set analysis to work out 'Previous Month' expression, so the output is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| MonthName | Amount | &lt;I&gt;Previous Month&lt;/I&gt;&lt;/P&gt;&lt;P&gt;| March 2011 | 100 | 200&lt;/P&gt;&lt;P&gt;| Feb 2011 | 200 | 300&lt;/P&gt;&lt;P&gt;| Jan 2011 | 300 |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 11:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242069#M92448</guid>
      <dc:creator />
      <dc:date>2011-03-09T11:26:13Z</dc:date>
    </item>
    <item>
      <title>MonthName() Previous Month</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242070#M92449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Assuming it's a pivot table, and MonthName is the dimension, and Amount the &lt;B&gt;label&lt;/B&gt; of the sum of amount expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Below([Amount])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Should return the value as you expect.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 11:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242070#M92449</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-09T11:31:30Z</dc:date>
    </item>
    <item>
      <title>MonthName() Previous Month</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242071#M92450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it didnt work! im using set analysis on the 'Amount' Column:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG({$&amp;lt;Type = {'Settled'}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have amended my first post to reflect,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 12:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242071#M92450</guid>
      <dc:creator />
      <dc:date>2011-03-09T12:49:46Z</dc:date>
    </item>
    <item>
      <title>MonthName() Previous Month</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242072#M92451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The only thing you need is to label the expression, regardless the complexity of it. Clear all selections and see if that changes. You would need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Below(&lt;B&gt;TOTAL&lt;/B&gt; [Amount])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;To get it working.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 13:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242072#M92451</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-09T13:11:38Z</dc:date>
    </item>
    <item>
      <title>MonthName() Previous Month</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242073#M92452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes - without selections, that is now working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when select March '2011' - i still need to bring through the previous month (Feb 2011)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 13:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242073#M92452</guid>
      <dc:creator />
      <dc:date>2011-03-09T13:20:20Z</dc:date>
    </item>
    <item>
      <title>MonthName() Previous Month</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242074#M92453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bump - anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 14:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242074#M92453</guid>
      <dc:creator />
      <dc:date>2011-03-09T14:40:19Z</dc:date>
    </item>
    <item>
      <title>MonthName() Previous Month</title>
      <link>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242075#M92454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You will need to create a new field in your script that stores the previous month, since you don't want just display previous month amounts, but making a selection and show always for each record the amount for the previous month. Search the forums for "AsOf" table.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 15:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthName-Previous-Month/m-p/242075#M92454</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-09T15:07:25Z</dc:date>
    </item>
  </channel>
</rss>

