<?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 when text string exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-flag-when-text-string-exists/m-p/109636#M754439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Not Wildmatch(Outage_Summary, '*CRITSIT*')&amp;gt;0, 'Non-Critical', 'CRITSIT')&amp;nbsp; AS CritsitFlag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2018 15:16:03 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2018-10-16T15:16:03Z</dc:date>
    <item>
      <title>Create a flag when text string exists</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-flag-when-text-string-exists/m-p/109635#M754438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, let me say that I know this is a really bad practice but...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an need to search though a column (OUTAGE_SUMMARY) for a free text string (COMMAND CENTRE CRITSIT)&amp;nbsp; When it exists, I want to create a new flag column called CRITSIT? and populate it with the text "CRITSIT" and when the text doesn't exist, populate the new flag column with "Non Critical".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenging part is that after reviewing the data, I can see that the location of the text is not always in the same location in the text block.&amp;nbsp; Sometimes it is at the start and sometimes it is in the middle of the text block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with the data source to get a flag added into the source tool, but until then I need to create a short term solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&amp;nbsp; Suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-flag-when-text-string-exists/m-p/109635#M754438</guid>
      <dc:creator>brf10043</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a flag when text string exists</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-flag-when-text-string-exists/m-p/109636#M754439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Not Wildmatch(Outage_Summary, '*CRITSIT*')&amp;gt;0, 'Non-Critical', 'CRITSIT')&amp;nbsp; AS CritsitFlag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 15:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-flag-when-text-string-exists/m-p/109636#M754439</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-10-16T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create a flag when text string exists</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-flag-when-text-string-exists/m-p/109637#M754440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you may also try something like below.&lt;/P&gt;&lt;P&gt;if(SubStringCount([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OUTAGE_SUMMARY&lt;/SPAN&gt;],'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CRITSIT&lt;/SPAN&gt;')&amp;gt;0,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CRITSIT&lt;/SPAN&gt;','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Non Critical&lt;/SPAN&gt;') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CRITSIT_FLAG&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 15:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-flag-when-text-string-exists/m-p/109637#M754440</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2018-10-16T15:25:24Z</dc:date>
    </item>
  </channel>
</rss>

