<?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 wildmatch and looping though table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239880#M90446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need to be able to load in the team table, or can it be hardcoded?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(1+wildmatch(string,'*LS01*','*LS02*','*LS03*'),'Others','Team 1','Team 2','Team 3') as Team&lt;/P&gt;&lt;P&gt;It's not technically much different than nested ifs, and might be harder to maintain, but I'm guessing it's faster. There has to be a more elegant solution that's still fast, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2010 23:01:39 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-02-16T23:01:39Z</dc:date>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239879#M90445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this data.&lt;/P&gt;&lt;P&gt;if want on each 'string' the correct teamcode. so output should be like this: AALS01DD, 10, *LS01*, team1&lt;/P&gt;&lt;P&gt;so for each record in table2 i want to do a wildmatch on each record in tabel1. and when its a hit then add the correct team.&lt;/P&gt;&lt;P&gt;i'v tried regex: http://community.qlik.com/forums/p/21027/80676.aspx#80676&lt;/P&gt;&lt;P&gt;this works .. but is very slow and i also want, if no hit, then put 'string' into a seperate team (team others)&lt;/P&gt;&lt;P&gt;i'v tried wildmatch: http://community.qlik.com/forums/p/23326/98327.aspx#98327&lt;/P&gt;&lt;P&gt;this is faster, but i dont know how to add the missing 'string' to a seperate team (team others) (the WHERE clause is an issue)&lt;/P&gt;&lt;P&gt;i could use a lot of nestled IFS during loading, but i have to check a table that contains about 50 records. So thats means 50 IFs ..&lt;/P&gt;&lt;P&gt;any ideas? thanks alot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; *LS01*, team1&lt;BR /&gt; *LS02*, team2&lt;BR /&gt; *LS03*, team3&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;table2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt;];&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 22:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239879#M90445</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-16T22:26:52Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239880#M90446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need to be able to load in the team table, or can it be hardcoded?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(1+wildmatch(string,'*LS01*','*LS02*','*LS03*'),'Others','Team 1','Team 2','Team 3') as Team&lt;/P&gt;&lt;P&gt;It's not technically much different than nested ifs, and might be harder to maintain, but I'm guessing it's faster. There has to be a more elegant solution that's still fast, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 23:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239880#M90446</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-16T23:01:39Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239881#M90447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go.&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;table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; *LS01*, team1&lt;BR /&gt; *LS02*, team2&lt;BR /&gt; *LS03*, team3&lt;BR /&gt;];&lt;BR /&gt;table2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt;];&lt;BR /&gt;let MaxVal = NoOfRows('table1') -1;&lt;BR /&gt;for i = 0 to MaxVal&lt;BR /&gt; table3:&lt;BR /&gt; LOAD string, value, peek('description', $(i), 'table1') as team resident table2&lt;BR /&gt; WHERE wildmatch(string, peek('match', $(i), 'table1')) &amp;gt; 0;&lt;BR /&gt;next i&lt;BR /&gt;drop tables table1, table2;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I would use this logic for smaller set of data though. I am sure there are better ways of doing it. I will wait to hear other suggestions.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 23:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239881#M90447</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-16T23:06:34Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239882#M90448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rakesh..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if i add a value to table2: TTLS05QQ, 10&lt;/P&gt;&lt;P&gt;there is no match on tabel1. i want the records with no match, put in the team : others&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 23:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239882#M90448</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-16T23:17:24Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239883#M90449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about combining the two approaches? Use a loop to generate the pick(match()) from the table. You get the load performance of a hardcoded solution, the 'Other' team, and you still get to load your table from whatever source you want:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; *LS01*, team1&lt;BR /&gt; *LS02*, team2&lt;BR /&gt; *LS03*, team3&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;let MaxVal = NoOfRows('table1') -1;&lt;BR /&gt;let vmatch = 'pick(1+wildmatch(string';&lt;BR /&gt;let vteams = '),' &amp;amp; chr(39) &amp;amp; 'others' &amp;amp; chr(39);&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;for i = 0 to MaxVal&lt;BR /&gt; let vmatch = vmatch &amp;amp; ',' &amp;amp; chr(39) &amp;amp; peek('match' ,$(i),'table1') &amp;amp; chr(39);&lt;BR /&gt; let vteams = vteams &amp;amp; ',' &amp;amp; chr(39) &amp;amp; peek('description',$(i),'table1') &amp;amp; chr(39);&lt;BR /&gt;next i&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;let vmatch = vmatch &amp;amp; vteams &amp;amp; ')';&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;DROP TABLE table1;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;table2:&lt;BR /&gt;LOAD *&lt;BR /&gt;,$(vmatch) as description&lt;BR /&gt;INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt; TTLS05QQ, 10&lt;BR /&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 23:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239883#M90449</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-16T23:46:13Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239884#M90450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go:&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;table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; *LS01*, team1&lt;BR /&gt; *LS02*, team2&lt;BR /&gt; *LS03*, team3&lt;BR /&gt;];&lt;BR /&gt;table2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt; TTLS05QQ, 10&lt;BR /&gt;];&lt;BR /&gt;let MaxVal = NoOfRows('table1') -1;&lt;BR /&gt;for i = 0 to MaxVal&lt;BR /&gt; table3:&lt;BR /&gt; LOAD string as newstring, value, peek('description', $(i), 'table1') as team resident table2&lt;BR /&gt; WHERE wildmatch(string, peek('match', $(i), 'table1')) &amp;gt; 0;&lt;BR /&gt;next i&lt;BR /&gt;concatenate(table3)&lt;BR /&gt;LOAD string as newstring, value, 'Others' as team&lt;BR /&gt;RESIDENT table2&lt;BR /&gt;where not exists('newstring', string);&lt;BR /&gt;drop tables table1, table2;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I am sure code from John is working as well. Thanks John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 00:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239884#M90450</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-17T00:29:29Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239885#M90451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's another answer. I think I like this one better than than the generated pick(match()), but you'd have to check the performance vs. the other options, as I'm not sure how fast all these string operations are. It's also a little less flexible than the wildmatch, but might be plenty for your purposes.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;table1:&lt;BR /&gt;MAPPING LOAD&lt;BR /&gt; match&lt;BR /&gt;,':' &amp;amp; description &amp;amp; ':' as description&lt;BR /&gt;INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; LS01, team1&lt;BR /&gt; LS02, team2&lt;BR /&gt; LS03, team3&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;table2:&lt;BR /&gt;LOAD *&lt;BR /&gt;,rangeminstring('others',subfield(mapsubstring('table1',string),':',2)) as description&lt;BR /&gt;INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt; TTLS05QQ, 10&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 00:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239885#M90451</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-17T00:44:08Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239886#M90452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amien,&lt;/P&gt;&lt;P&gt;In your particular case, I would use the following method. It is simple and not too much performance issue (a bit because string manipulation is involved).&lt;/P&gt;&lt;P&gt;The basic logic in your table and field structure is that the matching values in string are in specific positions within the sting values.&lt;/P&gt;&lt;P&gt;2-4-2. The 4 charachters are the ones that need to be looked up. So I have used a simple applymap function.&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;table1:&lt;BR /&gt;mapping LOAD * INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; LS01, team1&lt;BR /&gt; LS02, team2&lt;BR /&gt; LS03, team3&lt;BR /&gt;];&lt;BR /&gt;table2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt; TTLS05QQ, 10&lt;BR /&gt;&lt;BR /&gt;];&lt;BR /&gt;table3:&lt;BR /&gt;Load *,applymap('table1',mid(string,3,4),'others') as Desc resident table2;&lt;BR /&gt;drop table table2;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Let me know if this helps. Again, this will work only if all your string values are structured the way you have given in the example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 02:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239886#M90452</guid>
      <dc:creator />
      <dc:date>2010-02-17T02:07:32Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239887#M90453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you're right that the matching values are always in specific positions, I agree that yours is the correct solution. Well, technically I'd just add the new field to the original load of table 2 instead of creating a table 3, but the applymap is the way to go if you're right about the data format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 02:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239887#M90453</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-17T02:12:42Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239888#M90454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;You mean the following way&lt;/P&gt;&lt;P&gt;table1:&lt;BR /&gt;mapping LOAD * INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; LS01, team1&lt;BR /&gt; LS02, team2&lt;BR /&gt; LS03, team3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;table2:&lt;BR /&gt;Load *,applymap('table1',mid(string,3,4),'others') as Desc;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt; TTLS05QQ, 10&lt;BR /&gt;&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 02:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239888#M90454</guid>
      <dc:creator />
      <dc:date>2010-02-17T02:41:51Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239889#M90455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry .. its possible that the matching values are on a different position. thats why i used the wildcards.&lt;/P&gt;&lt;P&gt;i really like the applymap.. i will see if i can load this two of three times for all the different positions.&lt;/P&gt;&lt;P&gt;or is it possible to use a wildcard in applymap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 07:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239889#M90455</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-17T07:08:26Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239890#M90456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John ... your last solution is quit fast en flexible .. and working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .. gonna test some more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 11:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239890#M90456</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-17T11:02:23Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239891#M90457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Nimish Shah wrote:You mean the following way&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Yeah, almost. I was thinking this, which I suspect is slightly faster than using a preceeding load, though I've never done any performance testing to be certain:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;table1:&lt;BR /&gt;mapping LOAD * INLINE [&lt;BR /&gt; match, description&lt;BR /&gt; LS01, team1&lt;BR /&gt; LS02, team2&lt;BR /&gt; LS03, team3&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;table2:&lt;BR /&gt;Load *,applymap('table1',mid(string,3,4),'others') as Desc&lt;BR /&gt;INLINE [&lt;BR /&gt; string, value&lt;BR /&gt; AALS01DD, 10&lt;BR /&gt; ABLS01EE, 20&lt;BR /&gt; ACLS02GG, 50&lt;BR /&gt; LLLS02EE, 10&lt;BR /&gt; RRLS03QQ, 50&lt;BR /&gt; TTLS05QQ, 10&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;But as we've now learned, it's not what Amien needs. Ah, well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 18:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239891#M90457</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-17T18:28:50Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239892#M90458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Amien wrote:John ... your last solution is quit fast en flexible .. and working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .. gonna test some more&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;OK, good. I was worried about the speed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 18:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239892#M90458</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-17T18:29:41Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239893#M90459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thanks for pointing this out.&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 22:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239893#M90459</guid>
      <dc:creator />
      <dc:date>2010-02-17T22:48:19Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239894#M90460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the Qlikview Cookbook example "Mapping with a table using wildcards"&lt;/P&gt;&lt;P&gt;&lt;A href="http://robwunderlich.com/Download.html"&gt;http://robwunderlich.com/Download.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a variation of the generated pick(match()) shown earlier. I use this technique frequently and have always been happy with the performance and the setup is easy.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239894#M90460</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-02-18T01:35:12Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239895#M90461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heh, looks like I reinvented your wheel, then. And here I thought I was being clever. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239895#M90461</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-18T01:44:38Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239896#M90462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;Thiis is extraordinary!. Very very clean solution.&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 02:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239896#M90462</guid>
      <dc:creator />
      <dc:date>2010-02-18T02:06:53Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239897#M90463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all .. i'v tested about scripts (John and Rob) .. Rob's one is cleaner and more flexibel, but slower (using 3mil records with 1000 strings to match). Working with John's solution at this moment, but still testing futher.&lt;/P&gt;&lt;P&gt;have some issues with matching if i only have 1 word to match and the position of that word is all at the end of the script.&lt;/P&gt;&lt;P&gt;"blablabla test" --&amp;gt; "test" .. scripts puts them in Others .. any ideas John?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 15:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239897#M90463</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-19T15:20:23Z</dc:date>
    </item>
    <item>
      <title>wildmatch and looping though table</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239898#M90464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;i have this:&lt;/P&gt;&lt;P&gt;AAAAAHH:X3433&lt;/P&gt;&lt;P&gt;i want to map on HH:X&lt;/P&gt;&lt;P&gt;i'v changed your script the : to a | (3 times)&lt;/P&gt;&lt;P&gt;i have also a match value 3433 .. and comes before the HH:X&lt;/P&gt;&lt;P&gt;for some reason value 3433 is not matched and always takes the HH:X&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 15:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-and-looping-though-table/m-p/239898#M90464</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-19T15:48:25Z</dc:date>
    </item>
  </channel>
</rss>

