<?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 AW:Mapping Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303001#M1202623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anne,&lt;/P&gt;&lt;P&gt;when I understand you right, you read 20.000 times from an excel-file for mapping. This is really time-consuming. My suggestion is to load the map-table (lets call it MyMap) before the data table (REPORT 1)and then do the lookup against the resident table MyMap. After that use drop table MyMap; to get rid of it.&lt;/P&gt;&lt;P&gt;HtH, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 16:30:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-02T16:30:50Z</dc:date>
    <item>
      <title>Mapping Load</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303000#M1202622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -- This is my First post !!!&lt;/P&gt;&lt;P&gt;I have read the posts above and they dont quite answer my question.&lt;/P&gt;&lt;P&gt;I'm loading an excel doc REPORT 1 into QV, one of the columns , called DATA , has text and numbers. I have a second table in excel , where using and Index formula it searches within the text field for a specific number and if its found returns a value predetermined in the table.&lt;/P&gt;&lt;P&gt;This is the Excel formula&lt;/P&gt;&lt;P&gt;IF(A2="","",LOOKUP(9.99E+307,SEARCH(INDEX(REPT("ZZZZ",Table!$B$1:$B$201="")&amp;amp;Table!$B$1:$B$201,0),TEXT(A2,"00000")),Table!$C$1:$C$201)),A2)&lt;/P&gt;&lt;P&gt;The table looks a little like this&lt;/P&gt;&lt;P&gt;Column A Column B&lt;/P&gt;&lt;P&gt;41500002 Green&lt;/P&gt;&lt;P&gt;41500003 Blue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The REPORT 1 doc is about 20,000 rows long and the table is about 10,000 rows, so,the index formula is time consuming to run.&lt;/P&gt;&lt;P&gt;I was wondering if there was a "Partial map" function in QV, where we would load REPORT 1 and map the Table to DATA column , IF it CONTAINS Column A.&lt;/P&gt;&lt;P&gt;Any suggestions would be great&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 15:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303000#M1202622</guid>
      <dc:creator />
      <dc:date>2011-02-02T15:23:31Z</dc:date>
    </item>
    <item>
      <title>AW:Mapping Load</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303001#M1202623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anne,&lt;/P&gt;&lt;P&gt;when I understand you right, you read 20.000 times from an excel-file for mapping. This is really time-consuming. My suggestion is to load the map-table (lets call it MyMap) before the data table (REPORT 1)and then do the lookup against the resident table MyMap. After that use drop table MyMap; to get rid of it.&lt;/P&gt;&lt;P&gt;HtH, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 16:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303001#M1202623</guid>
      <dc:creator />
      <dc:date>2011-02-02T16:30:50Z</dc:date>
    </item>
    <item>
      <title>Mapping Load</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303002#M1202624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anne,&lt;/P&gt;&lt;P&gt;Welcome to QlikCommunity! If I understand your question correctly, you want to search inside a field and apply a map if the field contains a substring? There is a function in QV called substringcount(text,substring) that can probably help here. Looking at your Excel logic, I suspect it will be a little complicated in your case so I will leave it to you to write the actual code, but the general syntax would be something like:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt; applymap('mymap',mappingfield1) as Result&lt;BR /&gt;;&lt;BR /&gt;LOAD&lt;BR /&gt; if(substringcount(field1,searchstring)&amp;gt;0,searchstring,null()) as mappingfield1&lt;BR /&gt;RESIDENT mydata;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 16:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303002#M1202624</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-02-02T16:32:27Z</dc:date>
    </item>
    <item>
      <title>Mapping Load</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303003#M1202625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad,&lt;/P&gt;&lt;P&gt;Thats correct , I'm looking to look inside a text feild to see if it contains a number from my mapping in column 1.&lt;/P&gt;&lt;P&gt;I have been trying the above, but for some reason I cant get my head around it !! ( maybe I need stronger coffee!!)&lt;/P&gt;&lt;P&gt;Can I run it by you to ensure I have an understanding ?&lt;/P&gt;&lt;P&gt;My Doc with text field I want to search is called REPORT , the Text field column is called OPICS.&lt;/P&gt;&lt;P&gt;The Table that I'm referencing is TABLE , the look up fields is KEY and the result is LABEL.&lt;/P&gt;&lt;P&gt;I have loaded mapping load of table as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:48pt;border-collapse:collapse;" width="64"&gt;&lt;COLGROUP&gt;&lt;COL style="width:48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="width:48pt;height:12.75pt;background-color:transparent;border:#d4d0c8;" width="64"&gt;&lt;P&gt;&lt;STRONG&gt;Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; Key, &lt;P&gt;&lt;/P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; Key, &lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;Key, &lt;P&gt;Key,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl24" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Label&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl24" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;S&gt;&lt;/S&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then loaded as normal my Report, - there are 2 other regular mapping on this and they're AOK - see below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:48pt;border-collapse:collapse;" width="64"&gt;&lt;COLGROUP&gt;&lt;COL style="width:48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="width:48pt;height:12.75pt;background-color:transparent;border:#d4d0c8;" width="64"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; Branch&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;[Deal No],&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl27" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;[Rate Code],&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;[Posting Date],&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl27" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Date,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Currency,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl27" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Amount,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Rate,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl27" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Basis,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Opics,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Code,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;Type,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;[Branch code],&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;ApplyMap ('ratm', [Rate Code]) as [Structured or Unstructured],&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl28" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt; ApplyMap ('branchId',[Branch code]) as [Opics Team]&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl28" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl29" height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;S&gt;&lt;/S&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Beneath this I have taken your suggestion ( I think !!) and have amended it to my data. I have tried a few different combinations but keep getting error messages on Load . I was trying to run map from 'numm' to look at Opics feild to cross reference this with the key and any matches come back as BO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:48pt;border-collapse:collapse;" width="64"&gt;&lt;COLGROUP&gt;&lt;COL style="width:48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="width:48pt;height:12.75pt;background-color:transparent;border:#d4d0c8;" width="64"&gt;LOAD&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;applymap('numm', Opics) as Result,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;if(substringcount(Opics,searchstring)&amp;gt;0,searchstring,null()) as BO&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;FROM&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD height="17" style="height:12.75pt;background-color:transparent;border:#d4d0c8;"&gt;&lt;S&gt;&lt;/S&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help as its driving me crazy ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anne&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303003#M1202625</guid>
      <dc:creator />
      <dc:date>2011-02-03T11:27:25Z</dc:date>
    </item>
    <item>
      <title>Mapping Load</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303004#M1202626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was a pasting error on the mapping load -- it should look like this&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Mapping&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;LOAD&lt;/B&gt; Key, &lt;P&gt;Label&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;S&gt;&lt;/S&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303004#M1202626</guid>
      <dc:creator />
      <dc:date>2011-02-03T11:29:34Z</dc:date>
    </item>
    <item>
      <title>Mapping Load</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303005#M1202627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I see. So you're not searching for 1 value but rather need to map to a different label depending on what key (if any) OPICS contains. This is not very simple, but Rob Wunderlich came up with a brilliant solution to exactly this problem. First, download his Cookbook here: &lt;A href="http://robwunderlich.com/downloads/cookbook_V009.1.zip"&gt;http://robwunderlich.com/downloads/cookbook_V009.1.zip&lt;/A&gt;. Unzip, then open script\mappingWithWildcards.qvw. This application will describe how to achieve the functionality you're looking for.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 16:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303005#M1202627</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-02-03T16:47:42Z</dc:date>
    </item>
    <item>
      <title>Mapping Load</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303006#M1202628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad,&lt;/P&gt;&lt;P&gt;Thanks very much , I found that file earlier and am reading my way through it now.&lt;/P&gt;&lt;P&gt;It actually makes sense !!!!&lt;/P&gt;&lt;P&gt;Thanks again for your help ,&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 16:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load/m-p/303006#M1202628</guid>
      <dc:creator />
      <dc:date>2011-02-03T16:54:44Z</dc:date>
    </item>
  </channel>
</rss>

