<?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 Anything Similar to &amp;quot;Contain&amp;quot; function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227357#M619848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am currently trying to be able to create a calculated field in which I can filter whether or not an observation contains a string of characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie:&lt;BR /&gt;&lt;STRONG&gt;Fruits Purchased&lt;/STRONG&gt;&lt;BR /&gt;Bananas, Apples, Oranges&lt;BR /&gt;Bananas, Apples, Kiwis, Lemons&lt;/P&gt;&lt;P&gt;Apples, Pears, Oranges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to only show observations that include at least one of the following: Apples, Oranges. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a function that can do something similar in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for taking a look!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 15:03:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-03T15:03:22Z</dc:date>
    <item>
      <title>Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227357#M619848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am currently trying to be able to create a calculated field in which I can filter whether or not an observation contains a string of characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie:&lt;BR /&gt;&lt;STRONG&gt;Fruits Purchased&lt;/STRONG&gt;&lt;BR /&gt;Bananas, Apples, Oranges&lt;BR /&gt;Bananas, Apples, Kiwis, Lemons&lt;/P&gt;&lt;P&gt;Apples, Pears, Oranges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to only show observations that include at least one of the following: Apples, Oranges. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a function that can do something similar in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for taking a look!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 15:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227357#M619848</guid>
      <dc:creator />
      <dc:date>2017-03-03T15:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227358#M619849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just want to flag those rows where Apple or Orange appears? May be use WildMatch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Fruits Purchased],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(WildMatch(&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;Fruits Purchased&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;, '*Apples*', '*Oranges*'), 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From ....;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 16:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227358#M619849</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-03T16:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227359#M619850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Elaborating a bit on Sunny's script, but in the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; [Fruits Purchased] = {"*Apples*", "*Oranges*"} &amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 16:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227359#M619850</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-03-03T16:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227360#M619851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny and Miguel,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies! Yes, I would like to flag those rows where apple and orange appears so that I can perform analysis on multiple other columns but only for apples and oranges. However, I am in Qlik Sense, not Qlik View(my bad I didn't mention), and I dont think flag is a function there. Is there another way I can do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 16:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227360#M619851</guid>
      <dc:creator />
      <dc:date>2017-03-03T16:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227361#M619852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function we have used is WildMatch and not Flag... You can use the same script that I provided or expression that Miguel provided to do this in Qlik Sense also....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 16:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227361#M619852</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-03T16:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227362#M619853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies, this is my first day using Qlik. I have used your script.&lt;/P&gt;&lt;P&gt; if(WildMatch([Fruits Purchased], '*Apples*', '*Oranges*'), 1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use this to return all values of the rest columns(TotalAmount, PurchaseDate, StoreLocation) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bradley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 17:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227362#M619853</guid>
      <dc:creator />
      <dc:date>2017-03-03T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227363#M619854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope that you have done this in your script, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Fruits Purchased],&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(WildMatch([Fruits Purchased], '*Apples*', '*Oranges*'), 1,0)&lt;/SPAN&gt; as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StoreLocation,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PurchaseDate&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;FROM ...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a table chart with dimensions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;StoreLocation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PurchaseDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fruits Purchased]&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Flag = {1}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here {&amp;lt;Flag = {1}&amp;gt;} is a set analysis syntax which will tell your chart to show only those rows where Flag = 1 and hide any other row from the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read more about set analysis here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4076"&gt;A Primer on Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 17:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227363#M619854</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-03T17:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227364#M619855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 17:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227364#M619855</guid>
      <dc:creator />
      <dc:date>2017-03-03T17:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227365#M619856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1138796"&gt;Re: Load script find value from one table as substring&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Mar 2017 22:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1227365#M619856</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-03-05T22:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Anything Similar to "Contain" function?</title>
      <link>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1819240#M1213303</link>
      <description>&lt;P&gt;Thank you Sunny!&amp;nbsp; Your explanation saved the day.&amp;nbsp; Really appreciate it.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 00:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anything-Similar-to-quot-Contain-quot-function/m-p/1819240#M1213303</guid>
      <dc:creator>rygreene3</dc:creator>
      <dc:date>2021-07-02T00:58:27Z</dc:date>
    </item>
  </channel>
</rss>

