<?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 with formula - automatic deselection in other listboxes? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341020#M125993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you mean disappear? Can you explain or else post a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2012 11:49:43 GMT</pubDate>
    <dc:creator>sivarajs</dc:creator>
    <dc:date>2012-09-28T11:49:43Z</dc:date>
    <item>
      <title>Listbox with formula - automatic deselection in other listboxes?</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341016#M125989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our data contains Countries and Products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The country gets selected first, then we would like to see a listbox showing only the products of that country (reason for this: access rights are per country, so products for other countries should not be visible/ selectable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked fine by creating a variable (Variable_Country_Selection) and using the following formula:&lt;/P&gt;&lt;P&gt;if(Country=&lt;EM&gt;Variable_Country_Selection&lt;/EM&gt;,Product)&lt;/P&gt;&lt;P&gt;This variable is set at the same tiime as the country selection (actions on a button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is one big problem:&lt;/P&gt;&lt;P&gt;Whenever the product is deselected, the country is automatically deselected as well (and vice versa), while &lt;EM&gt;Variable_Country_Selection&lt;/EM&gt; remains the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Poland&lt;/P&gt;&lt;P&gt;Variable_Country_Selection:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Poland&lt;/P&gt;&lt;P&gt;Product:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I deselect the Product, the selection changes to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no Country selected (which doesn't happen without the listbox formula)&lt;/P&gt;&lt;P&gt;Variable_Country_Selection:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Poland&lt;/P&gt;&lt;P&gt;Product:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no Product selected (correct)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I deselect the Country, the selection changes to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no Country selected (correct)&lt;/P&gt;&lt;P&gt;Variable_Country_Selection:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Poland&lt;/P&gt;&lt;P&gt;Product:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no Product selected (which doesn't happen without the listbox formula)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you know a way to change a listbox to:&lt;/P&gt;&lt;P&gt;- show only the products of a particular country, after the country was selected&lt;/P&gt;&lt;P&gt;- Selection / Deselection functions normally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance for your suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 10:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341016#M125989</guid>
      <dc:creator />
      <dc:date>2012-05-08T10:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with formula - automatic deselection in other listboxes?</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341017#M125990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 13:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341017#M125990</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-05-08T13:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with formula - automatic deselection in other listboxes?</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341018#M125991</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;If you need confidentiality I would suggest that you use section access and data reduction. Otherwise the data is still in the QV file, and any modification, to the file, or a binary load of the file will expose the confidential information to anyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The manual covers this and there are many posts on this forum on using data reduction to display confidential information in a secure way to authorised users only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 16:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341018#M125991</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-08T16:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with formula - automatic deselection in other listboxes?</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341019#M125992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had a look at your application and it has the problem solved.&lt;/P&gt;&lt;P&gt;However, if you have a situation where you have more than 1 product for a customer the list of products correctly shows only the relevant items after you select a customer but when you select any of the products the other ones disappear. Any ideas how to fix this by for instance graying out the others that still apply to the customer but were not selected, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Artur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 11:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341019#M125992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-28T11:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with formula - automatic deselection in other listboxes?</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341020#M125993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you mean disappear? Can you explain or else post a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 11:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341020#M125993</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-09-28T11:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox with formula - automatic deselection in other listboxes?</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341021#M125994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the sample posted by you and modified the table so now there are 2 products for customer A: xyz and ccc. &lt;/P&gt;&lt;P&gt;They display on your smart list ("Based on selection A") when you select customer A. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i meant was that once you select any of the two products (e.g. xyz) the other one (ccc) disappears from the smart list and you need to click xyz again to remove selection and to be able to see them both again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: coud you have the smart list to still show ccc after selecting xyz? and not showing products related to other customers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;&lt;P&gt;Artur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-with-formula-automatic-deselection-in-other-listboxes/m-p/341021#M125994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-28T12:02:15Z</dc:date>
    </item>
  </channel>
</rss>

