<?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 Filter listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-listbox/m-p/544665#M203450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a country field where it has all the countries in the world (200+),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this particular table, it only applies to ten countries and i would like to filter the list box just for the 10 countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done on listbox, expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am facing a problem on fields that is like, China,Asia. Those fields that contain comma does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Country = China,Asia,'China')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = China &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(44) &amp;amp; Asia,China, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Both of the code does not work. *note, countries that do not have comma in the field will not have this problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2013 01:49:56 GMT</pubDate>
    <dc:creator>n1ef5ng1</dc:creator>
    <dc:date>2013-08-29T01:49:56Z</dc:date>
    <item>
      <title>Filter listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-listbox/m-p/544665#M203450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a country field where it has all the countries in the world (200+),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this particular table, it only applies to ten countries and i would like to filter the list box just for the 10 countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done on listbox, expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am facing a problem on fields that is like, China,Asia. Those fields that contain comma does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Country = China,Asia,'China')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = China &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(44) &amp;amp; Asia,China, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Both of the code does not work. *note, countries that do not have comma in the field will not have this problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 01:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-listbox/m-p/544665#M203450</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2013-08-29T01:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-listbox/m-p/544666#M203451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;if(Country = 'China,Asia','China')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not working can you attach some sample data and output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 03:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-listbox/m-p/544666#M203451</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-08-29T03:50:30Z</dc:date>
    </item>
  </channel>
</rss>

