<?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: list boxes -  force filter 2 values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035553#M466926</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document properties -&amp;gt; Trigger -&amp;gt; Field Event Trigger -&amp;gt; Month -&amp;gt; On Select&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Select in Field : Month&lt;/P&gt;&lt;P&gt;Search String: &lt;/P&gt;&lt;P&gt;='('&amp;amp; Concat(DISTINCT {$+&amp;lt;Month = {"$(=Month(MakeDate(Max(Year), Min(Month) -1)))"}&amp;gt;}Month, '|') &amp;amp; ')'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 10:22:57 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2016-01-07T10:22:57Z</dc:date>
    <item>
      <title>list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035549#M466922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing month on month comparisons for KPIs. I want to create a situation where if the user filters for a period, the list box automatically ticks the month before that as well..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, only the current month calculation works.. Is there any way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;,&lt;/P&gt;&lt;P&gt;Lucille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 10:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035549#M466922</guid>
      <dc:creator />
      <dc:date>2016-01-06T10:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035550#M466923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use triggers to accomplish this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt; Check out the attached qvw file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 12:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035550#M466923</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-06T12:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035551#M466924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome thank you.. I can't seem to see the attached qvw file mentioned above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 06:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035551#M466924</guid>
      <dc:creator />
      <dc:date>2016-01-07T06:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035552#M466925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open this link: &lt;A href="https://community.qlik.com/message/945364"&gt;Re: list boxes -  force filter 2 values&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035552#M466925</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-07T10:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035553#M466926</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document properties -&amp;gt; Trigger -&amp;gt; Field Event Trigger -&amp;gt; Month -&amp;gt; On Select&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Select in Field : Month&lt;/P&gt;&lt;P&gt;Search String: &lt;/P&gt;&lt;P&gt;='('&amp;amp; Concat(DISTINCT {$+&amp;lt;Month = {"$(=Month(MakeDate(Max(Year), Min(Month) -1)))"}&amp;gt;}Month, '|') &amp;amp; ')'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035553#M466926</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-01-07T10:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035554#M466927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of Max(Month) , we can use Min(Month) right? Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035554#M466927</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-01-07T10:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035555#M466928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your comments &lt;A _jive_internal="true" href="https://community.qlik.com/people/MayilVahanan"&gt;Mayil&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If we are only selecting a single Month, does it matter that if we use Min or Max (or even Only)? I might be missing something, but what is your logic for using Min(Month) instead of Max(Month)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sunny&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035555#M466928</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-07T10:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035556#M466929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the user select 2 consecutive month like Mar and Apr. In that case Min(Month) -1 gives Feb.&lt;/P&gt;&lt;P&gt;so three month will get select. Feb, Mar and Apr.&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;STRONG&gt; the list box automatically ticks the month before that as well.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But anyway, Its depends on the user requirements. &lt;STRONG&gt;Maximum 2 month or "ticks the month before". &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/STRONG&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035556#M466929</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-01-07T10:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035557#M466930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh okay, but ya I was under the impression that only two months need to be selected based on selection in a single month. But you are right, if the they want to select the third month when 2 are selected then Min(Date) would work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035557#M466930</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-07T10:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: list boxes -  force filter 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035558#M466931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I have managed to get it to work for the Period YYYYMM. I am still struggling to get it to work on the month name, I suspect I just need to play around to get it to see the month name as a date and not as a string &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 11:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/list-boxes-force-filter-2-values/m-p/1035558#M466931</guid>
      <dc:creator />
      <dc:date>2016-01-08T11:32:04Z</dc:date>
    </item>
  </channel>
</rss>

