<?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: ListBox - Always at least one Selected Value needed (not Always One Selected Value) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322878#M118940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just what I'm looking for, but I'm struggling to apply it to my measures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is called 'Location', and I would like it to default to 'London'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm trying: &lt;/P&gt;&lt;P&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;='('&amp;amp;if(GetSelectedCount( Location)=0,'London'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;),GetFieldSelections( Location,'|' ) )&amp;amp;')'&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; line-height: 1.5em;"&gt;&lt;BR /&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; line-height: 1.5em;"&gt;But that doesn't seem to be right. &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; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Are you able to advise? &lt;BR /&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Dec 2015 14:20:19 GMT</pubDate>
    <dc:creator>jessica_webb</dc:creator>
    <dc:date>2015-12-21T14:20:19Z</dc:date>
    <item>
      <title>ListBox - Always at least one Selected Value needed (not Always One Selected Value)</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322874#M118936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to have my Listbox (Qlikview 10.0 SR2) have the behavior or allowing many selections but always have at least one selected.&amp;nbsp; I am aware of the Property "Always One Selected value", but this is not the behavior I want.&amp;nbsp; I want "Always One or more selected values".&amp;nbsp; How can I acheive this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 20:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322874#M118936</guid>
      <dc:creator />
      <dc:date>2012-01-31T20:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox - Always at least one Selected Value needed (not Always One Selected Value)</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322875#M118937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use triggers in Settings - Document properties for a Field Event (OnChange and OnSelect) to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if your field is Month, select Action Select - Select in Field with field &lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;and as search string&lt;/P&gt;&lt;P&gt;﻿='('&amp;amp;if(GetSelectedCount( Month )=0,month(today()),GetFieldSelections( Month,'|' ) )&amp;amp;')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will have always one or more values selected (if you clear the selection, the month of today is selected).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 20:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322875#M118937</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-31T20:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox - Always at least one Selected Value needed (not Always One Selected Value)</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322876#M118938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This is a great solution.&amp;nbsp; Thanks for the help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 15:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322876#M118938</guid>
      <dc:creator />
      <dc:date>2012-02-01T15:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox - Always at least one Selected Value needed (not Always One Selected Value)</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322877#M118939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice Solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 20:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322877#M118939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T20:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox - Always at least one Selected Value needed (not Always One Selected Value)</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322878#M118940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just what I'm looking for, but I'm struggling to apply it to my measures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is called 'Location', and I would like it to default to 'London'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm trying: &lt;/P&gt;&lt;P&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;='('&amp;amp;if(GetSelectedCount( Location)=0,'London'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;),GetFieldSelections( Location,'|' ) )&amp;amp;')'&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; line-height: 1.5em;"&gt;&lt;BR /&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; line-height: 1.5em;"&gt;But that doesn't seem to be right. &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; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Are you able to advise? &lt;BR /&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 14:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322878#M118940</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2015-12-21T14:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox - Always at least one Selected Value needed (not Always One Selected Value)</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322879#M118941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jessica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to remove the closing bracket after 'London':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;='('&amp;amp;if(GetSelectedCount( Location)=0,'London'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;,GetFieldSelections( Location,'|' ) )&amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Always-at-least-one-Selected-Value-needed-not-Always-One/m-p/322879#M118941</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-21T17:31:57Z</dc:date>
    </item>
  </channel>
</rss>

