<?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 Wildcard normalization in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Wildcard-normalization/m-p/167241#M38884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to normalize vendor names from an Excel file and at the moment this is done by joining with a table having FromName and ToName. I then select field depending on whether the join matched or not:&lt;/P&gt;&lt;P&gt;IF(NOT IsNull(ToName),ToName,vendor) AS vendor,&lt;/P&gt;&lt;P&gt;But since the data is rapidly growing and most names start the same and differs only in the end (Inc., Ltd., etc) I would like to do this using with wildcard, e.g. VendorName* =&amp;gt; VendorName. That way, with one row I could normalize all data starting with VendorName into just VendorName.&lt;/P&gt;&lt;P&gt;Anyone have a good clue how to do this? If I could use regular expression, that would be even better. I already have a regular expression replace function in VbScript, but I don't know how to loop and use it...&lt;/P&gt;&lt;P&gt;Please try to be as clear as possible seeing as I am new to QlikView with a background in PHP, Java and SQL with fair knowledge in VB.&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;Sincearly, Jörgen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2009 21:35:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-26T21:35:37Z</dc:date>
    <item>
      <title>Wildcard normalization</title>
      <link>https://community.qlik.com/t5/QlikView/Wildcard-normalization/m-p/167241#M38884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to normalize vendor names from an Excel file and at the moment this is done by joining with a table having FromName and ToName. I then select field depending on whether the join matched or not:&lt;/P&gt;&lt;P&gt;IF(NOT IsNull(ToName),ToName,vendor) AS vendor,&lt;/P&gt;&lt;P&gt;But since the data is rapidly growing and most names start the same and differs only in the end (Inc., Ltd., etc) I would like to do this using with wildcard, e.g. VendorName* =&amp;gt; VendorName. That way, with one row I could normalize all data starting with VendorName into just VendorName.&lt;/P&gt;&lt;P&gt;Anyone have a good clue how to do this? If I could use regular expression, that would be even better. I already have a regular expression replace function in VbScript, but I don't know how to loop and use it...&lt;/P&gt;&lt;P&gt;Please try to be as clear as possible seeing as I am new to QlikView with a background in PHP, Java and SQL with fair knowledge in VB.&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;Sincearly, Jörgen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 21:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildcard-normalization/m-p/167241#M38884</guid>
      <dc:creator />
      <dc:date>2009-08-26T21:35:37Z</dc:date>
    </item>
  </channel>
</rss>

