<?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 box single selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601000#M546908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use field event trigger on [time period] field to clear it if selectedcount &amp;gt;1. This is some work around to force user to select a single value. The expression to clear field will be if(GetSelectedCount([Time Period])&amp;gt;1,'[Time Period]').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="clear.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/53409_clear.bmp" style="width: 620px; height: 335px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 12:52:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-18T12:52:43Z</dc:date>
    <item>
      <title>List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/600999#M546906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is one list box as 'Time Period' in my report.&lt;/P&gt;&lt;P&gt;There is a requirement that user should be able to select only one value at a time.&lt;/P&gt;&lt;P&gt;But user should also be able to deselect it.So I cant check the always one selected value.&lt;/P&gt;&lt;P&gt;Is there any way to solve this issue.&lt;/P&gt;&lt;P&gt;Please find the attached list box image for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance !!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 12:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/600999#M546906</guid>
      <dc:creator />
      <dc:date>2014-02-18T12:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601000#M546908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use field event trigger on [time period] field to clear it if selectedcount &amp;gt;1. This is some work around to force user to select a single value. The expression to clear field will be if(GetSelectedCount([Time Period])&amp;gt;1,'[Time Period]').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="clear.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/53409_clear.bmp" style="width: 620px; height: 335px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 12:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601000#M546908</guid>
      <dc:creator />
      <dc:date>2014-02-18T12:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601001#M546910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets look at it like this. If the user is able to deselect they are in essence making all values available in any object that references to that field as a dimension. In QlikView, it would be the same as selecting all values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if the chart or object using that value has a calculate conditional for when getselectedcount is one, then I can understand where this would be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion as I know no other way to clear the selection when only 1 selection is enabled is to do one of the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create an input box with a concat function to list all values in a drop down. Forcing the user to select a value or blank&lt;/P&gt;&lt;P&gt;2) Min or MaxString can be used to force QlikView to select one value even though the list box has multiple values. The value that will be used in the object can be represented by a text box indicating which value has taken precedence&lt;/P&gt;&lt;P&gt;3) If your list box contains only a few options, then maybe FieldValue and FieldIndex can be used with a forced element number of 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above is useful to you in any way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron Van Wyk&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewramblings.blogspot.com/" title="http://qlikviewramblings.blogspot.com/"&gt;QlikVieW &amp;amp; Other Ramblings&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 12:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601001#M546910</guid>
      <dc:creator />
      <dc:date>2014-02-18T12:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601002#M546912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV 11 version....&lt;/P&gt;&lt;P&gt;You can use in the listbox properties (General tab);&lt;/P&gt;&lt;P&gt; &lt;IMG alt="oneselected.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53420_oneselected.png" /&gt;&lt;/P&gt;&lt;P&gt;I hope you are asking this information.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Murat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 13:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601002#M546912</guid>
      <dc:creator>makkemik</dc:creator>
      <dc:date>2014-02-18T13:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601003#M546913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I can't check Always one selected value property. Because it will not allow to deselect the option. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 13:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601003#M546913</guid>
      <dc:creator />
      <dc:date>2014-02-18T13:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601004#M546915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can put the empty action in your data for a example "deselect" if you want to deselect your time schedule you can choose that value in filter.&lt;/P&gt;&lt;P&gt;it is the easy way I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Murat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 13:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601004#M546915</guid>
      <dc:creator>makkemik</dc:creator>
      <dc:date>2014-02-18T13:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601005#M546917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can follow the steps below:&lt;/P&gt;&lt;P&gt;1. Go to Document Properties/ field trigger&lt;/P&gt;&lt;P&gt;2. On Select--&amp;gt;Select in Field&lt;/P&gt;&lt;P&gt;3. Time Period&lt;/P&gt;&lt;P&gt;4, in the expression Type:&lt;/P&gt;&lt;P&gt;If(getselectcount(TimePeriod),maxstring(TimePeriod))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way user will be able to select/ deselect values but not multiselect. Instead of Maxstring minstring function can also be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 15:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601005#M546917</guid>
      <dc:creator>gopalopsharma</dc:creator>
      <dc:date>2014-02-18T15:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: List box single selection</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601006#M546918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe like the attached example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 20:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-single-selection/m-p/601006#M546918</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-02-18T20:40:35Z</dc:date>
    </item>
  </channel>
</rss>

