<?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: Selecting items in listbox using variable value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546685#M598665</link>
    <description>Thanks for quick reply. I have added the expression, now list box items are filtered but not selected. Items are in grey colour, I need to select automatically so that colour of list box items will change to green.&lt;BR /&gt;I really appreciate if u can help in this.&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 20 Feb 2019 06:46:57 GMT</pubDate>
    <dc:creator>Shailesh</dc:creator>
    <dc:date>2019-02-20T06:46:57Z</dc:date>
    <item>
      <title>Selecting items in listbox using variable value</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546422#M598663</link>
      <description>Hi,&lt;BR /&gt;I am new to qlik. I have a list box and two variables vStart and vEnd. I need to select items in listbox automatically between vStart and vEnd. For example: List box looks like this: 0 30 60 90 120 If vStart=0 and vEnd=60 then I need to select items 0,30,60. Also variable values are dynamic.&lt;BR /&gt;Any idea..&lt;BR /&gt;Thanks in advance...</description>
      <pubDate>Tue, 19 Feb 2019 14:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546422#M598663</guid>
      <dc:creator>Shailesh</dc:creator>
      <dc:date>2019-02-19T14:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting items in listbox using variable value</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546460#M598664</link>
      <description>&lt;P&gt;if your field is new_field&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;go to list box -&amp;gt; click on the dropr down -&amp;gt; at the last row there is expression -&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=if(new_field &amp;gt;= $(vStart) and new_field &amp;lt;= $(vEnd) ,new_field ,null())&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Feb 2019 15:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546460#M598664</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-19T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting items in listbox using variable value</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546685#M598665</link>
      <description>Thanks for quick reply. I have added the expression, now list box items are filtered but not selected. Items are in grey colour, I need to select automatically so that colour of list box items will change to green.&lt;BR /&gt;I really appreciate if u can help in this.&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 20 Feb 2019 06:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546685#M598665</guid>
      <dc:creator>Shailesh</dc:creator>
      <dc:date>2019-02-20T06:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting items in listbox using variable value</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546735#M598666</link>
      <description>&lt;P&gt;Oh .. I guess i misread&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use your field in list box&lt;/P&gt;&lt;P&gt;go to setting -&amp;gt; triggers-&amp;gt; variables-&amp;gt; on change&lt;/P&gt;&lt;P&gt;select your variables and use this to select the fields&lt;/P&gt;&lt;PRE&gt;=concat(distinct if(new_field &amp;gt;= $(vStart) and new_field &amp;lt;= $(vEnd) ,new_field ,null()),'|')&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;='(' &amp;amp; concat(distinct if(new_field &amp;gt;= $(vStart) and new_field &amp;lt;= $(vEnd) ,new_field ,null()),'|') &amp;amp; ')'&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Feb 2019 08:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546735#M598666</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-20T08:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting items in listbox using variable value</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546956#M598667</link>
      <description>I used your first solution (first post) and to select items I have added 'select all' option in layout---&amp;gt;tick use caption----&amp;gt;tick select all option&lt;BR /&gt;So that I can click select all to select filtered items.&lt;BR /&gt;However in your second solution using trigger when variable value changes list box items are not selecting all the time.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 20 Feb 2019 13:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-items-in-listbox-using-variable-value/m-p/1546956#M598667</guid>
      <dc:creator>Shailesh</dc:creator>
      <dc:date>2019-02-20T13:58:43Z</dc:date>
    </item>
  </channel>
</rss>

