<?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: Create a Flag Based on a Text String in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502722#M689718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marvellous - thanks to both of you that works a treat!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 07:45:02 GMT</pubDate>
    <dc:creator>stuwannop</dc:creator>
    <dc:date>2013-10-22T07:45:02Z</dc:date>
    <item>
      <title>Create a Flag Based on a Text String</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502719#M689715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondering if you could help with this. I have a field in a data table that may or may not contain the string "SORD". This could be anywhere in the text string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to be able to do is create a flag (1 or 0) as a new field depending on whether the text string SORD exists in the field. I can do it in Excel but can't get it working in Qlik!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 07:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502719#M689715</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-10-22T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Flag Based on a Text String</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502720#M689716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try WildMatch() or substringcount().&amp;nbsp; Check help file for examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(substringcount(Dimension, 'SORD')&amp;gt;0, 1, 0) as Flag&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(WildMatch(Dimension, '*SORD*')&amp;gt;0, 1, 0) as Flag&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regadrs,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 07:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502720#M689716</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-22T07:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Flag Based on a Text String</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502721#M689717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(SubStringCount(YourField, 'SORD')&amp;gt;0, 1, 0) as Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 07:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502721#M689717</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-22T07:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Flag Based on a Text String</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502722#M689718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marvellous - thanks to both of you that works a treat!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 07:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Flag-Based-on-a-Text-String/m-p/502722#M689718</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-10-22T07:45:02Z</dc:date>
    </item>
  </channel>
</rss>

