<?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 object to show always one selected value with flexibility to select more than one value from the list in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237289#M848499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome.&lt;/P&gt;&lt;P&gt;Please close your thread once you feel that your question is answered:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2017 20:39:46 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2017-03-20T20:39:46Z</dc:date>
    <item>
      <title>Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237282#M848492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;A href="https://community.qlik.com/qlik-users/15823" target="_blank"&gt;swuehl&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/2226" target="_blank"&gt;johnw&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/27943" target="_blank"&gt;marcus_sommer&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/61824" target="_blank"&gt;marcowedel&lt;/A&gt;‌&lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="171708" data-objecttype="3" href="https://community.qlik.com/people/stalwar1" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;" target="_blank"&gt;stalwar1&lt;/A&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a list box in my dashboard showing the Year field. I've the following requirement-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1) There will be always one selected value, possibly the current Year,&lt;/P&gt;&lt;P&gt;2) The &lt;STRONG&gt;Clear All &lt;/STRONG&gt;button should not work on the Year field i.e. if you click on Clear All button, the Year selection should not clear.&lt;/P&gt;&lt;P&gt;3) User should have the flexibility to select more than one year value from the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide how to achieve &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;all three together&lt;/STRONG&gt;&lt;/SPAN&gt;. Its a bit urgent so any help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237282#M848492</guid>
      <dc:creator>joydipp1988</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237283#M848493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) We have option called "Always one select value" - This should be check after selection only&lt;/P&gt;&lt;P&gt;2) In fact, Even if you try with Clear All button or in built it won't effect because you have Always one select value checked&lt;/P&gt;&lt;P&gt;3) This case, Might you need one more object which help by Alternate States&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 14:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237283#M848493</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-19T14:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237284#M848494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or go to Setting --&amp;gt;Document Properties --&amp;gt; Triggers&amp;nbsp; --&amp;gt; Document Event Triggers&lt;/P&gt;&lt;P&gt;and setup Trigger for:&lt;/P&gt;&lt;P&gt;1. OnAnySelect (--&amp;gt;Select in Field: Field = Year, Value = 2017)&lt;/P&gt;&lt;P&gt;2. OnOpen by adding an Action (--&amp;gt;Select in Field: Field = Year, Value = 2017)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save doc and restart!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 14:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237284#M848494</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-03-19T14:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237285#M848495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply, but I can't select more than one value from the list box. I have to achieve that as well with high priority.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 14:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237285#M848495</guid>
      <dc:creator>joydipp1988</dc:creator>
      <dc:date>2017-03-19T14:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237286#M848496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. Let see what others suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 14:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237286#M848496</guid>
      <dc:creator>joydipp1988</dc:creator>
      <dc:date>2017-03-19T14:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237287#M848497</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;maybe one solution might be an OnSelect Field Event Trigger on the Year field with a "Select in Field" action and a Search String expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14899682572034195 jive_text_macro" jivemacro_uid="_14899682572034195"&gt;
&lt;P&gt;=If(GetSelectedCount(Year)=0,'('&amp;amp;Concat({$1} DISTINCT Year, '|')&amp;amp;')','('&amp;amp;Concat(DISTINCT Year, '|')&amp;amp;')')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_253869_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156768_QlikCommunity_Thread_253869_Pic1.JPG" style="height: 623px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 00:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237287#M848497</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-03-20T00:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237288#M848498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;Its an wonderful solution. Its working fine. Although need to do some R &amp;amp; D to check how its working. &lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for the help. I'll get back to you after using it more.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Joy&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 15:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237288#M848498</guid>
      <dc:creator>joydipp1988</dc:creator>
      <dc:date>2017-03-20T15:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237289#M848499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome.&lt;/P&gt;&lt;P&gt;Please close your thread once you feel that your question is answered:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 20:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237289#M848499</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-03-20T20:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox object to show always one selected value with flexibility to select more than one value from the list</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237290#M848500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;some other expressions that should work as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(GetSelectedCount(Year),'('&amp;amp;Concat(DISTINCT Year, '|')&amp;amp;')','('&amp;amp;Concat({$1} DISTINCT Year, '|')&amp;amp;')') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='('&amp;amp;Concat($(=If(GetSelectedCount(Year),'','{$1}')) DISTINCT Year, '|')&amp;amp;')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 22:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-object-to-show-always-one-selected-value-with/m-p/1237290#M848500</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-03-20T22:51:48Z</dc:date>
    </item>
  </channel>
</rss>

