<?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: Matching String values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Matching-String-values/m-p/2503569#M103622</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This seems to work, you should test on more cases and pay attention to the conditions you want&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Data:&lt;BR /&gt;Load &lt;BR /&gt;*,&lt;BR /&gt;SubField(LOCATION,' ') as Temp&lt;BR /&gt;&lt;BR /&gt;Inline [&lt;BR /&gt;LOCATION, DESCRIPTION &lt;BR /&gt;QUAY WAY, 8-10 QUAY WAY &lt;BR /&gt;HARVESTER ROAD, A7850058 HARVESTER 2595254 &lt;BR /&gt;SHEFFILED VICTORIA STREET, VICTORIA St&lt;BR /&gt;BAKER STREET, MUFFIN LANE&lt;BR /&gt;]&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Final:&lt;BR /&gt;Load&lt;BR /&gt;LOCATION,&lt;BR /&gt;DESCRIPTION,&lt;BR /&gt;if(max(SubStringCount(DESCRIPTION,Temp)),'Yes','No') as [Potential Match]&lt;BR /&gt;Resident Data&lt;BR /&gt;group by LOCATION,&lt;BR /&gt;DESCRIPTION,;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Drop table Data;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 15:14:44 GMT</pubDate>
    <dc:creator>Clement15</dc:creator>
    <dc:date>2025-01-29T15:14:44Z</dc:date>
    <item>
      <title>Matching String values</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-String-values/m-p/2503561#M103621</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I've been racking my brain a lot over this and have attempted many mapping tables, lookups, substrings and wildmatches but still to now success. I'm hoping that I'm missing something stupidly straightforward other than it just can't be done.....&lt;/P&gt;
&lt;P&gt;So the details of the issue is as follows;&lt;/P&gt;
&lt;P&gt;I have 2 fields, LOCATION and DESCRIPTION. Now as always when you allow manual entry the data entered into the "DESCRIPTION" field is unclean and all over the place. What I'm trying to do is find any occurrence of the Value in LOCATION in the DESCRIPTION field and then flag it.&lt;/P&gt;
&lt;P&gt;For example;&lt;/P&gt;
&lt;TABLE width="411"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="115"&gt;LOCATION&lt;/TD&gt;
&lt;TD width="192"&gt;DESCRIPTION&lt;/TD&gt;
&lt;TD width="104"&gt;Potential Match&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;QUAY WAY&lt;/TD&gt;
&lt;TD&gt;8-10 QUAY, WAY&lt;/TD&gt;
&lt;TD&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;HARVESTER ROAD&lt;/TD&gt;
&lt;TD&gt;A7850058 HARVESTER 2595254&lt;/TD&gt;
&lt;TD&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;SHEFFILED VICTORIA STREET&lt;/TD&gt;
&lt;TD&gt;VICTORIA St&lt;/TD&gt;
&lt;TD&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;BAKER STREET&lt;/TD&gt;
&lt;TD&gt;MUFFIN LANE&lt;/TD&gt;
&lt;TD&gt;No&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to accomplish this? The values could appear anywhere in the string which is what I'm struggling with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 14:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-String-values/m-p/2503561#M103621</guid>
      <dc:creator>DaveH</dc:creator>
      <dc:date>2025-01-29T14:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Matching String values</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-String-values/m-p/2503569#M103622</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This seems to work, you should test on more cases and pay attention to the conditions you want&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Data:&lt;BR /&gt;Load &lt;BR /&gt;*,&lt;BR /&gt;SubField(LOCATION,' ') as Temp&lt;BR /&gt;&lt;BR /&gt;Inline [&lt;BR /&gt;LOCATION, DESCRIPTION &lt;BR /&gt;QUAY WAY, 8-10 QUAY WAY &lt;BR /&gt;HARVESTER ROAD, A7850058 HARVESTER 2595254 &lt;BR /&gt;SHEFFILED VICTORIA STREET, VICTORIA St&lt;BR /&gt;BAKER STREET, MUFFIN LANE&lt;BR /&gt;]&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Final:&lt;BR /&gt;Load&lt;BR /&gt;LOCATION,&lt;BR /&gt;DESCRIPTION,&lt;BR /&gt;if(max(SubStringCount(DESCRIPTION,Temp)),'Yes','No') as [Potential Match]&lt;BR /&gt;Resident Data&lt;BR /&gt;group by LOCATION,&lt;BR /&gt;DESCRIPTION,;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Drop table Data;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 15:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-String-values/m-p/2503569#M103622</guid>
      <dc:creator>Clement15</dc:creator>
      <dc:date>2025-01-29T15:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Matching String values</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-String-values/m-p/2503572#M103623</link>
      <description>&lt;P&gt;shit in = shit out ... but by applying a chain of n (dozens) transformation steps you may get a sufficient matching-rate. Personally I would&amp;nbsp; try to go in such a direction:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;delimiter-definition to split the values in single parts&lt;/LI&gt;
&lt;LI&gt;unifying the data per upper/lower&lt;/LI&gt;
&lt;LI&gt;identifying and removing invalid data&lt;/LI&gt;
&lt;LI&gt;replacing different writings and shortcuts like st and street to a common term&lt;/LI&gt;
&lt;LI&gt;splitting the values with: subfield(Field, Delimiter, iterno())&lt;/LI&gt;
&lt;LI&gt;important is to include recno() and iterno() to this load to track the source- and target-records and to merge them later again&lt;/LI&gt;
&lt;LI&gt;wildmatch() against the origin values and the sub-parts&lt;/LI&gt;
&lt;LI&gt;applying a&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/LevenshteinDist.htm" target="_blank"&gt;LevenshteinDist - script and chart function | Qlik Cloud Help&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;merging the wildmatch/levenshtein results in any sensible scoring-logic&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;just to name a few ones.&lt;/P&gt;
&lt;P&gt;If the data aren't too poor it's often not too expensive to get matching-rates of 50% - 80% but each single percent more will usually cost exponentially efforts ...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 15:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-String-values/m-p/2503572#M103623</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-01-29T15:27:11Z</dc:date>
    </item>
  </channel>
</rss>

