<?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: Use variable from Input box in Match function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857574#M300421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I'm very confused.. I changed my expression to include the actual value, just to make sure, and even when I entered "if(MixMatch(Notes,'Not Qualified')&amp;gt;=1,Notes,'No Match')" as my expression, it returned "No Match". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, quite clearly, we can see "Not Qualified" is present in the "Full Note", so why does the MixMatch function not return a positive value here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 14:09:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-09T14:09:30Z</dc:date>
    <item>
      <title>Use variable from Input box in Match function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857571#M300418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our CRM has a text "Notes" field that can be very large. We want the ability to filter via a user-supplied keyword, so the idea was to create an Input Box where the user entered the search term (stored in vSearch), and I used the MixMatch function as an Expression in the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(MixMatch(Notes,vSearch)&amp;gt;=1,Notes,'No Match')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this uniformly returns "No Match", even when I type in the word "The" (which does appear in the Notes frequently!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing it's because vSearch is not a string. I tried MixMatch(Notes,$(vSearch))&amp;gt;=1, but that always returned "No Match" as well.&lt;/P&gt;&lt;P&gt;I'm not sure how to add the quotation marks to make vSearch a literal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 13:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857571#M300418</guid>
      <dc:creator />
      <dc:date>2015-06-09T13:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable from Input box in Match function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857572#M300419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin, try enclosing the string returned by the variable between quotes:&lt;/P&gt;&lt;P&gt;MixMatch(Notes,'$(vSearch)')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 13:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857572#M300419</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-09T13:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable from Input box in Match function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857573#M300420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought of that, but doesn't that tell the system to look for the string $(vSearch) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, when I tried it, it returned "No Match" uniformly. Then I thought, why not enter the quote strings in the Input box, so I entered 'Not Qualified' (with the quote marks in the search string) I checked under the "Settings-&amp;gt; Variable Overview' and the value was 'Not Qualified' (with the quotation marks). But the same thing: No match. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the data in "Full Notes" and the result of my expression in "Searched Notes"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="match.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88779_match.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857573#M300420</guid>
      <dc:creator />
      <dc:date>2015-06-09T14:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable from Input box in Match function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857574#M300421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I'm very confused.. I changed my expression to include the actual value, just to make sure, and even when I entered "if(MixMatch(Notes,'Not Qualified')&amp;gt;=1,Notes,'No Match')" as my expression, it returned "No Match". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, quite clearly, we can see "Not Qualified" is present in the "Full Note", so why does the MixMatch function not return a positive value here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857574#M300421</guid>
      <dc:creator />
      <dc:date>2015-06-09T14:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable from Input box in Match function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857575#M300422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin, MixMatch will look for the whole string, maybe you looking for WildMatch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a variable vSearch with the value: Note&lt;/P&gt;&lt;P&gt;This expression returns Found:&lt;/P&gt;&lt;P&gt;=If(WildMatch('Notes','*$(vSearch)*'), 'Found', 'Not Found')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857575#M300422</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-09T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable from Input box in Match function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857576#M300423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Ruben, changing to Wildmatch and adding the "*" delimiters did the trick!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/857576#M300423</guid>
      <dc:creator />
      <dc:date>2015-06-09T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable from Input box in Match function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/1552718#M440396</link>
      <description>That's great, worked for me.</description>
      <pubDate>Wed, 06 Mar 2019 07:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-from-Input-box-in-Match-function/m-p/1552718#M440396</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-03-06T07:00:43Z</dc:date>
    </item>
  </channel>
</rss>

