<?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: Need a button to select last 3 months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760445#M1023029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured the solution... Thanks for your prompt reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 14:03:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-23T14:03:39Z</dc:date>
    <item>
      <title>Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760439#M1023023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create a button - when I click the button it should select last 3 months data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760439#M1023023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-20T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760440#M1023024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you to define a field in the same table of your date field as first day of the month:&lt;/P&gt;&lt;P&gt;MakeDate(my_year, my_month, 1) as YYYYMM01&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;MakeDate(year(my_date), month(my_date), 1) as YYYYMM01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then define in variables view a variable that lists the last 3 months in date format:&lt;/P&gt;&lt;P&gt;varLast3Months = '(' &amp;amp;date(AddMonths(monthstart(today()),-3)) &amp;amp; '|' &amp;amp; date(AddMonths(monthstart(today()),-2)) &amp;amp; '|' &amp;amp; date(AddMonths(monthstart(today()),-1)) &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally create your button with an action on selection in the field indicating your new data field (YYYYMM01) as field and =varLast3Months as search string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760440#M1023024</guid>
      <dc:creator>mrossoit</dc:creator>
      <dc:date>2015-03-20T15:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760441#M1023025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out: &lt;A href="https://community.qlik.com/qlik-blogpost/3768"&gt;Dynamically Selecting Timeframes&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760441#M1023025</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-03-20T15:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760442#M1023026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rosso, Terrific result. It is working perfectly...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760442#M1023026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T13:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760443#M1023027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Need a small favour. The below is to bring up the 1st date of month. How to change this to bring up for weeks?&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;"&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;"&gt;MakeDate(year(my_date), month(my_date), 1) as YYYYMM01&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760443#M1023027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T13:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760444#M1023028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure to understand what result you want to reach. Could &lt;SPAN class="Bold"&gt;LunarweekStart() function help you in doining it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Do you want to list all weeks of your month or, starting from my_date, you need to find the date when that week starts?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760444#M1023028</guid>
      <dc:creator>mrossoit</dc:creator>
      <dc:date>2015-03-23T13:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760445#M1023029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured the solution... Thanks for your prompt reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 14:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760445#M1023029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T14:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760446#M1023030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 20:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760446#M1023030</guid>
      <dc:creator>leandroserrado</dc:creator>
      <dc:date>2016-06-02T20:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need a button to select last 3 months</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760447#M1023031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Viyay I need the last Week too, Could you pls put your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 20:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-button-to-select-last-3-months/m-p/760447#M1023031</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2017-05-15T20:34:49Z</dc:date>
    </item>
  </channel>
</rss>

