<?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: I need help creating a button to select last month only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202401#M877551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below expression&lt;/P&gt;&lt;P&gt;=Month(Today()-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 16:05:04 GMT</pubDate>
    <dc:creator>krishnacbe</dc:creator>
    <dc:date>2016-10-18T16:05:04Z</dc:date>
    <item>
      <title>I need help creating a button to select last month only</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202400#M877550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a button that would select the last week of information using select in field with a field of Week and a search string of&lt;/P&gt;&lt;P&gt;=(Week(today(1))-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also created a button to select the current year using select in field with a fiend of Year and a search string of &lt;/P&gt;&lt;P&gt;=(Year(today(1)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tested it to select last year using a search string of =(Year(today(1))-1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However using the same format to select last month doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Month as the field and a search string of =(Month(today(1))-1) it selects nothing.&lt;/P&gt;&lt;P&gt;If I use =(Month(today(1))) I get the current month (as I do if I replace the 1 with a 0 or -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I make this button select last month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all.&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/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202400#M877550</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: I need help creating a button to select last month only</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202401#M877551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below expression&lt;/P&gt;&lt;P&gt;=Month(Today()-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 16:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202401#M877551</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2016-10-18T16:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: I need help creating a button to select last month only</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202402#M877552</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;=Month(AddMonths(Today(), -1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Aurélien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 16:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202402#M877552</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2016-10-18T16:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: I need help creating a button to select last month only</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202403#M877553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure, above all working? If yes, month should work. Can you please share the application where do you applying this. We can have a look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 16:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202403#M877553</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-18T16:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: I need help creating a button to select last month only</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202404#M877554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Aurelian.&lt;/P&gt;&lt;P&gt;This is the solution I needed. Works perfectly.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 07:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1202404#M877554</guid>
      <dc:creator />
      <dc:date>2016-10-19T07:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: I need help creating a button to select last month only</title>
      <link>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1741632#M877555</link>
      <description>&lt;P&gt;I have the similar requirement, but my Month filter is in diff format like YYYY-MM and I want to select last month every time.&lt;/P&gt;&lt;P&gt;my month filter name is GasMonth. =Month(AddMonths(Today(), -1)) this is not working in my case, please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 10:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-need-help-creating-a-button-to-select-last-month-only/m-p/1741632#M877555</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2020-09-07T10:50:59Z</dc:date>
    </item>
  </channel>
</rss>

