<?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: Clear and select field on variable change trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-and-select-field-on-variable-change-trigger/m-p/1562860#M441442</link>
    <description>&lt;P&gt;You don't you simplify your data model to this&lt;/P&gt;&lt;PRE&gt;Table:
CrossTable (Produce, Flag)
LOAD * INLINE [
    Item, Fruit?, Green?, Round?, Peel?
    Apple, Yes, No, Yes, No
    Pear, Yes, No, No, No
    Orange, Yes, No, Yes, Yes
    Banana, Yes, No, No, Yes
    Avocado, Yes, Yes, No, No
    Carrot, No, No, No, No
    Broccoli, No, Yes, No, No
];

FinalTable:
LOAD Item,
	 Produce
Resident Table
Where Flag = 'Yes';

DROP Table Table;&lt;/PRE&gt;&lt;P&gt;and then add a multibox for the new field called Produce to do this?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2019 11:36:10 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-03-29T11:36:10Z</dc:date>
    <item>
      <title>Clear and select field on variable change trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-and-select-field-on-variable-change-trigger/m-p/1562628#M441411</link>
      <description>&lt;P&gt;I have a simple desire to make filter selections when I change a variable in an input box. The problem is, when I use a variable trigger to clear all current selections then "Select in Field" all the the 'Yes' field values, the current selections do not clear and the field selections do not reflect what I have chosen in the the input box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of the behavior I want:&lt;/P&gt;&lt;P&gt;1. I select the field "Fruit?"&lt;/P&gt;&lt;P&gt;2. All data that are fruit are displayed&lt;/P&gt;&lt;P&gt;3. I change my selected field from "Fruit?" to "Green?"&lt;/P&gt;&lt;P&gt;4. The field selection from "Fruit?" is cleared from the current selections&lt;/P&gt;&lt;P&gt;5.&amp;nbsp;All data that are green are displayed&lt;/P&gt;&lt;P&gt;I appreciate any help on this. I have been trying different work-arounds, but nothing seems to be able to update the variable before the trigger happens. &lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture1.PNG" style="width: 756px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9069iB41AA12BD7E2E785/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;(By the way, this seems like I could simply just keep the list boxes, but because of limited screen real estate, I need to consolidate down to a drop down.)&lt;/P&gt;&lt;P&gt;+I'm using version 12&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-and-select-field-on-variable-change-trigger/m-p/1562628#M441411</guid>
      <dc:creator>rothk8675309</dc:creator>
      <dc:date>2024-11-16T21:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Clear and select field on variable change trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-and-select-field-on-variable-change-trigger/m-p/1562860#M441442</link>
      <description>&lt;P&gt;You don't you simplify your data model to this&lt;/P&gt;&lt;PRE&gt;Table:
CrossTable (Produce, Flag)
LOAD * INLINE [
    Item, Fruit?, Green?, Round?, Peel?
    Apple, Yes, No, Yes, No
    Pear, Yes, No, No, No
    Orange, Yes, No, Yes, Yes
    Banana, Yes, No, No, Yes
    Avocado, Yes, Yes, No, No
    Carrot, No, No, No, No
    Broccoli, No, Yes, No, No
];

FinalTable:
LOAD Item,
	 Produce
Resident Table
Where Flag = 'Yes';

DROP Table Table;&lt;/PRE&gt;&lt;P&gt;and then add a multibox for the new field called Produce to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 11:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-and-select-field-on-variable-change-trigger/m-p/1562860#M441442</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-03-29T11:36:10Z</dc:date>
    </item>
  </channel>
</rss>

