<?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: Checking if a multiple sub strings are found in a string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608313#M736835</link>
    <description>&lt;P&gt;Hi, Just had to tweek a few things and it worked perfectly thank you&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 03:47:33 GMT</pubDate>
    <dc:creator>AtilaH</dc:creator>
    <dc:date>2019-08-01T03:47:33Z</dc:date>
    <item>
      <title>Checking if a multiple sub strings are found in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608043#M736832</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the following problem that I ma hoping somebody has had before and could help me with, the tables are large and there are many variations based on active ingredient and Disease,&lt;/P&gt;&lt;P&gt;I have the following Tables&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exclusion table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Disease&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ATCLEVEL5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PREPERATION EXCLUSIONS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ADDISONS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;H02AA02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INJ,SYR,POI&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drug table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UNiQUE ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ATCLEVEL5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PREPERATION&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3212451243&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;H02AA02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INJ&lt;/P&gt;&lt;P&gt;1231351522&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;H02AA02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CAP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to generate a table that calculates whether a drug can be included or excluded based on the first tables exclusion criteria&lt;/P&gt;&lt;P&gt;Straight table output:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UNIQUE ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ATCLEVEL5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INCLUDED/EXCLUDED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3212451243&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;H02AA02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EXCLUDED&lt;/P&gt;&lt;P&gt;1231351522&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;H02AA02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INCLUDED&lt;/P&gt;&lt;P&gt;Thanks in advance for the help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Atila&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608043#M736832</guid>
      <dc:creator>AtilaH</dc:creator>
      <dc:date>2024-11-16T20:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if a multiple sub strings are found in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608076#M736833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;ATCLEVEL5&amp;amp;Exlusions as Exlude;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;Disease ,&amp;nbsp; ATCLEVEL5 ,Subfield([PREPERATION EXCLUSIONS,]',') as Exlusions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From XYZ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load&amp;nbsp;UNiQUE ID , ATCLEVEL5 ,PREPERATION, If(Exists(Exclude,ATCLEVEL5&amp;amp;PREPERATION),'Exluce','Include') as Newfield From PQR;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kaushik Solanki&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608076#M736833</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2019-07-31T13:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if a multiple sub strings are found in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608312#M736834</link>
      <description>&lt;P&gt;Hi Kaushik&lt;/P&gt;&lt;P&gt;I ran the following script,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load ATCLEVEL5&amp;amp;Exclusions as Exclude;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Disease , &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ATCLEVEL5 ,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Subfield([Preperation exclusions],',') as Exclusions&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[I:\Drug file\Qliksug.xlsx]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(ooxml, embedded labels, table is [Exclsusion table]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD [UNiQUE ID], &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ATCLEVEL5, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PREPERATION,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;If(Exists(Exclude,ATCLEVEL5&amp;amp;PREPERATION),'Exluce','Include') as Newfield&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[I:\Drug file\Qliksug.xlsx]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(ooxml, embedded labels, table is [Drug tableUNiQUE ID]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The exclusion doesn't&amp;nbsp;seem to match the desired flags&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I will Attach the model for convenience&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 03:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608312#M736834</guid>
      <dc:creator>AtilaH</dc:creator>
      <dc:date>2019-08-01T03:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if a multiple sub strings are found in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608313#M736835</link>
      <description>&lt;P&gt;Hi, Just had to tweek a few things and it worked perfectly thank you&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 03:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608313#M736835</guid>
      <dc:creator>AtilaH</dc:creator>
      <dc:date>2019-08-01T03:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if a multiple sub strings are found in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608318#M736836</link>
      <description>&lt;P&gt;Hi, there is a slight problem, when I add another disease that has the same ATC5Level that might be included , it is exluded&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 04:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-a-multiple-sub-strings-are-found-in-a-string/m-p/1608318#M736836</guid>
      <dc:creator>AtilaH</dc:creator>
      <dc:date>2019-08-01T04:15:44Z</dc:date>
    </item>
  </channel>
</rss>

