<?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 Require a Minimum of one value selected in a list Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217168#M70413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Under the list box properties look under the Presentation tab (I think) there's a check box 'Always One Value Selected' - check it and even after a 'clear' one value will remain. Hope that helps. Matt&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jul 2010 23:05:48 GMT</pubDate>
    <dc:creator>matt_crowther</dc:creator>
    <dc:date>2010-07-07T23:05:48Z</dc:date>
    <item>
      <title>Require a Minimum of one value selected in a list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217167#M70412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application which has many list boxes for selecting values. One of the list boxes has 100+ entries. If a user does not select at least one value from this list and at least one YEAR the server bogs down for all apps. The database has millions of rows with many fields and values. The General Tab for List Box Properties has a check box for requiring one value to be selected but only one value. I need the ability to require AT LEAST one value, but to have the option of selecting two or more selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 22:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217167#M70412</guid>
      <dc:creator />
      <dc:date>2010-07-07T22:43:57Z</dc:date>
    </item>
    <item>
      <title>Require a Minimum of one value selected in a list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217168#M70413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Under the list box properties look under the Presentation tab (I think) there's a check box 'Always One Value Selected' - check it and even after a 'clear' one value will remain. Hope that helps. Matt&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 23:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217168#M70413</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2010-07-07T23:05:48Z</dc:date>
    </item>
    <item>
      <title>Require a Minimum of one value selected in a list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217169#M70414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Apologies: I should have read the post twice - you've already tried that. Apologies- Matt&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 23:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217169#M70414</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2010-07-07T23:07:57Z</dc:date>
    </item>
    <item>
      <title>Require a Minimum of one value selected in a list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217170#M70415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the document properties, set an "On Open" action of "Select in Field" that pre-selects a value from the list field (lets call it BigList), i usually find either&lt;/P&gt;&lt;P&gt;=max(Biglist)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=min(BigList) works fine&lt;/P&gt;&lt;P&gt;On all your other objects within the document set a "caluclation condition" of&lt;/P&gt;&lt;P&gt;GetSelectedCount(Year)&amp;gt;0 and GetSelectedCount(BigList)&amp;gt;0&lt;/P&gt;&lt;P&gt;and that object wont even attempt to calculate until something is elected in either field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 23:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217170#M70415</guid>
      <dc:creator />
      <dc:date>2010-07-07T23:13:16Z</dc:date>
    </item>
    <item>
      <title>Require a Minimum of one value selected in a list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217171#M70416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do it with a macro OnSelect and OnChange of the field:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sub AtLeastOne()&lt;BR /&gt; set field = ActiveDocument.GetField("ID")&lt;BR /&gt; if field.GetSelectedValues.Count &amp;lt; 1 then&lt;BR /&gt; field.select ActiveDocument.Evaluate("=minstring(ID)")&lt;BR /&gt; end if&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Better if there's a way to do it with an action, but I'm not thinking of how. Not very experienced with actions yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 23:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217171#M70416</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-07T23:46:39Z</dc:date>
    </item>
    <item>
      <title>Require a Minimum of one value selected in a list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217172#M70417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The approach I usually take is to place a calulation condition on the objects that are slow if the selections are not made. Then set a custom message that informs the user "Please select at least one Year and a value".&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 00:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Require-a-Minimum-of-one-value-selected-in-a-list-Box/m-p/217172#M70417</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-07-09T00:23:26Z</dc:date>
    </item>
  </channel>
</rss>

