<?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: Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624366#M1106048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what do you need work with this variable? Can you try with reduction data? With reduction data you can enable to users to see only related information. See reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JFlorian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2014 13:13:58 GMT</pubDate>
    <dc:creator>javier_florian</dc:creator>
    <dc:date>2014-03-26T13:13:58Z</dc:date>
    <item>
      <title>Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624360#M1106042</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 have written the below calculated dimension, in order to restrict the data based on the vCountry variable:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MATCH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LOAD_LOC_REF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vCountry&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LOAD_LOC_REF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MATCH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DISCH_LOC_REF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vCountry&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DISCH_LOC_REF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())&lt;BR /&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;This works perfectly if I then enter for example USA in the input box.&amp;nbsp; It would be appreciated if someone could advise the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;1) How can I enter more than one value eg USA, CAN, BRA etc?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;2) How can I select all countries?&amp;nbsp; Is there a code, or should I create a bookmark?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Thanks for any help with this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 12:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624360#M1106042</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2014-03-26T12:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624361#M1106043</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;Create a variable like VCountry and put default value &lt;SPAN style="color: #666666;"&gt;USA and take input box and type value like see snap shot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55910_Sample2.png" style="width: 620px; height: 538px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 12:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624361#M1106043</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-26T12:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624362#M1106044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And for 2 better you create a Bookmark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624362#M1106044</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-26T13:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624363#M1106045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still slightly confused how I can select all countries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624363#M1106045</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2014-03-26T13:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624364#M1106046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created the bookmark (BM07).&amp;nbsp; How can I enter this as a selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is there a way to rename the bookmark to say 'ALL'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624364#M1106046</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2014-03-26T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624365#M1106047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use Bookmarks for that in input box i believe not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624365#M1106047</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-26T13:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624366#M1106048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what do you need work with this variable? Can you try with reduction data? With reduction data you can enable to users to see only related information. See reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JFlorian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624366#M1106048</guid>
      <dc:creator>javier_florian</dc:creator>
      <dc:date>2014-03-26T13:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624367#M1106049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to allow the user to make a selection where either the load or discharge country is a specific location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user may also wish to only select a specific company, therefore I need to be able to also select all locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As stated above, I have created a bookmark for this.&amp;nbsp; However I am not sure how you select a bookmark in an input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624367#M1106049</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2014-03-26T13:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624368#M1106050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you can use listbox instead of an input box, then you can check out this thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/100785"&gt;Bookmarks in ListBox&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624368#M1106050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-26T13:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624369#M1106051</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;Is there no way to select all values for an input box variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624369#M1106051</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2014-03-26T14:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624370#M1106052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, i'm not sure it is possible...may be someone else can confirm that. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624370#M1106052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-26T14:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624371#M1106053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not selecting any value in a listbox you are effectively selecting all (except rows where there are nulls).&amp;nbsp; To select all just click a listbox and type * and then hit enter.&amp;nbsp; A better approach would be to have a separate field created on load that has a yes/no selection for countries being on your list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(MATCH(trim(LOAD_LOC_REF),'$(vCountry)'),'Yes', 'No') as [Country On List],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then add that as a separate list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you will get better performance from the list box if you calculate the field on load rather than use an expression in the list box, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(MATCH(trim(LOAD_LOC_REF),'$(vCountry)'),LOAD_LOC_REF, null()) as Country,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both of those cases you can do the nested IF on the load script to deal with your pair of location fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A way of selecting without a bookmark is to have a button (I tend to use textboxes with actions) that applies the selection.&amp;nbsp; Simply create teh text box, create a Select In Field action, give the name of your field (eg. Country) and then set the value to be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;("USA"|"CAN"|"BRA")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach will only work with fields, and not calculated expressions - so you would need to create the correct field value on load for that to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that will help move you on a bit.&lt;/P&gt;&lt;P&gt;&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>Wed, 26 Mar 2014 14:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624371#M1106053</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-03-26T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624372#M1106054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the detailed reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately when I enter * in the input box, it doesn't return any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand how your suggestion above would work if I was only looking at one field (ie LOAD_LOC_REF).&amp;nbsp; However I am unsure how to write the code to also look at DISCH_LOC_REF ie where 'selection is LOAD_LOC_REF &lt;STRONG&gt;OR&lt;/STRONG&gt; DISCH_LOC_REF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I am approaching this issue incorrectly.&amp;nbsp; Basically all I am trying to do is have an input/selection box where the user can select either one, two, three or all countries which match either the load &lt;STRONG&gt;OR&lt;/STRONG&gt; discharge location for the trade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone able to attach an example file as to how this can be achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624372#M1106054</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2014-03-26T14:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/624373#M1106055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to create another table in your data model for this.&amp;nbsp; Does your current table have an ID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, the code you need to insert after your existing load will look a bit like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EitherCountry:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD_LOC_REF as [Either Country]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT ExistingTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE NOT IsNull(LOAD_LOC_REF)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EitherCountry:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; DISCH_LOC_REF as [Either Country]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT ExistingTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE NOT IsNull(DISCH_LOC_REF)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;Either Country&lt;/STRONG&gt; field can then be used in a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;WHERE&lt;/STRONG&gt; clause could include your &lt;STRONG&gt;MATCH&lt;/STRONG&gt; statement if you are only interested in countries on your list.&amp;nbsp; Obviously you will need to change the table and field names to match your data model and requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure where the Input Box comes into things here, but the * approach should work with any List Box.&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>Wed, 26 Mar 2014 14:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/624373#M1106055</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-03-26T14:57:16Z</dc:date>
    </item>
  </channel>
</rss>

