<?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: Restrict listbox to view only two months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359190#M822701</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Arial; color: #636363;"&gt;=aggr(only({&amp;lt;Month=&amp;nbsp; {'Jan','Feb'}&amp;gt;}Dim),Dim)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2017 11:25:25 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2017-08-07T11:25:25Z</dc:date>
    <item>
      <title>Restrict listbox to view only two months</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359187#M822698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a listbox that lists my dates as months .General tab &amp;gt; field...&amp;nbsp; given my month field here.&lt;/P&gt;&lt;P&gt;How should I frame a expression so I can just view max( month) and one prior month .???/ &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/Restrict-listbox-to-view-only-two-months/m-p/1359187#M822698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict listbox to view only two months</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359188#M822699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match(month, 'jan', 'feb')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 10:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359188#M822699</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-07T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict listbox to view only two months</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359189#M822700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier;"&gt;=Pick(Match(-1,Month=Max(total Month),Month=Max(total Month, 2)), Month, Month)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'courier new', courier;"&gt;=If(Month=Max(total Month) OR Month=Max(total Month, 2), Month)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 10:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359189#M822700</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-07T10:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict listbox to view only two months</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359190#M822701</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Arial; color: #636363;"&gt;=aggr(only({&amp;lt;Month=&amp;nbsp; {'Jan','Feb'}&amp;gt;}Dim),Dim)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 11:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359190#M822701</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-08-07T11:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict listbox to view only two months</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359191#M822702</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;MONTH_YEAR={"&amp;gt;=$(=date(AddMonths(date((max(MONTH_YEAR)),'MM-YYYY'),-1),'MM-YYYY'))&amp;lt;=$(=date((max(MONTH_YEAR)),'MM-YYYY'))"}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 11:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359191#M822702</guid>
      <dc:creator />
      <dc:date>2017-08-07T11:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict listbox to view only two months</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359192#M822703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Date &amp;gt;= Max(TOTAL MonthStart(Date), 2), Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 11:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359192#M822703</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-07T11:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict listbox to view only two months</title>
      <link>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359193#M822704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitya,&lt;/P&gt;&lt;P&gt;Try this as in expression in a listbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(only({$&amp;lt;Date ={"&amp;gt;=$(=Monthstart(max(Date),-1))"}&amp;gt;}Month),Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make a New Sheet Object \ List Box ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Field scroll right down and select &amp;lt;Expression&amp;gt; then enter the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 12:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restrict-listbox-to-view-only-two-months/m-p/1359193#M822704</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-07T12:44:24Z</dc:date>
    </item>
  </channel>
</rss>

