<?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: How to find closest matching item based on multiple attributes in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470400#M99622</link>
    <description>&lt;P&gt;I put in a Master Measure for now. It is a start, but not great.&lt;/P&gt;
&lt;P&gt;I Aggregated on the ItemIDs and Summed up IF(Attribute1Item1=Attribute1Item2,1,0).&lt;/P&gt;
&lt;P&gt;It is giving the team a starting point. Score from 1 to 11 for 'exact' matching attributes.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 15:10:30 GMT</pubDate>
    <dc:creator>SDT</dc:creator>
    <dc:date>2024-07-12T15:10:30Z</dc:date>
    <item>
      <title>How to find closest matching item based on multiple attributes</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2469722#M99561</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a table with tens of thousands of Items. Each Item has 12 attributes (separate field for each attribute).&lt;/P&gt;
&lt;P&gt;I would like to have the user select one item and get a resulting list of the most similar items based on matching attributes.&lt;/P&gt;
&lt;P&gt;I am thinking I need to use a full outer join and LevenshteinDist on a concatenated field of the 12 attributes. I am hoping there is a better way since that will be a massive table.&lt;/P&gt;
&lt;P&gt;Another way might be to compare each of the 12 attribute fields separately in a full outer join and then total up the # of matching attributes (certainly this would be more helpful in the real world scenario).&lt;/P&gt;
&lt;P&gt;Hoping someone has a more elegant (efficient) solution?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 20:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2469722#M99561</guid>
      <dc:creator>SDT</dc:creator>
      <dc:date>2024-07-10T20:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to find closest matching item based on multiple attributes</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470173#M99598</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29224"&gt;@igoralcantara&lt;/a&gt;&amp;nbsp;this may be a good challenge for you.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 04:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470173#M99598</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-07-12T04:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find closest matching item based on multiple attributes</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470297#M99600</link>
      <description>&lt;P&gt;This is an interesting challenge. The best technique depends on the type of each attribute (text, number, date, etc.). Only use&amp;nbsp;&lt;SPAN&gt;LevenshteinDist&amp;nbsp;if the size of the text in different attributes is very similar. If sizes are different, than tokenizing and doing a Cosine distance is better, however, this functionality is not available in Qlik. When I need this, I do it in Python and export the data so I can use it in Qlik.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 10:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470297#M99600</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-07-12T10:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find closest matching item based on multiple attributes</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470300#M99601</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29224" target="_blank"&gt;@igoralcantara&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;Thank you. I had not thought about the varying lengths of the data (all strings). I may need to use LevenshteinDist on each of the 12 attributes and add up the total. Python is not an option for this application.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 11:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470300#M99601</guid>
      <dc:creator>SDT</dc:creator>
      <dc:date>2024-07-12T11:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to find closest matching item based on multiple attributes</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470327#M99610</link>
      <description>&lt;P&gt;Give me more details. You might want to average it instead of summed or maybe average the squared distances.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 12:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470327#M99610</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-07-12T12:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find closest matching item based on multiple attributes</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470400#M99622</link>
      <description>&lt;P&gt;I put in a Master Measure for now. It is a start, but not great.&lt;/P&gt;
&lt;P&gt;I Aggregated on the ItemIDs and Summed up IF(Attribute1Item1=Attribute1Item2,1,0).&lt;/P&gt;
&lt;P&gt;It is giving the team a starting point. Score from 1 to 11 for 'exact' matching attributes.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 15:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-closest-matching-item-based-on-multiple-attributes/m-p/2470400#M99622</guid>
      <dc:creator>SDT</dc:creator>
      <dc:date>2024-07-12T15:10:30Z</dc:date>
    </item>
  </channel>
</rss>

