<?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 Compare substring in ApplyMap() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1530949#M748027</link>
    <description>&lt;P&gt;I have a mapping table.&lt;/P&gt;&lt;P&gt;Keyword&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; App&lt;/P&gt;&lt;P&gt;&amp;nbsp;xxxxxx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .NET&lt;/P&gt;&lt;P&gt;YYYYYY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APACHE&lt;/P&gt;&lt;P&gt;ZZZZZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OFFICE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table then and within this table, column H has&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load H&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;X.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;H contains output:&lt;/P&gt;&lt;P&gt;sdfsdxxxxxxdsfdsf&lt;/P&gt;&lt;P&gt;ERWRWWQYYYYYYAEWRA&lt;/P&gt;&lt;P&gt;IOPIOPIZZZZZOIPOIO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to be able to check if column H has the keywords and then bring in the App as an object of Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:44:42 GMT</pubDate>
    <dc:creator>bobbydave</dc:creator>
    <dc:date>2024-11-16T04:44:42Z</dc:date>
    <item>
      <title>Compare substring in ApplyMap()</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1530949#M748027</link>
      <description>&lt;P&gt;I have a mapping table.&lt;/P&gt;&lt;P&gt;Keyword&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; App&lt;/P&gt;&lt;P&gt;&amp;nbsp;xxxxxx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .NET&lt;/P&gt;&lt;P&gt;YYYYYY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APACHE&lt;/P&gt;&lt;P&gt;ZZZZZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OFFICE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table then and within this table, column H has&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load H&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;X.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;H contains output:&lt;/P&gt;&lt;P&gt;sdfsdxxxxxxdsfdsf&lt;/P&gt;&lt;P&gt;ERWRWWQYYYYYYAEWRA&lt;/P&gt;&lt;P&gt;IOPIOPIZZZZZOIPOIO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to be able to check if column H has the keywords and then bring in the App as an object of Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1530949#M748027</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2024-11-16T04:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compare substring in ApplyMap()</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1530981#M748028</link>
      <description>&lt;P&gt;May be look here&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/MappingFunctions/MapSubstring.htm" target="_self"&gt;MapSubString&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 12:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1530981#M748028</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-16T12:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Compare substring in ApplyMap()</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531013#M748029</link>
      <description>&lt;P&gt;I've used MapSubString but I keep getting the value of H as the full line of the string returned when all I want is the keyword.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 13:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531013#M748029</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2019-01-16T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compare substring in ApplyMap()</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531024#M748030</link>
      <description>&lt;P&gt;Something like this?&lt;/P&gt;&lt;PRE&gt;MappingTable:
Mapping
LOAD Keyword,
	 '/' &amp;amp; App &amp;amp; '\';
LOAD * INLINE [
    Keyword, App
    xxxxxx, .NET
    YYYYYY, APACHE
    ZZZZZ, OFFICE
];

Table:
LOAD H,
	 TextBetween(MapSubString('MappingTable', H), '/', '\') as App;
LOAD * INLINE [
    H
    sdfsdxxxxxxdsfdsf
    ERWRWWQYYYYYYAEWRA
    IOPIOPIZZZZZOIPOIO
];&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 239px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3851i5BD9DCF12DD467EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 13:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531024#M748030</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-16T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Compare substring in ApplyMap()</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531036#M748031</link>
      <description>Hi Sunny,&lt;BR /&gt;&lt;BR /&gt;why is '/' AND '\' needed to be concatenated to App?</description>
      <pubDate>Wed, 16 Jan 2019 14:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531036#M748031</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-01-16T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compare substring in ApplyMap()</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531047#M748032</link>
      <description>&lt;P&gt;MapSubString will replace Keyword with App in the string... in order to extract just the app (using TextBetween), I added / and \ to the App.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-substring-in-ApplyMap/m-p/1531047#M748032</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-16T14:14:16Z</dc:date>
    </item>
  </channel>
</rss>

