<?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: Button Action to Select last 3 Full Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115187#M767029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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;"&gt;= '&amp;gt;=' &amp;amp; vLast3MonthStartDate &amp;amp; '&amp;lt;=' &amp;amp; vLastMonthEndDate&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;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= '&amp;gt;=' &amp;amp; $(=vLast3MonthStartDate) &amp;amp; '&amp;lt;=' &amp;amp; $(=vLastMonthEndDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 03:46:14 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-07-06T03:46:14Z</dc:date>
    <item>
      <title>Button Action to Select last 3 Full Months</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115186#M767028</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;In my load script I am creating these variables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vLast3MonthStartDate=Monthstart(today(),-4);&lt;/P&gt;&lt;P&gt;vLastMonthEndDate=MonthEnd(Today(),-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field in my data called [Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to select the last 3 full months of data using this action on a button click :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= '&amp;gt;=' &amp;amp; $(vLast3MonthStartDate) &amp;amp; '&amp;lt;=' &amp;amp; $(vLastMonthEndDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't seem to select anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am clearing Date as the first action &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phil&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/Button-Action-to-Select-last-3-Full-Months/m-p/115186#M767028</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Button Action to Select last 3 Full Months</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115187#M767029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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;"&gt;= '&amp;gt;=' &amp;amp; vLast3MonthStartDate &amp;amp; '&amp;lt;=' &amp;amp; vLastMonthEndDate&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;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= '&amp;gt;=' &amp;amp; $(=vLast3MonthStartDate) &amp;amp; '&amp;lt;=' &amp;amp; $(=vLastMonthEndDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 03:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115187#M767029</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-07-06T03:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Button Action to Select last 3 Full Months</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115188#M767030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/207127_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="207126" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207126_Capture.PNG" style="height: 432px; width: 620px;" /&gt;Hi Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt; DATE={"$(='&amp;gt;=' &amp;amp; $(vLast3MonthStartDate)&amp;amp; '&amp;lt;=' &amp;amp; $(vLastMonthEndDate))"}&amp;gt;}SALES)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 04:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115188#M767030</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2018-07-06T04:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Button Action to Select last 3 Full Months</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115189#M767031</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;Check your date field format and your variable format. you can change the format using date function.. &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;vLast3MonthStartDate=Date(Monthstart(today(),-4));&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vLastMonthEndDate=Date(MonthEnd(Today(),-1));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 04:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Action-to-Select-last-3-Full-Months/m-p/115189#M767031</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2018-07-06T04:49:31Z</dc:date>
    </item>
  </channel>
</rss>

