<?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: Loading a mapping which has a custom wildcard inside in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084612#M361180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you can use this: &lt;A href="http://qlikviewcookbook.com/recipes/download-info/mapping-with-wildcards/" title="http://qlikviewcookbook.com/recipes/download-info/mapping-with-wildcards/"&gt;mapping with wildcards | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2016 10:28:27 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-05-06T10:28:27Z</dc:date>
    <item>
      <title>Loading a mapping which has a custom wildcard inside</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084609#M361177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; I have a mapping as attached. And the corresponding salesman and region fields in my raw data. I currently have the following load statement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Salesman],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield( ApplyMap('ATK_map_P2', [&lt;SPAN style="font-size: 13.3333px;"&gt;Salesman&lt;/SPAN&gt;], [Region1] &amp;amp; '|'),'|',1) as Region1_New,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield( ApplyMap('ATK_map_P2', [&lt;SPAN style="font-size: 13.3333px;"&gt;Salesman&lt;/SPAN&gt;], '|' &amp;amp; [&lt;SPAN style="font-size: 13.3333px;"&gt;Region&lt;/SPAN&gt;2]),'|',2) as &lt;SPAN style="font-size: 13.3333px;"&gt;Region1_New,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield( ApplyMap('ATK_map_P2', [&lt;SPAN style="font-size: 13.3333px;"&gt;Salesman&lt;/SPAN&gt;], '||' &amp;amp; [&lt;SPAN style="font-size: 13.3333px;"&gt;Region3&lt;/SPAN&gt;]),'|',3) as &lt;SPAN style="font-size: 13.3333px;"&gt;Region1_New,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The twist is however that the percentage signs in the mapping are basically wildcards. So DAVID% in the mapping basically means match against the salesman field in the raw data if it contains the word david.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this something possible to script in ?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 16:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084609#M361177</guid>
      <dc:creator />
      <dc:date>2016-05-05T16:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a mapping which has a custom wildcard inside</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084610#M361178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something along these lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MappingTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name, Region&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;David, %USA%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rahul, %India%&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;&lt;STRONG&gt;Fact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TextBetween(MapSubString('MappingTable', Salesman), '%', '%') as Region;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Salesman, Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;David_R_Johnson, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;David_K_McGrath, 15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rahul_Gandhi, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 16:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084610#M361178</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-05T16:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a mapping which has a custom wildcard inside</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084611#M361179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies I forgot to add in my mapping table. Should make things clearer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 17:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084611#M361179</guid>
      <dc:creator />
      <dc:date>2016-05-05T17:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a mapping which has a custom wildcard inside</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084612#M361180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you can use this: &lt;A href="http://qlikviewcookbook.com/recipes/download-info/mapping-with-wildcards/" title="http://qlikviewcookbook.com/recipes/download-info/mapping-with-wildcards/"&gt;mapping with wildcards | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 10:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-mapping-which-has-a-custom-wildcard-inside/m-p/1084612#M361180</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-06T10:28:27Z</dc:date>
    </item>
  </channel>
</rss>

