<?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: Filter a List box based on specific name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821984#M1260917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you likely to use this set of names for additional analysis in the future or for other charts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, It is probably worth the time it would take you to create an additional table in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ReportNames:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID, ReportName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234, Alam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5678, Steve&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just an example, you'd want some field you could link to the table that contains the name data you're looking for. Only include the names you want listed. You could also populate this table with a Load Resident statement and filter to get only the records you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just create a listbox with ReportName.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is done, you can use ReportName elsewhere in your application as well and stay away from costly expression constructs involving IF statements and calculated dimensions, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 21:19:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-12T21:19:10Z</dc:date>
    <item>
      <title>Filter a List box based on specific name</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821979#M1260904</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 am trying to filter a list box that has names is it. I want only the names I tell it to show in the list box and all the other names to disappear. Is there an expression I could write where I can put in the names I want the list box to show. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821979#M1260904</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a List box based on specific name</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821980#M1260906</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;you can create a flag in Script for the names you want to show in your listbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Fields,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;if(match(Name, 'X', 'Y', 'Z'), 1) as nameFlag&lt;/P&gt;&lt;P&gt;From XY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your listbox&amp;nbsp; choose &amp;lt;expression&amp;gt; and enter if(match(nameFlag,1), Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 20:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821980#M1260906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T20:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a List box based on specific name</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821981#M1260908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the 'Fields' after load mean the field names in my table? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and From XY, what does xy stand for the table name or a path to my qvd? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 20:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821981#M1260908</guid>
      <dc:creator />
      <dc:date>2014-11-12T20:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a List box based on specific name</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821982#M1260910</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;sorry. First load statement is the table where your Name field is contained. 'Fields' was meant to be all fields in that table and From your source. So simply add this script&amp;nbsp; line when you load the table where Name field is contained&lt;/P&gt;&lt;P&gt;if(match(Name, 'X', 'Y', 'Z'), 1) as nameFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 20:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821982#M1260910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T20:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a List box based on specific name</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821983#M1260914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh I see, got it, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I did this and this is what I get. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;field,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;field,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ASSIGNED, &amp;lt;--Field that im trying to filter. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If(match(ASSIGNED, 'Smith, Joe', 'Doe, Jane'), 1) as nameFlag, &lt;/P&gt;&lt;P&gt;field,&lt;/P&gt;&lt;P&gt;field,&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List box is created with ASSIGNED, and expression I added is if(match(nameFlag,1), ASSIGNED)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get "Bad field name(s); nameFlag ASSIGNED as error on the edit window, and the nameFlag is underlined in red. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 21:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821983#M1260914</guid>
      <dc:creator />
      <dc:date>2014-11-12T21:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a List box based on specific name</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821984#M1260917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you likely to use this set of names for additional analysis in the future or for other charts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, It is probably worth the time it would take you to create an additional table in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ReportNames:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID, ReportName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234, Alam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5678, Steve&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just an example, you'd want some field you could link to the table that contains the name data you're looking for. Only include the names you want listed. You could also populate this table with a Load Resident statement and filter to get only the records you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just create a listbox with ReportName.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is done, you can use ReportName elsewhere in your application as well and stay away from costly expression constructs involving IF statements and calculated dimensions, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 21:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821984#M1260917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T21:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a List box based on specific name</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821985#M1260922</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;when you create the listbox do not choose ASSIGNED in the drop down list, choose &amp;lt;Expression&amp;gt;&amp;nbsp; and type if(match(nameFlag,1), ASSIGNED) in the dialogue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error however suggests that you field isn't spelled like ASSIGNED, did you reload after adding the line If(match(ASSIGNED, 'Smith, Joe', 'Doe, Jane'), 1) as nameFlag, ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 21:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-List-box-based-on-specific-name/m-p/821985#M1260922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T21:24:09Z</dc:date>
    </item>
  </channel>
</rss>

