<?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: Looking for partial matched data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362824#M492786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Probably the following link will help. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/131099#131099#131099"&gt;http://community.qlik.com/message/131099#131099&lt;/A&gt;&lt;SPAN&gt; Regards Siva Sankar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2012 14:11:36 GMT</pubDate>
    <dc:creator>Siva_Sankar</dc:creator>
    <dc:date>2012-06-21T14:11:36Z</dc:date>
    <item>
      <title>Looking for partial matched data</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362823#M492785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got two tables both contain a product Id but in one table the product Id maybe within a description field and/or may contain extra spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to load the two tables and show where there is a partial match from table 1 of a specific column ie product id in all the columns in table 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no actual input of the product Ids as this would go into 1,000 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive looked at mixmatch but this doesnt seem to suit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does anyone have any examples of this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362823#M492785</guid>
      <dc:creator />
      <dc:date>2012-06-21T14:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for partial matched data</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362824#M492786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Probably the following link will help. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/131099#131099#131099"&gt;http://community.qlik.com/message/131099#131099&lt;/A&gt;&lt;SPAN&gt; Regards Siva Sankar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362824#M492786</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2012-06-21T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for partial matched data</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362825#M492787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would be nice to see some sample lines of data together with your expected outcome to better understand your requirements and setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;There is no actual input of the product Ids as this would go into 1,000 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I haven't understood this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can tell any rules to read the product Ids from the description field, I would go for creating a new product ID field in table 2 by parsing the description field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362825#M492787</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-21T14:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for partial matched data</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362826#M492788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TABLE 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID, DESCRIPTION, PRICE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC123, Widget ALM, 101&lt;/P&gt;&lt;P&gt;ABD122, Wakka AKK, 80&lt;/P&gt;&lt;P&gt;ABC122, Widget ALK, 90&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID, DESCRIPTION, PRICE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC0123, ALM Top, 90&lt;/P&gt;&lt;P&gt;03ndd, ABD122Wakka, 200&lt;/P&gt;&lt;P&gt;Colin, ABC0122Wid ALK, 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two tables of data. I would like to use Fuzzy logic basically using the desciption field to find similarity between the two tables as ID field is inconsistant in one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to return matches between the two to produce an output like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID, DESCRIPTION, PRICE, ID2, DESCRIPTION2, PRICE2, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC123, Widget ALM, 101, ABC0123, ALM Top, 90&lt;/P&gt;&lt;P&gt;ABD122, Wakka AKK, 80, 03ndd, ABD122Wakka, 200&lt;/P&gt;&lt;P&gt;ABC122, Widget ALK, 90, Colin, ABC0122Wid ALK, 30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 09:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362826#M492788</guid>
      <dc:creator />
      <dc:date>2012-06-25T09:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for partial matched data</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362827#M492789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that you created another thread, just for the records, here also the solution I just posted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"A real fuzzy logic might be hard to implement in QV (of course you can check out e.g. VBScript macros that you can make use of). If a wildmatch comparison of the single Description words is enough (i.e. for ID ABC123, try matching&amp;nbsp; '*Widget*' or '*ALM*' with the DESCRIPTION2 field values), you can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET Del = '@!+';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TABLE1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *, subfield(DESCRIPTION,' ') as DESCSUB INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID, DESCRIPTION, PRICE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ABC123, Widget ALM, 101&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ABD122, Wakka AKK, 80&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ABC122, Widget ALK, 90&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;MAP1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MAPPING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD DESCSUB as Map1, '$(Del)' &amp;amp; ID &amp;amp;'$(Del)' Resident TABLE1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TABLE2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join LOAD *, Textbetween(MapSubString('MAP1', DESCRIPTION2),'$(Del)','$(Del)') as ID INLINE [ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID2, DESCRIPTION2, PRICE2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ABC0123, ALM Top, 90&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;03ndd, ABD122Wakka, 200&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Colin, ABC0122Wid ALK, 30&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;drop field DESCSUB;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The defined Del variable should be a sequence of characters that are not expected to appear in your DESCRIPTION fields."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 12:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-partial-matched-data/m-p/362827#M492789</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-27T12:51:18Z</dc:date>
    </item>
  </channel>
</rss>

