<?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: Previous months selection in current year... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487033#M556081</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;It returns all the possible values in the field ie It selects all the month names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2013 17:58:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-16T17:58:05Z</dc:date>
    <item>
      <title>Previous months selection in current year...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487031#M556079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expressions are not giving the desired results.&lt;/P&gt;&lt;P&gt;=vMaxYear returns the current month ie. 2013 and now i would want all the months selected suppose the current month is July. So essentially when i open the document the 2013 and months Jan,Feb,Mar,April,May,June and July should all be selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kwame&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 16:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487031#M556079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T16:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Previous months selection in current year...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487032#M556080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kwame,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This action works for me (I have to mention that my Month field is dual):&lt;/P&gt;&lt;P&gt;Action -&amp;nbsp; select in field&lt;/P&gt;&lt;P&gt;Field - Month&lt;/P&gt;&lt;P&gt;Search string - &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= '&amp;gt;=' &amp;amp; min({&amp;lt;Year={"$(=year(today()))"}&amp;gt;} Month) &amp;amp; '&amp;lt;=' &amp;amp; only({&amp;lt;Date={"$(=date(today()))"}&amp;gt;} Month)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 17:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487032#M556080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T17:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Previous months selection in current year...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487033#M556081</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;It returns all the possible values in the field ie It selects all the month names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 17:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487033#M556081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T17:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Previous months selection in current year...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487034#M556082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have fields Month, Year, Date in your data model?&amp;nbsp; Is Month field dual (or at least numeric)?&lt;/P&gt;&lt;P&gt;If you can upload you application or a sample, it would be easier to help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 18:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487034#M556082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T18:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Previous months selection in current year...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487035#M556083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have all these fields and importantly the month field displays just 3 abbreviated characters not dual and numberic eg Jan,Feb,Mar.&lt;/P&gt;&lt;P&gt;Below is the sample script of the calendar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALENDER:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;Quarter&amp;amp;'-'&amp;amp;Year AS QuarterYear&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;DATE(TempDate,'dd/MM/yyyy') AS Date,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Year(TempDate) AS Year,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; ceil(month(TempDate) / 3) AS Quarter,&lt;/P&gt;&lt;P&gt;date(monthstart(TempDate), 'MMM-YYYY') AS MonthYear,&lt;/P&gt;&lt;P&gt;Day(TempDate)AS Day,&lt;/P&gt;&lt;P&gt;Week(TempDate) AS Week,&lt;/P&gt;&lt;P&gt;Month(TempDate) AS Month&lt;/P&gt;&lt;P&gt;RESIDENT TEMP_CALENDER&lt;/P&gt;&lt;P&gt;ORDER BY TempDate Asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TEMP_CALENDER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 07:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487035#M556083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-17T07:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Previous months selection in current year...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487036#M556084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks reasonable.&amp;nbsp; I expect my search string to work if you replace Month with MonthYear (unless you want to select January - July for all years):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action -&amp;nbsp; select in field&lt;/P&gt;&lt;P&gt;Field - MonthYear&lt;/P&gt;&lt;P&gt;Search string -&lt;/P&gt;&lt;P&gt;= '&amp;gt;=' &amp;amp; min({&amp;lt;Year={"$(=year(today()))"}&amp;gt;} MonthYear) &amp;amp; '&amp;lt;=' &amp;amp; only({&amp;lt;Date={"$(=date(today()))"}&amp;gt;} MonthYear)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 12:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-months-selection-in-current-year/m-p/487036#M556084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-17T12:21:25Z</dc:date>
    </item>
  </channel>
</rss>

