<?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 Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265112#M1193373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leonard-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tips.&amp;nbsp; However, the problem is that the Product field is constantly evolving and changing.&amp;nbsp; This involves constant user interaction to "clean up the data."&amp;nbsp; The examples that I presented were greatly simplified.&amp;nbsp; A more real-world example would be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product, New Value&lt;/P&gt;&lt;P&gt;Anthelios&amp;nbsp; XL : Sun Block : Cream, Axe&lt;/P&gt;&lt;P&gt;Aussie : Hair Care &amp;amp;&amp;nbsp; Styling Products, Axe&lt;/P&gt;&lt;P&gt;Aveeno&amp;nbsp; Ageless Vitality : Anti-Aging Facial Moisturizer System : Cream &amp;amp; Serum, Aveeno&lt;/P&gt;&lt;P&gt;Aveeno Baby Continuous&amp;nbsp; Protection : Sun Block : Lotion, Johnson and Johnson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap() would work if it only involved a few changes here and there, but the current changes would remain constnant but there will definitley be future updates for new values that need to be "cleaned up" and matched up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jul 2011 18:53:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-07T18:53:54Z</dc:date>
    <item>
      <title>Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?)</title>
      <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265110#M1193371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies that I keep pinging the QV Community, there's still a lot that I'm trying to learn and definitely appreciate all the help that I've received so far. That being said. I have a situation where many of our tables (specifically the values contained in the tables) do not contain "user friendly readable" information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the past, our various teams created "lookup tables" or "match tables" to replace the non-user friendly readable names with more user-friendly names. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;Name, Division, Product, Cost&lt;/P&gt;&lt;P&gt;John, East, Franklin 2, 3.00&lt;/P&gt;&lt;P&gt;Mike, West, Franklin_2, 3.00&lt;/P&gt;&lt;P&gt;Mary, West, Franklin, 3.00&lt;/P&gt;&lt;P&gt;Mary T, Central, Joseph, 10.00&lt;/P&gt;&lt;P&gt;John, East, Joseph_1, 10.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 (Matchtable)&lt;/P&gt;&lt;P&gt;Product, New Product&lt;/P&gt;&lt;P&gt;Franklin_2, Franklin 2&lt;/P&gt;&lt;P&gt;Joseph_1, Joseph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that we obviously do not have any sort of "key."&amp;nbsp; All is matched on Product (a text value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in excel, what these folks would do is for any match found in Table 2, replace Product with "New Product."&amp;nbsp; If not, then keep "Product."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts on how to implement this?&amp;nbsp; Also, what is everyone's views/advice on best practices on this type of scenario?&amp;nbsp; Please note, that we have no way of user "forcing" data entry integrity - these items (specifically Product) is filled in from a 3rd party that we have no control over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 18:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265110#M1193371</guid>
      <dc:creator />
      <dc:date>2011-07-07T18:24:14Z</dc:date>
    </item>
    <item>
      <title>Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?)</title>
      <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265111#M1193372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it just as simple as eliminating a few unwanted characters? You could do replace(Product,'_',' ') as Product and it would eliminate all of the underscores in that field during your load script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is more complex than that then do a search in the help file for &lt;EM&gt;applymap &lt;/EM&gt;as that could also be useful in this type of situation. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 18:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265111#M1193372</guid>
      <dc:creator />
      <dc:date>2011-07-07T18:47:58Z</dc:date>
    </item>
    <item>
      <title>Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?)</title>
      <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265112#M1193373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leonard-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tips.&amp;nbsp; However, the problem is that the Product field is constantly evolving and changing.&amp;nbsp; This involves constant user interaction to "clean up the data."&amp;nbsp; The examples that I presented were greatly simplified.&amp;nbsp; A more real-world example would be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product, New Value&lt;/P&gt;&lt;P&gt;Anthelios&amp;nbsp; XL : Sun Block : Cream, Axe&lt;/P&gt;&lt;P&gt;Aussie : Hair Care &amp;amp;&amp;nbsp; Styling Products, Axe&lt;/P&gt;&lt;P&gt;Aveeno&amp;nbsp; Ageless Vitality : Anti-Aging Facial Moisturizer System : Cream &amp;amp; Serum, Aveeno&lt;/P&gt;&lt;P&gt;Aveeno Baby Continuous&amp;nbsp; Protection : Sun Block : Lotion, Johnson and Johnson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap() would work if it only involved a few changes here and there, but the current changes would remain constnant but there will definitley be future updates for new values that need to be "cleaned up" and matched up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 18:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265112#M1193373</guid>
      <dc:creator />
      <dc:date>2011-07-07T18:53:54Z</dc:date>
    </item>
    <item>
      <title>Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?)</title>
      <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265113#M1193374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a table/spreadsheet that contains all of the currently possible Product's &amp;amp; their new names, then Applymap is perfect for you. Just update the table/spreadsheet with any new values and the next reload will update the app. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map_new_product:&lt;/P&gt;&lt;P&gt;Mapping Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New Product&lt;/P&gt;&lt;P&gt;From NewProductList.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product_Table:&lt;/P&gt;&lt;P&gt;Load applymap('map_new_product', Product) as [New Product Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *;&lt;/P&gt;&lt;P&gt;Load * from product_table.xls&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 19:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265113#M1193374</guid>
      <dc:creator />
      <dc:date>2011-07-07T19:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?)</title>
      <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265114#M1193375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leonard-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitely helps.&amp;nbsp; I think the other issue is that there are constantly new Products showing up that may (or may not) need to be "cleaned up."&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For most scenarios, I don't think this is a huge problem.&amp;nbsp; We could (for example) create a "systems tab" where all values appear which would show the "blank" new values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, there are certain tables where after the matchup occurs, any areas of nulls, all the rows containing null values under Product would get removed during the load process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 19:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265114#M1193375</guid>
      <dc:creator />
      <dc:date>2011-07-07T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?)</title>
      <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265115#M1193376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The third parameter of applymap() is a default value.&amp;nbsp; To default to the product you were given, just put it in as the third parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;applymap('map_new_product',Product&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;,Product&lt;/STRONG&gt;&lt;/SPAN&gt;) as [New Product Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 19:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265115#M1193376</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-07-07T19:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Matchtable/Lookup Table Scenarios (&amp; Advice on Best Practices?)</title>
      <link>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265116#M1193377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John and Leonard...&amp;nbsp; you guys are amazing.&amp;nbsp; Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 20:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matchtable-Lookup-Table-Scenarios-Advice-on-Best-Practices/m-p/265116#M1193377</guid>
      <dc:creator />
      <dc:date>2011-07-07T20:22:53Z</dc:date>
    </item>
  </channel>
</rss>

