<?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: Inline load and string search in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inline-load-and-string-search/m-p/508919#M1136215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use SubStringCount(YourField).&lt;/P&gt;&lt;P&gt;If you are using a MAPPING, don't use IF clause.&lt;/P&gt;&lt;P&gt;applymap('KeywordMap',YourField)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as ErrorFlag&lt;/P&gt;&lt;P&gt;Try to rename those fields called @..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 14:13:48 GMT</pubDate>
    <dc:creator>christian77</dc:creator>
    <dc:date>2013-10-03T14:13:48Z</dc:date>
    <item>
      <title>Inline load and string search</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-load-and-string-search/m-p/508918#M1136214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to search a field for an occurrence of specific keywords and then set a flag if found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thinking that I want to use an inline load to pull in a list of keywords and then was going to use index to search the string. I can get it to work ok without the ApplyMap e.g. &lt;STRONG&gt;if((index(@36:n,'Error:') &amp;gt;0 )&amp;nbsp; , 'ERROR', 'OK') as ErrorFlag&lt;/STRONG&gt; but at a loss on what the syntax is for using the&amp;nbsp; ApplyMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was trying to use something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KeywordsMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1,F2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error:, 9999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Failure:9999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(index(@36:n, ApplyMap('KeywordsMap', @36:n)) &amp;lt;&amp;gt; 0&amp;nbsp;&amp;nbsp; , 'ERROR', 'OK') as ErrorFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've searched but can't see anything specific to this and being new to Qlikview not sure if this is best approach or if there's a better alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 13:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-load-and-string-search/m-p/508918#M1136214</guid>
      <dc:creator />
      <dc:date>2013-10-03T13:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Inline load and string search</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-load-and-string-search/m-p/508919#M1136215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use SubStringCount(YourField).&lt;/P&gt;&lt;P&gt;If you are using a MAPPING, don't use IF clause.&lt;/P&gt;&lt;P&gt;applymap('KeywordMap',YourField)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as ErrorFlag&lt;/P&gt;&lt;P&gt;Try to rename those fields called @..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-load-and-string-search/m-p/508919#M1136215</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-10-03T14:13:48Z</dc:date>
    </item>
  </channel>
</rss>

