<?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: QlikSense expression to find similar values (not exactly matching) in a table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785665#M61250</link>
    <description>&lt;P&gt;Hi Toufiq,&lt;/P&gt;&lt;P&gt;I expect first 2 rows i.e. following in output -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Apple_2020_1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Apple_2020_2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sumeer&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 08:28:04 GMT</pubDate>
    <dc:creator>SR2</dc:creator>
    <dc:date>2021-02-24T08:28:04Z</dc:date>
    <item>
      <title>QlikSense expression to find similar values (not exactly matching) in a table</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785068#M61198</link>
      <description>&lt;P&gt;Hello Talented people,&lt;/P&gt;&lt;P&gt;I am wondering if there a feature in QS to find similar values in a table.&lt;/P&gt;&lt;P&gt;Example - if a dimension has following values then can I&amp;nbsp; identify / highlight first 2 rows as the strings are exactly matching except for the last one character.&lt;/P&gt;&lt;P&gt;Apple_2020_1&lt;BR /&gt;Apple_2020_2&lt;BR /&gt;Mango2020_f1&lt;BR /&gt;Mango2021_p&lt;BR /&gt;Mytextabc&lt;BR /&gt;11textxyz&lt;/P&gt;&lt;P&gt;PS - I do not know the pattern that I want to match as the values are quite diverse. I just want to identify values which have an exact matching value present in this dimension except for last 1 or 2 characters in them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Sumeer&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 13:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785068#M61198</guid>
      <dc:creator>SR2</dc:creator>
      <dc:date>2021-04-01T13:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense expression to find similar values (not exactly matching) in a table</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785077#M61199</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135589"&gt;@SR2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from this input&lt;/P&gt;&lt;P&gt;Apple_2020_1&lt;BR /&gt;Apple_2020_2&lt;BR /&gt;Mango2020_f1&lt;BR /&gt;Mango2021_p&lt;BR /&gt;Mytextabc&lt;BR /&gt;11textxyz&lt;/P&gt;&lt;P&gt;can you also share the expected output ?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 09:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785077#M61199</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-02-23T09:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense expression to find similar values (not exactly matching) in a table</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785665#M61250</link>
      <description>&lt;P&gt;Hi Toufiq,&lt;/P&gt;&lt;P&gt;I expect first 2 rows i.e. following in output -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Apple_2020_1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Apple_2020_2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sumeer&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 08:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785665#M61250</guid>
      <dc:creator>SR2</dc:creator>
      <dc:date>2021-02-24T08:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense expression to find similar values (not exactly matching) in a table</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785674#M61251</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135589"&gt;@SR2&lt;/a&gt;&amp;nbsp; One option in load Script you can add&amp;nbsp; for example&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Data:
load *,left(trim(Field),len(trim(Field))-1) as Temp1,left(trim(Field),len(trim(Field))-2) as Temp2 inline [
Field
Apple_2020_1
Apple_2020_2
Mango2020_f1
Mango2021_p
Mytextabc
11textxyz
];
left join load count(Temp1) as CountTmp1,Temp1 resident Data group by Temp1;

left join load count(Temp2) as CountTmp2,Temp2 resident Data group by Temp2;

output:

load Field,if(CountTmp1&amp;gt;1 or CountTmp2&amp;gt;1,1,0) as Flag resident Data;

drop table Data;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then use Flag=1 for duplicate value except for last 1 or 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;like :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1614156216973.png"&gt;&lt;img src="https://community.qlik.com/skins/images/2866EA3F95B8B6AB12692AACED00302F/responsive_peak/images/image_not_found.png" alt="Taoufiq_Zarra_0-1614156216973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or in dimension if(Flag=1,Field) ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 08:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1785674#M61251</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-02-24T08:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense expression to find similar values (not exactly matching) in a table</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1786912#M61386</link>
      <description>&lt;P&gt;Thank you Taoufiq. This is helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sumeer&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 05:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-expression-to-find-similar-values-not-exactly-matching/m-p/1786912#M61386</guid>
      <dc:creator>SR2</dc:creator>
      <dc:date>2021-03-01T05:55:27Z</dc:date>
    </item>
  </channel>
</rss>

