<?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: Weird behaviour in filtered list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weird-behaviour-in-filtered-list-box/m-p/797299#M281650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, didn't expect that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't associate them because then the unwanted options (those which don't correspond to the selected FIELD1) only show as excluded. Once a value in FIELD2 has been selected, the remaining options corresponding to FIELD1 also show as excluded and hence aren't distinguishable anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to properly hide them and 'Hide excluded' doesn't do the job as it only hides the descriptions but still reserves the spaces and doesn't solve the issue of distinguishing 'valid' options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, it answers my question so thanks! Do you happen to know what the idea behind this is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2015 08:58:49 GMT</pubDate>
    <dc:creator>nafi_qlikview</dc:creator>
    <dc:date>2015-03-13T08:58:49Z</dc:date>
    <item>
      <title>Weird behaviour in filtered list box</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-behaviour-in-filtered-list-box/m-p/797297#M281648</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;I've got two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;KEY, FIELD1&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , ...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;REFKEY, FIELD2&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , ...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD1 is shown in a normal listbox and once a value is selected, I want a second listbox to only show those values of FIELD2 where REFKEY = KEY. This works if I use the following expression for the second listbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(REFKEY = $(=KEY), FIELD2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I've noticed that when I actually select a value in listbox 2, not only FIELD2 in the underlying table gets actively selected (green), but also REFKEY (where value = KEY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this behaviour expected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to work around this 'problem' by using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Only({$ REFKEY={$(=KEY)}} FIELD2), FIELD2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but was still a bit confused as to why this happened in the first place. In the second approach only FIELD2 is actively selected, the corresponding REFKEYs are only marked as possible (white, as expected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on this would by appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 07:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-behaviour-in-filtered-list-box/m-p/797297#M281648</guid>
      <dc:creator>nafi_qlikview</dc:creator>
      <dc:date>2015-03-13T07:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weird behaviour in filtered list box</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-behaviour-in-filtered-list-box/m-p/797298#M281649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that behavior is expected. All the field values of the fields used in the expression are selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you should do instead imho is rename REFKEY to KEY so your tables are properly associated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 08:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-behaviour-in-filtered-list-box/m-p/797298#M281649</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-13T08:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weird behaviour in filtered list box</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-behaviour-in-filtered-list-box/m-p/797299#M281650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, didn't expect that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't associate them because then the unwanted options (those which don't correspond to the selected FIELD1) only show as excluded. Once a value in FIELD2 has been selected, the remaining options corresponding to FIELD1 also show as excluded and hence aren't distinguishable anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to properly hide them and 'Hide excluded' doesn't do the job as it only hides the descriptions but still reserves the spaces and doesn't solve the issue of distinguishing 'valid' options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, it answers my question so thanks! Do you happen to know what the idea behind this is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 08:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-behaviour-in-filtered-list-box/m-p/797299#M281650</guid>
      <dc:creator>nafi_qlikview</dc:creator>
      <dc:date>2015-03-13T08:58:49Z</dc:date>
    </item>
  </channel>
</rss>

