<?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: Matching text to concatenated text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728090#M260946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you need:&lt;/P&gt;&lt;P&gt;=if(mixmatch('$(Doctor1)' ,ATTENDING_NAME ),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2014 05:19:56 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-06-24T05:19:56Z</dc:date>
    <item>
      <title>Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728085#M260941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable Doctor1 that contains the following text : DR. X,DR. Y. I am trying to compare the variable to a table field using the below but it isn't working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(mixmatch(ATTENDING_NAME , (Doctor1)),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody assist please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 14:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728085#M260941</guid>
      <dc:creator />
      <dc:date>2014-06-23T14:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728086#M260942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this syntax:&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;"&gt;=if(mixmatch(ATTENDING_NAME , $(Doctor1)),2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 14:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728086#M260942</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-06-23T14:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728087#M260943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No result &lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/61034_Capture.JPG.jpg" style="width: 620px; height: 76px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 19:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728087#M260943</guid>
      <dc:creator />
      <dc:date>2014-06-23T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728088#M260944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the variable should be&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;'DR. X','DR. Y.' &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 20:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728088#M260944</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-23T20:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728089#M260945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variable can hold different doctor names depending on the user selection. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 05:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728089#M260945</guid>
      <dc:creator />
      <dc:date>2014-06-24T05:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728090#M260946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you need:&lt;/P&gt;&lt;P&gt;=if(mixmatch('$(Doctor1)' ,ATTENDING_NAME ),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 05:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728090#M260946</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-24T05:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728091#M260947</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 like this, you need to give single quotes for variable, since it is a string.&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;"&gt;=if(mixmatch(ATTENDING_NAME , '$(Doctor1)'),2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 05:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728091#M260947</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-06-24T05:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728092#M260948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I entered the following expression but still getting no values: &lt;/P&gt;&lt;P&gt;if(mixmatch('$(Doctor1)' ,ATTENDING_NAME ),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/61035_Capture.JPG.jpg" style="width: 620px; height: 111px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 05:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728092#M260948</guid>
      <dc:creator />
      <dc:date>2014-06-24T05:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728093#M260949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nassar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Index(Upper(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;ATTENDING_NAME &lt;/SPAN&gt;) , Upper(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Doctor1&lt;/SPAN&gt;)),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 05:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728093#M260949</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-06-24T05:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728094#M260950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mixmatch() is exact match(case insensitive) function. For your case, you have to use wildmatch() or substringcount() or index(). Try like:&lt;/P&gt;&lt;P&gt;if(&lt;STRONG&gt;Index&lt;/STRONG&gt;('$(Doctor1)' ,ATTENDING_NAME ),2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: to take care of case insensitivity, use for both strings upper()/lower().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 05:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728094#M260950</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-24T05:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728095#M260951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it doesn't work...with your current expression.&lt;/P&gt;&lt;P&gt;as you can see you don't have single quotes per name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually it has to be like ------------&amp;gt; 'DR.X','DR.Y'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace your Doctor1 Variable with this...Not sure how you are calculating those names..&lt;/P&gt;&lt;P&gt;=chr(39)&amp;amp;Concat(NAME,chr(39)&amp;amp;','&amp;amp;chr(39))&amp;amp;chr(39)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use $(Doctor1) in your mixmatch expression with out single quotes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 05:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728095#M260951</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-06-24T05:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Matching text to concatenated text</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728096#M260952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. &lt;/P&gt;&lt;P&gt;The above worked fine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 06:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-text-to-concatenated-text/m-p/728096#M260952</guid>
      <dc:creator />
      <dc:date>2014-06-24T06:02:10Z</dc:date>
    </item>
  </channel>
</rss>

