<?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 Store listbox multiple selected value into variables or array in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-listbox-multiple-selected-value-into-variables-or-array/m-p/660848#M474566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue where i want to store selected value in the listbox into variable and use the stored value for analysis, &lt;/P&gt;&lt;P&gt;do i need to use the objectID or just use the listbox title itself?&lt;/P&gt;&lt;P&gt;i need to use it for the marker color so i can separate the marker color for each value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 01:42:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-10T01:42:08Z</dc:date>
    <item>
      <title>Store listbox multiple selected value into variables or array</title>
      <link>https://community.qlik.com/t5/QlikView/Store-listbox-multiple-selected-value-into-variables-or-array/m-p/660848#M474566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue where i want to store selected value in the listbox into variable and use the stored value for analysis, &lt;/P&gt;&lt;P&gt;do i need to use the objectID or just use the listbox title itself?&lt;/P&gt;&lt;P&gt;i need to use it for the marker color so i can separate the marker color for each value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 01:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-listbox-multiple-selected-value-into-variables-or-array/m-p/660848#M474566</guid>
      <dc:creator />
      <dc:date>2014-09-10T01:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Store listbox multiple selected value into variables or array</title>
      <link>https://community.qlik.com/t5/QlikView/Store-listbox-multiple-selected-value-into-variables-or-array/m-p/660849#M474567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the concat() function to store an array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your listbox field was [FieldName] then your variable definition would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat( distinct [FieldName], ' ;' ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will create a long string delimitted by the 2nd arguement in this example a ';' .&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could check the string for the presence of a specific string using substringcount(). If the variable was vSelectedValues this would be a sample usage. Use $ sign expansion to invoke the variable like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE:&amp;nbsp;&amp;nbsp; if( substring( $(vSelectedValues) , 'Sample Value')&amp;nbsp; &amp;gt; 0 ,&amp;nbsp; red(), blue()) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 02:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-listbox-multiple-selected-value-into-variables-or-array/m-p/660849#M474567</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-10T02:16:24Z</dc:date>
    </item>
  </channel>
</rss>

