<?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 Levenshtein Distance During Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Levenshtein-Distance-During-Load/m-p/956558#M645165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question regarding data manipulations and calculations during the load script.&amp;nbsp; I read some other discussions on the forum that talk about Levenshtein distance, which I'd like to use during my load.&amp;nbsp; Here is what I'm trying to do - You may want to just read this description and refrain from looking at my script as I'm fairly certain it's far off what I actually want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of invoices: (It will be much longer than this, I'm just starting simple)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1449248305773632" jivemacro_uid="_1449248305773632"&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Invoice&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228357-0 &lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228382-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228356-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228355-0&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the average levenshtein distance of each invoice number from all the other invoice numbers.&amp;nbsp; The entries with the lowest average numbers will be the most similar to each other.&amp;nbsp; The problem I'm having is that the levenshtein function that I'm using takes two arguments and I can't figure out how to write my script to do what I want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14492484397707502" jivemacro_uid="_14492484397707502"&gt;
&lt;P&gt;' Source:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Levenshtein_distance#VBScript" rel="nofollow"&gt;http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Levenshtein_distance#VBScript&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Function levenshtein( a, b )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dim i,j,cost,d,min1,min2,min3&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; ' Avoid calculations where there there are empty words&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If Len( a ) = 0 Then levenshtein = Len( b &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Exit Function&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If Len( b ) = 0 Then levenshtein = Len( a &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Exit Function&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; ' Array initialization&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ReDim d( Len( a ), Len( b ) )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For i = 0 To Len( a &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; d( i, 0 ) = i: Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For j = 0 To Len( b &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; d( 0, j ) = j: Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; ' Actual calculation&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For i = 1 To Len( a )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For j = 1 To Len( b )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Mid(a, i, 1) = Mid(b, j, 1) Then cost = 0 Else cost = 1 End If&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ' Since min() function is not a part of VBScript, we'll "emulate" it below&lt;/P&gt;
&lt;P&gt;&amp;nbsp; min1 = ( d( i - 1, j ) + 1 )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; min2 = ( d( i, j - 1 ) + 1 )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; min3 = ( d( i - 1, j - 1 ) + cost )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If min1 &amp;lt;= min2 And min1 &amp;lt;= min3 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; d( i, j ) = min1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ElseIf min2 &amp;lt;= min1 And min2 &amp;lt;= min3 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; d( i, j ) = min2&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; d( i, j ) = min3&lt;/P&gt;
&lt;P&gt;&amp;nbsp; End If&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; levenshtein = d( Len( a ), Len( b ) )&lt;/P&gt;
&lt;P&gt;End Function&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my most recent attempt which gets me the distance of each of the invoices from the first invoice. It's a long way off from what I'm trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14492485650661895 jive_text_macro" jivemacro_uid="_14492485650661895"&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RowNo() as Number,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Invoice,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; levenshtein(Invoice, Peek(Invoice, 0)) as Distance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Peek(Invoice, 0) as Invoice2;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Invoice&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228357-0 &lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228382-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228356-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228355-0&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to point me in the right direction would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 17:04:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-04T17:04:47Z</dc:date>
    <item>
      <title>Levenshtein Distance During Load</title>
      <link>https://community.qlik.com/t5/QlikView/Levenshtein-Distance-During-Load/m-p/956558#M645165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question regarding data manipulations and calculations during the load script.&amp;nbsp; I read some other discussions on the forum that talk about Levenshtein distance, which I'd like to use during my load.&amp;nbsp; Here is what I'm trying to do - You may want to just read this description and refrain from looking at my script as I'm fairly certain it's far off what I actually want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of invoices: (It will be much longer than this, I'm just starting simple)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1449248305773632" jivemacro_uid="_1449248305773632"&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Invoice&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228357-0 &lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228382-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228356-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228355-0&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the average levenshtein distance of each invoice number from all the other invoice numbers.&amp;nbsp; The entries with the lowest average numbers will be the most similar to each other.&amp;nbsp; The problem I'm having is that the levenshtein function that I'm using takes two arguments and I can't figure out how to write my script to do what I want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14492484397707502" jivemacro_uid="_14492484397707502"&gt;
&lt;P&gt;' Source:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Levenshtein_distance#VBScript" rel="nofollow"&gt;http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Levenshtein_distance#VBScript&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Function levenshtein( a, b )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dim i,j,cost,d,min1,min2,min3&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; ' Avoid calculations where there there are empty words&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If Len( a ) = 0 Then levenshtein = Len( b &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Exit Function&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If Len( b ) = 0 Then levenshtein = Len( a &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Exit Function&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; ' Array initialization&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ReDim d( Len( a ), Len( b ) )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For i = 0 To Len( a &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; d( i, 0 ) = i: Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For j = 0 To Len( b &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; d( 0, j ) = j: Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; ' Actual calculation&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For i = 1 To Len( a )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For j = 1 To Len( b )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Mid(a, i, 1) = Mid(b, j, 1) Then cost = 0 Else cost = 1 End If&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ' Since min() function is not a part of VBScript, we'll "emulate" it below&lt;/P&gt;
&lt;P&gt;&amp;nbsp; min1 = ( d( i - 1, j ) + 1 )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; min2 = ( d( i, j - 1 ) + 1 )&lt;/P&gt;
&lt;P&gt;&amp;nbsp; min3 = ( d( i - 1, j - 1 ) + cost )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If min1 &amp;lt;= min2 And min1 &amp;lt;= min3 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; d( i, j ) = min1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ElseIf min2 &amp;lt;= min1 And min2 &amp;lt;= min3 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; d( i, j ) = min2&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; d( i, j ) = min3&lt;/P&gt;
&lt;P&gt;&amp;nbsp; End If&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Next&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; levenshtein = d( Len( a ), Len( b ) )&lt;/P&gt;
&lt;P&gt;End Function&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my most recent attempt which gets me the distance of each of the invoices from the first invoice. It's a long way off from what I'm trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14492485650661895 jive_text_macro" jivemacro_uid="_14492485650661895"&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RowNo() as Number,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Invoice,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; levenshtein(Invoice, Peek(Invoice, 0)) as Distance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Peek(Invoice, 0) as Invoice2;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Invoice&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228357-0 &lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228382-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228356-0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1228355-0&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to point me in the right direction would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Levenshtein-Distance-During-Load/m-p/956558#M645165</guid>
      <dc:creator />
      <dc:date>2015-12-04T17:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Levenshtein Distance During Load</title>
      <link>https://community.qlik.com/t5/QlikView/Levenshtein-Distance-During-Load/m-p/956559#M645166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to compare each invoice to each other. You can do this using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICES:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;LOAD * INLINE [&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt; Invoice&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt; 1228357-0&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; 1228382-0&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; 1228356-0&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; 1228355-0&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;];&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;JOIN (INVOICES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;LOAD Invoice AS InvoiceToCompare &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;RESIDENT INVOICES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;LEVENTSHTEIN:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Invoice,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceToCompare,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt; levenshtein(Invoice, InvoiceToCompare) as Distance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif; font-weight: inherit;"&gt;RESIDENT INVOICES&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif; font-weight: inherit;"&gt;Where Invoice &amp;lt;&amp;gt; InvoiceToCompare;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;DROP TABLE INVOICES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;edit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;The JOIN might create a huge table (remember, it's the combination of all invoices with all invoices).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;I also filtered the identical invoices that the JOIN produced.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Levenshtein-Distance-During-Load/m-p/956559#M645166</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-04T17:35:51Z</dc:date>
    </item>
  </channel>
</rss>

