<?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: wildmatch function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393945#M485308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;if(WildMatch(Field,'*300914*','*120001031*'),'good','bad')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Wildmatch returns 1 if it matches 300914 and returns 2 if it matches 120001031&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 10:12:41 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-04-24T10:12:41Z</dc:date>
    <item>
      <title>wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393944#M485307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have a field it includes number and string text such as 1234 abcd,4321 desf&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to use wildmatch function in order to get numbers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My code example is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(WildMatch(Field,'*300914*','*120001031*')=1,'good','bad') but this code is working only for ' 300914' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;it doesn not work both situation&amp;nbsp; (300914 and 120001031) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 08:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393944#M485307</guid>
      <dc:creator>QSense</dc:creator>
      <dc:date>2013-04-24T08:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393945#M485308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;if(WildMatch(Field,'*300914*','*120001031*'),'good','bad')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Wildmatch returns 1 if it matches 300914 and returns 2 if it matches 120001031&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 10:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393945#M485308</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-24T10:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393946#M485309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WildMatch (and any variant of Match) returns the position on which the result was matched. So in your case for 120001031 it returns 2.&lt;/P&gt;&lt;P&gt;If you want to use it for true/false comparisons, always use Match(...)&amp;lt;&amp;gt;0&amp;nbsp; or just simply Match() with no comparison operator (everything but 0 and null is treated as True).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 10:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393946#M485309</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2013-04-24T10:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393947#M485310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to split the expression using an or statement. Try something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(WildMatch(Field,'*300914*')=1 or WildMatch(Field,'*120001031*')=1,'good','bad') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But that will only work for those two numbers. If this is not what you want please be clearer..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;M&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 10:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393947#M485310</guid>
      <dc:creator />
      <dc:date>2013-04-24T10:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393948#M485311</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 nested if condition as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;If(WildMatch(Field,'*300914*')=1),'good',If(WildMatch(Field,'*120001031*')=1),'bad')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Revathy&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 11:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393948#M485311</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-24T11:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393949#M485312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could also do:&lt;/P&gt;&lt;P&gt;pick(wildmatch(Field&lt;SPAN style="color: #737373; font-family: Arial;"&gt;,'*300914*','*120001031*'),'good','bad'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 23:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393949#M485312</guid>
      <dc:creator />
      <dc:date>2014-05-27T23:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393950#M485313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try using greater than equal (&amp;gt;=) instead of just equal (=):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;if(WildMatch(Field,'*300914*','*120001031*')&lt;STRONG&gt;&amp;gt;=&lt;/STRONG&gt;1,'good','bad')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 23:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393950#M485313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T23:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393951#M485314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to bump this - did you find a resolution? Unfortunately none of the suggestions have worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue - wanting to find the number of clients who have &lt;STRONG&gt;both&lt;/STRONG&gt; these products, (example) 'Car' &amp;amp; 'Boat'. Not one or the other - both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have as the wildmatch - &lt;STRONG&gt;if (WildMatch(Product, '*Car*','*Boat*')=1,'Combo',null)&lt;/STRONG&gt;, with the measure &lt;STRONG&gt;count(Client ID), &lt;/STRONG&gt;and with the option of showing null values unchecked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the problem that it's only returning the number of clients with Cars, not the number of clients with both a Car and a Boat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, say there's a 100 clients with Cars, and another 80&lt;SPAN style="font-size: 10pt;"&gt; with Boats, and 50 have both a Car and a Boat, it's returning 100, not 50.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I change it to '=2' it returns the number of boats, 80. And if I leave out the =1 or 2 altogether, it brings back the combined total, so 180.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Qlik Sense Server, but the SQL theory/syntax should be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 00:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393951#M485314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T00:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393952#M485315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you try some set analysis expressions like&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[ClientID] = p({&amp;lt;[Products] = {A}&amp;gt;}) * p({&amp;lt;[Products] = {B}&amp;gt;}) &amp;gt;} distinct [ClientID])&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 03:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393952#M485315</guid>
      <dc:creator />
      <dc:date>2017-03-03T03:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393953#M485316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiruthi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not really sure where this fits in with either a table or a pivot table sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using the Wildmatch as a Row Dimension in a pivot table - where would your expression fit in please? I'm relatively new to Qlik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 03:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393953#M485316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T03:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393954#M485317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;You could use a straight or pivot table with clientId as dimension. Attached a sample application .&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 04:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393954#M485317</guid>
      <dc:creator />
      <dc:date>2017-03-03T04:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393955#M485318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiruthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, to clarify - where in your script do I specify 'Car' and 'Boat' please? I'm really not sure where this fits...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 01:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393955#M485318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-09T01:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: wildmatch function</title>
      <link>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393956#M485319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard - I think Kiruthi's solution should work. To rephrase your question, if I understand correctly, you want to know how many rows with a value for client ID are associated with Product ~ "*Car*" &lt;STRONG&gt;and&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;Product ~ "*Boat*".&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;To rephrase that again: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; H&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ow many distinct clientID remain selectable (count)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if the set of all clientIDs is reduced to ( { &amp;lt; restrictions&amp;gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the intersection of&amp;nbsp; ( set modifier asterisk = intersection)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the set of clientIDs that are possible to select when Product contains Car&amp;nbsp; (p for possible function)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the set of clientIDs possible to select when Product contains Boat. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you may need to use wildcard search in the set expressions, though, for instance &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;p({&amp;lt;[Products] = {"*Car*"}&amp;gt;})&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;To read more about set modification, check this out: &lt;A href="https://help.qlik.com/en-US/sense/3.2/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-modifiers.htm" title="https://help.qlik.com/en-US/sense/3.2/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-modifiers.htm"&gt;https://help.qlik.com/en-US/sense/3.2/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-modifiers.htm&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 22:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wildmatch-function/m-p/393956#M485319</guid>
      <dc:creator>ffd</dc:creator>
      <dc:date>2017-03-20T22:06:55Z</dc:date>
    </item>
  </channel>
</rss>

