<?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: Match string to substring from another table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797053#M664965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will the URL ever have a numeric value in it aside from the ID?&amp;nbsp; If that is the case you could just use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEEPCHAR(URL,1234567890) AS ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit cancel this I just re-read the last option where it stated you may have an numeric other than the ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 20:17:23 GMT</pubDate>
    <dc:creator>NickHoff</dc:creator>
    <dc:date>2015-01-15T20:17:23Z</dc:date>
    <item>
      <title>Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797048#M664954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine two simple tables - one with IDs and the other with u&lt;SPAN style="font-size: 13.63636302948px;"&gt;rls. &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.63636302948px; line-height: 1.5em;"&gt;Each url contains one ID, the ID position in the url is not fixed, and urls might also contain other non-ID numbers as the last example in Table2. &lt;/SPAN&gt;Simple Left(), SubField(), KeepChar() won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="133.77777767181396" style="border: 1px solid #000000; width: 291.777777671814px; height: 135.777777671814px;" width="288.77777767181396"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: left; color: #ffffff; padding: 2px; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: left; color: #ffffff; padding: 2px; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;category&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;1111&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;2222&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;3333&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;c&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;4444&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;d&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;5555&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left;"&gt;e&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;Table2&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="131.77777767181396" style="border: 1px solid #000000; width: 293.777777671814px; height: 66.777777671814px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: left; color: #ffffff; padding: 2px; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;urls&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.ipsum.com/1111/lorem" title="http://www.ipsum.com/1111/lorem"&gt;http://www.ipsum.com/1111/lorem&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.ipsum.com/lorem/2222" title="http://www.ipsum.com/lorem/2222"&gt;http://www.ipsum.com/lorem/2222&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.lorem.com/3333/lorem" title="http://www.lorem.com/3333/lorem"&gt;http://www.lorem.com/3333/lorem&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;A href="http://www.lorem.com/ipsum/lorem/4444" title="http://www.lorem.com/ipsum/lorem/4444"&gt;http://www.lorem.com/ipsum/lorem/4444&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;/231/lorem/5555/lorem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;I tried to extract the IDs from the urls with &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;&lt;EM&gt;If(IsNum(url_sub) and Len(url_sub) = 4, url_sub, Null())&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt; which somehow works as an expression but not in the script. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Probably Mapping and MapSubString() is the best option but I &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;couldn't&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; make it work either. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Do you have any ideas? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ivelin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 12:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797048#M664954</guid>
      <dc:creator />
      <dc:date>2015-01-15T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797049#M664955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivelin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I used this script. I wasn't sure the final data model you were looking for so i guessed. Hopefully the script and the attached dashboard will help. THe script was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ids:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, category, visits&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1111, a, 100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2222, b, 200&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3333, c, 300&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4444, d, 400&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5555, e, 500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 6666, f, 600&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;urls:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url, pages&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ipsum.com/1111/lorem" rel="nofollow"&gt;http://www.ipsum.com/1111/lorem&lt;/A&gt;&lt;SPAN&gt;, 10&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ipsum.com/lorem/2222" rel="nofollow"&gt;http://www.ipsum.com/lorem/2222&lt;/A&gt;&lt;SPAN&gt;, 20&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.lorem.com/3333/lorem" rel="nofollow"&gt;http://www.lorem.com/3333/lorem&lt;/A&gt;&lt;SPAN&gt;, 30&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.lorem.com/ipsum/lorem/4444" rel="nofollow"&gt;http://www.lorem.com/ipsum/lorem/4444&lt;/A&gt;&lt;SPAN&gt;, 40&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lorem/5555/lorem, 50&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; /12/ipsum/6666, 60 &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;Left Join(ids)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load url, if(isnum([Sub-url]) and len(trim([Sub-url]))=4, [Sub-url]) as id, pages&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where isnum([Sub-url]) and len(trim([Sub-url]))=4;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load url,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;subfield(url, '/') as [Sub-url],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pages&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident urls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table urls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 17:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797049#M664955</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2015-01-15T17:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797050#M664956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't get your requirement. what is the expected output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797050#M664956</guid>
      <dc:creator />
      <dc:date>2015-01-15T18:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797051#M664957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="1.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75419_1.png" style="height: auto; width: auto;" /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ids:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, category, visits&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1111, a, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2222, b, 200&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3333, c, 300&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4444, d, 400&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5555, e, 500&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 6666, f, 600&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//urls:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (ids)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD rowno() as row, url, pages, SubField(url, '/') as id INLINE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url, pages&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ipsum.com/1111/lorem" rel="nofollow"&gt;http://www.ipsum.com/1111/lorem&lt;/A&gt;&lt;SPAN&gt;, 10&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ipsum.com/lorem/2222" rel="nofollow"&gt;http://www.ipsum.com/lorem/2222&lt;/A&gt;&lt;SPAN&gt;, 20&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.lorem.com/3333/lorem" rel="nofollow"&gt;http://www.lorem.com/3333/lorem&lt;/A&gt;&lt;SPAN&gt;, 30&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.lorem.com/ipsum/lorem/4444" rel="nofollow"&gt;http://www.lorem.com/ipsum/lorem/4444&lt;/A&gt;&lt;SPAN&gt;, 40&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lorem/5555/lorem, 50&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; /12/ipsum/6666, 60&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797051#M664957</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-01-15T19:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797052#M664963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One minor improvement. This part will also work:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LEFT JOIN(ids)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD url, [Sub-url] AS id, pages&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WHERE isnum([Sub-url]) AND len(trim([Sub-url]))=4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD url,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;subfield(url, '/') AS [Sub-url],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;pages&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT urls;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No need to test&amp;amp;transform the sub-url if the where clause already filters out everything else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 20:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797052#M664963</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-01-15T20:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797053#M664965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will the URL ever have a numeric value in it aside from the ID?&amp;nbsp; If that is the case you could just use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEEPCHAR(URL,1234567890) AS ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit cancel this I just re-read the last option where it stated you may have an numeric other than the ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 20:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797053#M664965</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-01-15T20:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797054#M664966</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 could create an additional link table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75431" alt="QlikCommunity_Thread_148524_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75431_QlikCommunity_Thread_148524_Pic1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75432" alt="QlikCommunity_Thread_148524_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/75432_QlikCommunity_Thread_148524_Pic2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14213623577189007" jivemacro_uid="_14213623577189007"&gt;
