<?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 limited selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221658#M74455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;Interesting thought but I don't think it can be done, as a matter of interest, why would you want to do it as there might be another way to provide a solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 17:23:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-22T17:23:38Z</dc:date>
    <item>
      <title>limited selections</title>
      <link>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221657#M74454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Say, I have a list box with 10 items. How should I limit the selections up to 5 only?&lt;/P&gt;&lt;P&gt;Thanks in advance and more power!&lt;/P&gt;&lt;P&gt;Jason ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 09:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221657#M74454</guid>
      <dc:creator>jasonseril</dc:creator>
      <dc:date>2010-04-22T09:09:15Z</dc:date>
    </item>
    <item>
      <title>limited selections</title>
      <link>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221658#M74455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;Interesting thought but I don't think it can be done, as a matter of interest, why would you want to do it as there might be another way to provide a solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 17:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221658#M74455</guid>
      <dc:creator />
      <dc:date>2010-04-22T17:23:38Z</dc:date>
    </item>
    <item>
      <title>limited selections</title>
      <link>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221659#M74456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be done by a macro. It should count the slected values, and if it's &amp;gt;5, produce a message, and maybe apply some default selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 19:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221659#M74456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-22T19:48:03Z</dc:date>
    </item>
    <item>
      <title>limited selections</title>
      <link>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221660#M74457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;I think you can do this by adding a trigger that fires everytime the user makes a selection for the field. The trigger tests the count of values in the field and if it's &amp;gt;5, then the trigger clears the selection for the field.&lt;/P&gt;&lt;P&gt;For an example I used a field named YEAR. So in Document Properties -- Triggers tab, add a Field Event Trigger for the OnSelect event for the field YEAR.&lt;/P&gt;&lt;P&gt;Use the Action "Select In Field". For "Field" I entered =if(count(YEAR))&amp;gt;5,'YEAR','') for "Search String" I entered just an equals sign.&lt;/P&gt;&lt;P&gt;So if the count(YEAR) is &amp;gt; 5 then the trigger clears the selection on the field YEAR. If &amp;lt;= 5 the trigger does nothing.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 20:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221660#M74457</guid>
      <dc:creator />
      <dc:date>2010-04-22T20:30:40Z</dc:date>
    </item>
    <item>
      <title>limited selections</title>
      <link>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221661#M74458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example I had lying around using the macro approach. It forces at least one selection, and doesn't allow more than 5 selections. Easy enough to remove the "at least one selection" part of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 00:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221661#M74458</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-23T00:37:42Z</dc:date>
    </item>
    <item>
      <title>limited selections</title>
      <link>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221662#M74459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the quick and wonderful answers. I really appreciate it. Thanks John for the example, this is what I'm looking for.&lt;/P&gt;&lt;P&gt;jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 01:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-selections/m-p/221662#M74459</guid>
      <dc:creator>jasonseril</dc:creator>
      <dc:date>2010-04-23T01:17:14Z</dc:date>
    </item>
  </channel>
</rss>

