<?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 Fuzzy linking in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fuzzy-linking/m-p/198588#M57849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As long as the number of patterns is relatively limited, there's a fairly clever way that Rob Wunderlich came up with. (I came up with it independently, but then found out he'd already done it and posted it, so he gets the credit. ;)) Assuming you can open other people's files, download his QlikView Cookbook:&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;The example you're looking for is mappingwithwildcards.qvw. If you're unable to open other people's files, let me know, and I can copy in the script. If you're having trouble understanding how it works, I can explain further, but there are a lot of comments in the script and on the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Sep 2010 22:58:31 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-09-13T22:58:31Z</dc:date>
    <item>
      <title>Fuzzy linking</title>
      <link>https://community.qlik.com/t5/QlikView/Fuzzy-linking/m-p/198587#M57848</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 have a rather odd problem. I want to categorize the bookings on my Bank account statement.&lt;BR /&gt;in order to do that I have three description fields for every statement.&lt;/P&gt;&lt;P&gt;The problem is that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The identifier on which to categorize a statement might be in either one of the description fields&lt;/LI&gt;&lt;LI&gt;Within the description there might be other junk that I want to ignore while matching.&lt;/LI&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So as an example a booking might look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Date: 1.1.2010&lt;/LI&gt;&lt;LI&gt;Amount: 100&lt;/LI&gt;&lt;LI&gt;Description 1: Debit Card&lt;/LI&gt;&lt;LI&gt;Description 2: Thx for shopping with us&lt;/LI&gt;&lt;LI&gt;Description 3: Your TOYS R US team on the 1.1.2010&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For the problem that the identifier might be in all of those 3 fields there is an easy solution, concatenate them, so you have one big string to search in.&lt;BR /&gt;So now I want to go through that string and dependent on what I find set the Category on that booking for eg. Toys.&lt;/P&gt;&lt;P&gt;I know I could do a lot of IF clauses that do a LIKE search on this string but what I'm thinking of is a table that holds all the wildcard searches and the associated category.&lt;/P&gt;&lt;P&gt;E.g. :&lt;/P&gt;&lt;P&gt;Search_Pattern Category&lt;/P&gt;&lt;P&gt;'*Toys R US*' 'Toys'&lt;BR /&gt;'*BMW*' 'Car'&lt;BR /&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when the description string is evaluated it should go through that list and search for that pattern first match and the category should be set/returned.&lt;/P&gt;&lt;P&gt;I know that you can define functions in QLK but not really sure how to do that or if its even possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Flo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 15:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fuzzy-linking/m-p/198587#M57848</guid>
      <dc:creator />
      <dc:date>2010-09-13T15:42:40Z</dc:date>
    </item>
    <item>
      <title>Fuzzy linking</title>
      <link>https://community.qlik.com/t5/QlikView/Fuzzy-linking/m-p/198588#M57849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As long as the number of patterns is relatively limited, there's a fairly clever way that Rob Wunderlich came up with. (I came up with it independently, but then found out he'd already done it and posted it, so he gets the credit. ;)) Assuming you can open other people's files, download his QlikView Cookbook:&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;The example you're looking for is mappingwithwildcards.qvw. If you're unable to open other people's files, let me know, and I can copy in the script. If you're having trouble understanding how it works, I can explain further, but there are a lot of comments in the script and on the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 22:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fuzzy-linking/m-p/198588#M57849</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-13T22:58:31Z</dc:date>
    </item>
    <item>
      <title>Fuzzy linking</title>
      <link>https://community.qlik.com/t5/QlikView/Fuzzy-linking/m-p/198589#M57850</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;On a first read that sounds like exactly what I'm looking for, will check it out right now.&lt;BR /&gt;And I'm able to open other people's files, thx for your help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 07:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fuzzy-linking/m-p/198589#M57850</guid>
      <dc:creator />
      <dc:date>2010-09-14T07:37:28Z</dc:date>
    </item>
  </channel>
</rss>