&lt;P&gt;Table1:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2061" data-containertype="14" data-objectid="148524" data-objecttype="1" href="https://community.qlik.com/thread/148524"&gt;http://community.qlik.com/thread/148524&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Table2:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(urls) as %URLid&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2061" data-containertype="14" data-objectid="148524" data-objecttype="1" href="https://community.qlik.com/thread/148524"&gt;http://community.qlik.com/thread/148524&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @2);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabLink:&lt;/P&gt;
&lt;P&gt;LOAD %URLid,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id2 as id&lt;/P&gt;
&lt;P&gt;Where Exists (id, id2);&amp;nbsp; &lt;/P&gt;
&lt;P&gt;LOAD %URLid,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(urls, '/') as id2&lt;/P&gt;
&lt;P&gt;Resident Table2;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 22:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797054#M664966</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-15T22:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Match string to substring from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797055#M664967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ids:&lt;/P&gt;&lt;P&gt;LOAD * INLINE&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, category, visits&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1111, a, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2222, b, 200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3333, c, 300&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4444, d, 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5555, e, 500&lt;/P&gt;&lt;P&gt;&amp;nbsp; 6666, f, 600&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//urls:&lt;/P&gt;&lt;P&gt;left join (ids)&lt;/P&gt;&lt;P&gt;LOAD * INLINE&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url, pages&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ipsum.com/1111/lorem" rel="nofollow"&gt;http://www.ipsum.com/1111/lorem&lt;/A&gt;&lt;SPAN&gt;, 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ipsum.com/lorem/2222" rel="nofollow"&gt;http://www.ipsum.com/lorem/2222&lt;/A&gt;&lt;SPAN&gt;, 20&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.lorem.com/3333/lorem" rel="nofollow"&gt;http://www.lorem.com/3333/lorem&lt;/A&gt;&lt;SPAN&gt;, 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.lorem.com/ipsum/lorem/4444" rel="nofollow"&gt;http://www.lorem.com/ipsum/lorem/4444&lt;/A&gt;&lt;SPAN&gt;, 40&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lorem/5555/lorem, 50&lt;/P&gt;&lt;P&gt;&amp;nbsp; /12/ipsum/6666, 60&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load * Resident ids Where Index(url,id);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table ids;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jan 2015 12:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-string-to-substring-from-another-table/m-p/797055#M664967</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-01-18T12:14:59Z</dc:date>
    </item>
  </channel>
</rss>

