<?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: Trigger to clear previous date selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536456#M1123233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, that worked!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2014 13:27:44 GMT</pubDate>
    <dc:creator>linoyel</dc:creator>
    <dc:date>2014-01-21T13:27:44Z</dc:date>
    <item>
      <title>Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536449#M1123226</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;In my sheet a user can select either dates (from and to) in the Calendar Object, or he can select Date from separate List Box.&lt;/P&gt;&lt;P&gt;I managed to connect the Calendar Object selections to the Date List Box, so when a user pics From and To dates from the Calendar, in Current Selections box it shows: Date ='&amp;gt;=' &amp;amp;_DateFrom &amp;amp; '&amp;lt;=' &amp;amp; _DateTo (the On Select Trigger).&lt;/P&gt;&lt;P&gt;Now, after this, a user for example wants to select a specific date from Date List Box. Current Selections Box updates in a right way, but the Calendar Object remains with previous selections.&lt;/P&gt;&lt;P&gt;I need a trigger which will erase those selections if the user selects date from Date List Box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 13:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536449#M1123226</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-20T13:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536450#M1123227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with a document trigger&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Menu --&amp;gt; Settimgs --&amp;gt; Document Properties --&amp;gt; Field Event Triggers --&amp;gt; Choose Date field --&amp;gt; On Select --&amp;gt; Add Actions)&lt;/P&gt;&lt;P&gt;The trigger should be&lt;/P&gt;&lt;P&gt;Action Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; External&lt;/P&gt;&lt;P&gt;Actions:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Variable&lt;/P&gt;&lt;P&gt;Variable:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _DateFrom&lt;/P&gt;&lt;P&gt;Value:&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; =null()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // =&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;min(Date) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And add the same action for _DateTo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536450#M1123227</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-20T14:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536451#M1123228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not working because the field _DateFrom and _DateTo in the Calendar are already triggered:&lt;/P&gt;&lt;P&gt;DateFrom&amp;lt;Has Action(s)&amp;gt; --&amp;gt; on select --&amp;gt; (Actions)Select in Field --&amp;gt; (Field) Date --&amp;gt; (Search String) ='&amp;gt;=' &amp;amp;_DateFrom &amp;amp; '&amp;lt;=' &amp;amp; _DateTo &lt;/P&gt;&lt;P&gt;Meaning when user selects something in Calendar he actually selects values from Date field.&lt;/P&gt;&lt;P&gt;I need the reverse action - if user selects values in Date field - I want the previous selection in Calendar (if was) to be emptied &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 15:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536451#M1123228</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-20T15:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536452#M1123229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like your DateFrom and DateTo are fields? Then you would want to set the trigger in your document properties for your field 'Date'. Using OnSelect, add 2 actions of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear Field -&amp;gt; (Field) _DateFrom&lt;/P&gt;&lt;P&gt;Clear Field -&amp;gt; (Field) _DateTo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you select the dates in your listbox, it will clear your To and From dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 15:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536452#M1123229</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-01-20T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536453#M1123230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/145598"&gt;Linoy Barnea&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you have a logical loop.&lt;/P&gt;&lt;P&gt;Selection in _DateTo (_DateFrom) triggers selection in Date.&amp;nbsp; That means, if selection in Date changes _DateTo (_DateFrom), they in turn select Date, which you don't want.&lt;/P&gt;&lt;P&gt;A simple solution is to remove triggers from the _DateTo and_DateFrom fields, and instead add a button "Apply Date Range".&amp;nbsp; So, selections in _DateTo (_DateFrom) don't do anything until you click the button.&amp;nbsp; Besides, it helps to avoid selection before both ends of the range are defined.&amp;nbsp; Just add trigger from &lt;A href="https://community.qlik.com/qlik-users/114213"&gt;jerem1234&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 16:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536453#M1123230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T16:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536454#M1123231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I often find that when you want to and from dates it is easier and more robust to implement these using variables.&amp;nbsp; This way the variables are not affected by selections and you can simply apply the range using Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've uploaded an example of how you can manipulate those date variables using actions on buttons here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4314"&gt;QlikView App: Using Actions To Change Date Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 17:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536454#M1123231</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-20T17:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536455#M1123232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, can't disagree with that.&amp;nbsp; Variables are usually more suitable for this sort of task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linoy,&lt;/P&gt;&lt;P&gt;If you don't like simple solutions, see attached.&amp;nbsp; It uses macro though, and a variable too but in a different way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 17:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536455#M1123232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T17:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536456#M1123233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, that worked!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 13:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536456#M1123233</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-21T13:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536457#M1123234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, what do you mean by saying - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;add a button "Apply Date Range"&lt;/SPAN&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 14:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536457#M1123234</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-21T14:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536458#M1123235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve, thanks for showing an interesting implementation of choosing dates using variables.&lt;/P&gt;&lt;P&gt;I'll probably use it somewhere in the future.&lt;/P&gt;&lt;P&gt;In my case, though, I don't understand how it will help because in my sheet a user can select either date range from Calendar, or Day, Month, Year or Date separately (these are all fields), and what I wanted to do is to connect the selection of separate fields to Calendar object. Well, implementing the "Clear Field" trigger solved my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 14:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536458#M1123235</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-21T14:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536459#M1123236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean to remove all actions from the _DateTo and_DateFrom fields, and instead add a button, and create "select in Date" action there.&amp;nbsp; It may be useful in addition to the solution you have already.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 15:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536459#M1123236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T15:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536460#M1123237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Michael as also said dates can be much more easily applied in expressions when they are coming from variables.&amp;nbsp; If you want the user to select dates by using separate fields and these separate fields need to be applied in various ways you can achieve this by having your calendar in a data island (eg. don't join it to anything else) and then have variables that pick values from that data island, eg. a variable &lt;STRONG&gt;vMaxDate&lt;/STRONG&gt; that contains &lt;STRONG&gt;=max(Date)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a couple of examples uploaded to QlikCommunity looking at applying dates in Set Analysis, for prior period compare, but similar code could be applied for implementing a range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds that your initial problem is fixed, but hopefully these other approaches may give you something to consider in future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 15:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536460#M1123237</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-21T15:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536461#M1123238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, I'm looking now at your "At The Qlik of a Button" presentation, and I'd like to implement it in my work.&lt;/P&gt;&lt;P&gt;In my case it's a bit different: I have a List Box with 4 values, and I want to show a chart I've built only when user picks a certain value from that List. How can I implement that using variables?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 08:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536461#M1123238</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-23T08:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536462#M1123239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it makes sense to have a list box, perhaps as a data island, with those four values in you don't need to use variables.&amp;nbsp; Just have a Show Condition on each chart something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Only(ListBoxName) = 'Chart1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would then need a text box to show when more than one option was picked in the list box, to advise that an option must be made, the Show Condition on that would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=GetPossibleCount(ListBoxName) &amp;lt;&amp;gt; 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do the same using variables, as I would tend to do, you would need to set up four text boxes, each with an action to set a variable to a value, and then the Show Condition would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=vShowWhichChart = 'Chart1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another QlikCommunity example I have uploaded shows show and hid functionality with variables:&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/docs/DOC-4317"&gt;QlikView App: Show and Hide Windows Dynamically&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document on Buttons is backed with a blog post and video, and can be found here:&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/docs/DOC-4289"&gt;QlikView App: At The Qlik Of A Button&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&amp;nbsp; Please post back if you have any more specific questions on implementing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 09:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536462#M1123239</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-23T09:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536463#M1123240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW!&lt;/P&gt;&lt;P&gt;The " &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Only(ListBoxName) = 'Chart1' " &lt;/STRONG&gt;works amazing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When multiple values are selected, you wrote to build a text box &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"to advise that an option must be made" - what do you mean? Should I write in the Text Box that a user must pick only one value? And what if I want to show the chart if at least (not only) one of the relevant selections has been made?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing: I guess I'm missing something in understanding the connection between 4 Text Boxes and 4 values in the List Box. My&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; List Box is not a data island, it's connected to lots of tables and when a user picks one of the values there, he gets information on that selection. If I would like to set Text Boxes instead of each one of the values of the original List Box, how would I connect a Text Box selection to the information which is supposed to be presented on that selection?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 10:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536463#M1123240</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-23T10:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536464#M1123241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a space on the screen where you have hidden an object you ought to put something else in it's place.&amp;nbsp; The simplest approach is a Text Box with text on, saying something like 'Your Selections Must Include Chart 1 To View This Chart' and then the show condition would be the opposite of what you have on the chart, eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Only(ListBoxName) &amp;lt;&amp;gt; 'Chart1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other approach is not to use the Show Conditional, but go for the Calculation Condition instead (on the General tab) you can then set an &lt;STRONG&gt;Error Message&lt;/STRONG&gt; for the Calculation Condition Not Set error, and put your text there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show an object when any one of a number of selections includes the right one you could do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=maxstring({&amp;lt;ListBoxName*={'Chart1'}&amp;gt;}ListBoxName) = 'Chart1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is basically checking for Chart1 in any of the values using Set Analysis, if Chart1 doesn't appear in the list then Null will be returned by the maxstring function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The four text boxes with actions that I referenced were regarding an approach that didn't use listbox values.&amp;nbsp; If the toggle you want is not directly related to the data - rather just user selection - then I find buttons and variables a better approach.&amp;nbsp; It doesn't sound like that is the case for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 10:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536464#M1123241</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-23T10:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to clear previous date selection</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536465#M1123242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, thanks for your help and the examples, I've tried all you've presented and it worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;In my case user selections actually are related to data, so I understand I have to stay with List Boxes meanwhile.&lt;/P&gt;&lt;P&gt;The " only([Tran Type]) = 'Declined' " was exactly what I was looking for to implement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 13:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-clear-previous-date-selection/m-p/536465#M1123242</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2014-01-23T13:05:02Z</dc:date>
    </item>
  </channel>
</rss>

