<?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: Dynamic listbox capability in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079543#M359906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;different approach, perhaps a bit complicated for your scenario, but with this expression you're able to use even functions or complex wildcards instead of just {"*"} or {"blue","green"} ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Full&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Partial&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; blue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; green&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; red&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; yellow&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="122332" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122332_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="122342" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/122342_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(Selection)='Full','("'&amp;amp; Concat({&amp;lt;"Color"={"*"}&amp;gt;}&amp;nbsp; DISTINCT "Color", '"|"') &amp;amp;'")',&lt;/P&gt;&lt;P&gt;if(GetFieldSelections(Selection)='Partial','("'&amp;amp; Concat({&amp;lt;"Color"={"blue","green"}&amp;gt;}&amp;nbsp; DISTINCT "Color", '"|"') &amp;amp;'")') )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2016 17:31:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-21T17:31:54Z</dc:date>
    <item>
      <title>Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079540#M359903</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;I have been trying with no success to populate a listbox dynamically based on the selection of another listbox.&amp;nbsp; I have tried to use an expression, but I seem to missing something.&amp;nbsp; Below is a description of what I am trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listbox1 = View &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Full&lt;/LI&gt;&lt;LI&gt;Partial&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listbox2 = Colors&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Blue&lt;/LI&gt;&lt;LI&gt;Green&lt;/LI&gt;&lt;LI&gt;Red&lt;/LI&gt;&lt;LI&gt;Yellow&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click on Full from the View listbox I want to see all values in the Colors listbox, but when I click on Partial from the View listbox I only want "Blue" and "Green" to appear in the Colors listbox.&amp;nbsp; Can this be achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079540#M359903</guid>
      <dc:creator />
      <dc:date>2016-04-21T16:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079541#M359904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a table in the script that relates the values of the two fields with each other:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;View, Colors&lt;/P&gt;&lt;P&gt;Full, Blue&lt;/P&gt;&lt;P&gt;Full, Green&lt;/P&gt;&lt;P&gt;Full, Red&lt;/P&gt;&lt;P&gt;Full, Yellow&lt;/P&gt;&lt;P&gt;Partial, Blue&lt;/P&gt;&lt;P&gt;Partial, Green&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you click on Full the Colors listbox will show all colors and if you click Partial the listbox will show only blue and green&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 17:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079541#M359904</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-21T17:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079542#M359905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very close to what I am looking for, but one side effect.&amp;nbsp; When I click on partial it shows all values, but red and yellow have a greyed out background.&amp;nbsp; What I want is to only show blue and green.&amp;nbsp; I clicked the hide checkbox, but it only shows the one that is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 17:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079542#M359905</guid>
      <dc:creator />
      <dc:date>2016-04-21T17:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079543#M359906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;different approach, perhaps a bit complicated for your scenario, but with this expression you're able to use even functions or complex wildcards instead of just {"*"} or {"blue","green"} ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Full&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Partial&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; blue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; green&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; red&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; yellow&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="122332" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122332_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="122342" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/122342_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(Selection)='Full','("'&amp;amp; Concat({&amp;lt;"Color"={"*"}&amp;gt;}&amp;nbsp; DISTINCT "Color", '"|"') &amp;amp;'")',&lt;/P&gt;&lt;P&gt;if(GetFieldSelections(Selection)='Partial','("'&amp;amp; Concat({&amp;lt;"Color"={"blue","green"}&amp;gt;}&amp;nbsp; DISTINCT "Color", '"|"') &amp;amp;'")') )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 17:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079543#M359906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T17:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079544#M359907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the default nature of Qlikview &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;...which ever you select will be highlighted in Green and relevant data in White and un-related data in grey....hide exclude will hide only the non relative data in our case you have selected the either green or blue value in the list box i guess...don't select any value in the list box and then check &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079544#M359907</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-21T18:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079545#M359908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend against it, but you can use an expression instead of a field in the multibox to hide the unselected values: =aggr(Colors, Colors)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079545#M359908</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-21T18:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079546#M359909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The =aggr(Colors, Colors) expression is the closest to what I am trying to achieve.&amp;nbsp; Why do you recommend against using the aggr?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079546#M359909</guid>
      <dc:creator />
      <dc:date>2016-04-21T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic listbox capability</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079547#M359910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have some linkage between these 2 list boxes then directly use hide excluded option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-listbox-capability/m-p/1079547#M359910</guid>
      <dc:creator>Pulkit_Thukral</dc:creator>
      <dc:date>2016-04-21T18:28:32Z</dc:date>
    </item>
  </channel>
</rss>

