<?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 List Box search values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155862#M31953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think my question is not clear here , what i need is a list box which displays&lt;/P&gt;&lt;P&gt;Orthogonal and Incremental&lt;/P&gt;&lt;P&gt;When i select Orthogonal from that list box it should give me the data for cornorTool values in which Orthogonal is present.&lt;/P&gt;&lt;P&gt;Samething with Incremental.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Aug 2010 23:38:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-10T23:38:31Z</dc:date>
    <item>
      <title>List Box search values</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155859#M31950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Below are some of the value i have got for one of my columns CornerTool :&lt;/P&gt;&lt;P&gt;Value1 : "SERIAL-LOCAL;Orthogonal;&lt;/P&gt;&lt;P&gt;Value 2 : PARALLEL-LSF;Incremental;smartDCOP=t&lt;/P&gt;&lt;P&gt;Value 3 : SERIAL-LOCAL;Factorial;smartDCOP=t&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to have a filter list box which should display Incremental and Orthogonal.When the user clicks on Orthogonal , all the values in which the work Orthogonal is there should be select , same thing with Incremental.&lt;/P&gt;&lt;P&gt;How do i achive this..&lt;/P&gt;&lt;P&gt;Please Help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 22:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155859#M31950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-10T22:30:36Z</dc:date>
    </item>
    <item>
      <title>List Box search values</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155860#M31951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood your question, create a new field in the script:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;subfield(CornerTool,2) as NewField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 22:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155860#M31951</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-10T22:38:23Z</dc:date>
    </item>
    <item>
      <title>List Box search values</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155861#M31952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think my question is not clear here , what i need is a list box which displays&lt;/P&gt;&lt;P&gt;Orthogonal and Incremental&lt;/P&gt;&lt;P&gt;When i select Orthogonal from that list box it should give me the data for cornorTool values in which Orthogonal is present.&lt;/P&gt;&lt;P&gt;Samething with Incremental.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 23:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155861#M31952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-10T23:38:21Z</dc:date>
    </item>
    <item>
      <title>List Box search values</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155862#M31953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think my question is not clear here , what i need is a list box which displays&lt;/P&gt;&lt;P&gt;Orthogonal and Incremental&lt;/P&gt;&lt;P&gt;When i select Orthogonal from that list box it should give me the data for cornorTool values in which Orthogonal is present.&lt;/P&gt;&lt;P&gt;Samething with Incremental.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 23:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155862#M31953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-10T23:38:31Z</dc:date>
    </item>
    <item>
      <title>List Box search values</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155863#M31954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And I guess I'm still not understanding, because even based on your clarification, what I said sounds like the solution. Well, except I have a bug in it since I didn't include the delimiter:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;subfield(CornerTool,';',2) as NewField&lt;/P&gt;&lt;P&gt;Or are you trying to say you don't want 'Factorial' as a value? I suppose we could do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(match(subfield(CornerTool,';',2),'Incremental','Orthogonal'),subfield(CornerTool,';',2)) as NewField2&lt;/P&gt;&lt;P&gt;See attached for it doing what I think you're asking for. Or am I still not getting it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 23:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155863#M31954</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-10T23:51:00Z</dc:date>
    </item>
    <item>
      <title>List Box search values</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155864#M31955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can also use the functions wildmatch and upper. It doesn't matter where the location of the values are stored within&lt;/P&gt;&lt;P&gt;the string. As long as there is a value called Orthogonal or Incremental in the string, it will be displayed in the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD *&lt;BR /&gt;,subfield(CornerTool,';',2) as NewField&lt;BR /&gt;,if(match(subfield(CornerTool,';',2),'Incremental','Orthogonal'),subfield(CornerTool,';',2)) as NewField2&lt;BR /&gt;,if(wildmatch(upper(CornerTool),'*INCREMENTAL*'),'Incremental',&lt;BR /&gt; if(wildmatch(upper(CornerTool),'*ORTHOGONAL*'),'Orthogonal')) as NewField3&lt;BR /&gt;INLINE [&lt;BR /&gt;CornerTool&lt;BR /&gt;SERIAL-LOCAL;Orthogonal;&lt;BR /&gt;PARALLEL-LSF;Incremental;smartDCOP=t&lt;BR /&gt;SERIAL-LOCAL;Factorial;smartDCOP=t&lt;BR /&gt;];&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 00:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155864#M31955</guid>
      <dc:creator />
      <dc:date>2010-08-11T00:31:04Z</dc:date>
    </item>
    <item>
      <title>List Box search values</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155865#M31956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works too, and is perhaps more clear. However, the reason I wouldn't recommend it is that you're buying yourself more maintenance trouble when you need to add new values. With the subfield expression, if you add another five values, you just add them directly to a list. With the wildmatch approach, you have to have a new line of code for every value, and the value appears twice in each new line of code, making a typo more likely.&lt;/P&gt;&lt;P&gt;Mind you, if the list gets very long, neither approach is truly ideal. We might want to consider using an inline mapping table, giving us yet another option (and I'll go ahead and do the upper to initial caps conversion like you did):&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Keep:&lt;BR /&gt;MAPPING LOAD X, X as Y INLINE [&lt;BR /&gt;X&lt;BR /&gt;Incremental&lt;BR /&gt;Orthogonal&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;,applymap('Keep',capitalize(subfield(CornerTool,';',2)),null()) as NewField3&lt;/P&gt;&lt;P&gt;There might be an even cleaner way, but that's as clean as it gets at least for how much you add for each new value. It's just each new value, no quotes or commas, and it's in a logical, organized place. Probably not worth it unless we have more values, though. I'd probably switch over at around five or ten values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 00:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-search-values/m-p/155865#M31956</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-11T00:47:01Z</dc:date>
    </item>
  </channel>
</rss>

