<?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: Function to match two items in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569646#M682266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;P&gt;1. Upper or lower functions if both the field values have same name but in different case&lt;/P&gt;&lt;P&gt;2. purgechar to remove cuh characters you find as a difference in between two names&lt;/P&gt;&lt;P&gt;3. trim for any spaces around the names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 12:54:38 GMT</pubDate>
    <dc:creator>sudeepkm</dc:creator>
    <dc:date>2014-03-27T12:54:38Z</dc:date>
    <item>
      <title>Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569643#M682263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure this can be done but wanted to throw it out and see if anyone can help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem:&amp;nbsp; I have two tables with Vendor Information listed and the vendor is spelled slightly different in both tables.&amp;nbsp; Is there a way to do some match, fix, or anything else to correct the issue.&amp;nbsp; Here is an example of what I am talking about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor Table 1&lt;/P&gt;&lt;P&gt;AEP-Energy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor Table 2&lt;/P&gt;&lt;P&gt;AEPEnergy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words the Vendor name in both list is the same but spelled slightly different.&amp;nbsp; Is there any tricks out there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569643#M682263</guid>
      <dc:creator />
      <dc:date>2014-03-27T12:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569644#M682264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THe easiest way is this:&lt;/P&gt;&lt;P&gt;I think you have a vendor code, so startting from it create a xlsx (or a table) with code and correct name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load that xlsx and use its name as the only one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569644#M682264</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-27T12:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569645#M682265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the purgchar('field','-') is one example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569645#M682265</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2014-03-27T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569646#M682266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;P&gt;1. Upper or lower functions if both the field values have same name but in different case&lt;/P&gt;&lt;P&gt;2. purgechar to remove cuh characters you find as a difference in between two names&lt;/P&gt;&lt;P&gt;3. trim for any spaces around the names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569646#M682266</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-03-27T12:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569647#M682267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use Wildmatch function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569647#M682267</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-03-27T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569648#M682268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to do a Mapping like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;map1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mapping Load * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column1,Column2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;AEP-Energy&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;AEPEnergy&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where AEP-Energy is the text it is in and AEPEnergy is the text you want it to be. Then do an apply map when you load field like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;applymap('map1', FIELD) as FIELD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569648#M682268</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-27T12:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569649#M682269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Replace( Fileld,'-','')&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if it was like this mean &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AEP-Energy&lt;/SPAN&gt;&amp;nbsp; Aep&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-Energy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;use this one&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; upper(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Replace( Field,'-',''))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lower(&lt;SPAN style="font-size: 10pt;"&gt;Replace(Field,'-',''))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use Purgechar(field,'-')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 13:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569649#M682269</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-03-27T13:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function to match two items</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569650#M682270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rename the Field:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code"&gt;FieldMap:&lt;/P&gt;&lt;P class="Code"&gt;Mapping SQL SELECT oldnames, newnames FROM datadictionary;&lt;/P&gt;&lt;P class="Code"&gt;Rename fields using FieldMap;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;// Rename the Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Tab1:&lt;/P&gt;&lt;P class="Code"&gt;Select * from Trans;&lt;/P&gt;&lt;P class="Code"&gt;Rename table Tab1 to Xyz;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;TabMap:&lt;/P&gt;&lt;P class="Code"&gt;Mapping load oldnames, newnames from tabnames.csv;&lt;/P&gt;&lt;P class="Code"&gt;Rename tables using TabM&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ap;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;// Rename the Fields&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;Alias ID as CustomerID;&lt;/P&gt;&lt;P class="Code"&gt;Load * from Customer.csv;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;or&lt;/P&gt;&lt;P class="Code"&gt;Load ID as CustomerID, Name, Address, Zip, City, State from Customer.csv;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 13:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-match-two-items/m-p/569650#M682270</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-27T13:23:58Z</dc:date>
    </item>
  </channel>
</rss>

