<?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 How to create a Last Month label? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071669#M357917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the tablebox, now i need that label to state as Last Month Jan/Feb/Mar..... so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if i have click on April, that column will show March figure, i need the label to be Last Month March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below expression. but didnt seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Last Month' &amp;amp; Month(addmonths(max(Month) ,- 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 08:30:24 GMT</pubDate>
    <dc:creator>jim_chan</dc:creator>
    <dc:date>2016-04-07T08:30:24Z</dc:date>
    <item>
      <title>How to create a Last Month label?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071669#M357917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the tablebox, now i need that label to state as Last Month Jan/Feb/Mar..... so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if i have click on April, that column will show March figure, i need the label to be Last Month March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below expression. but didnt seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Last Month' &amp;amp; Month(addmonths(max(Month) ,- 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 08:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071669#M357917</guid>
      <dc:creator>jim_chan</dc:creator>
      <dc:date>2016-04-07T08:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Last Month label?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071670#M357918</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 this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;='Last Month' &amp;amp; Month(addmonths(max(Date) ,- 1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 08:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071670#M357918</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-04-07T08:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Last Month label?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071671#M357919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try wit max date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='Last Month' &amp;amp; Month(addmonths&lt;STRONG&gt;(max(Date) ,- 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 08:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071671#M357919</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-07T08:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Last Month label?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071672#M357920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000080;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'trebuchet ms', geneva;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;='Last Month' &amp;amp; &lt;/SPAN&gt;Num(Month([ Date]))-1)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000080;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'trebuchet ms', geneva;"&gt;or&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000080;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'trebuchet ms', geneva;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LastMonth = max(Month)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000080;"&gt;&lt;STRONG style="color: #3d3d3d; font-style: inherit; font-size: 13px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;='Last Month' &amp;amp; &lt;/STRONG&gt;&lt;/EM&gt;sum({$&amp;lt;Month={$(LastMonth)} &amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 08:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Last-Month-label/m-p/1071672#M357920</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-07T08:37:28Z</dc:date>
    </item>
  </channel>
</rss>

