<?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 Wildmatch or Like function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087119#M641024</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;I'm trying to map a field "seller risk" to a "Highest risk" field.&lt;/P&gt;&lt;P&gt;The seller risk's value has multiple seller and their risk, for example "Apple - Low; Microsoft - Medium; Nokia - High"&lt;/P&gt;&lt;P&gt;The Highest risk field should take the highest risk of all sellers' risk and in this example, it should be "High"&lt;/P&gt;&lt;P&gt;I'm trying to use the wildmatch function, but looks like it doesn't work.&amp;nbsp; Any idea how to map this?&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;Yvonne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my script:&lt;/P&gt;&lt;P&gt;Load [seller risk],&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[seller risk]&lt;/SPAN&gt;, 'High'),'High',&lt;BR /&gt; &lt;STRONG style="color: #0000ff;"&gt;if&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[seller risk]&lt;/SPAN&gt;, 'Medium'),'Medium','Low')&lt;STRONG style="color: #ff0000;"&gt;)&lt;/STRONG&gt; as &lt;SPAN style="color: #800000;"&gt;[Highest Risk] &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 18:49:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-03T18:49:35Z</dc:date>
    <item>
      <title>Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087119#M641024</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;I'm trying to map a field "seller risk" to a "Highest risk" field.&lt;/P&gt;&lt;P&gt;The seller risk's value has multiple seller and their risk, for example "Apple - Low; Microsoft - Medium; Nokia - High"&lt;/P&gt;&lt;P&gt;The Highest risk field should take the highest risk of all sellers' risk and in this example, it should be "High"&lt;/P&gt;&lt;P&gt;I'm trying to use the wildmatch function, but looks like it doesn't work.&amp;nbsp; Any idea how to map this?&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;Yvonne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my script:&lt;/P&gt;&lt;P&gt;Load [seller risk],&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[seller risk]&lt;/SPAN&gt;, 'High'),'High',&lt;BR /&gt; &lt;STRONG style="color: #0000ff;"&gt;if&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[seller risk]&lt;/SPAN&gt;, 'Medium'),'Medium','Low')&lt;STRONG style="color: #ff0000;"&gt;)&lt;/STRONG&gt; as &lt;SPAN style="color: #800000;"&gt;[Highest Risk] &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087119#M641024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T18:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087120#M641025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;May be this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;LOAD [seller risk],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757; font-family: inherit;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pick(WildMatch([seller risk], '*High*', &lt;SPAN style="font-size: 13.3333px;"&gt;'*Medium*', '*Low*'&lt;/SPAN&gt;), 'High', &lt;SPAN style="font-size: 13.3333px;"&gt;'Medium', 'Low') as&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;[Highest Risk]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;&lt;STRONG&gt;FROM Source&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087120#M641025</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T18:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087121#M641026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm.it didn't work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087121#M641026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T18:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087122#M641027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not work for any of the rows or did not work partially?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087122#M641027</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T18:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087123#M641028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it didn't work at all, no value returned for the highest risk field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087123#M641028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T19:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087124#M641029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a screenshot of data within seller risk field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087124#M641029</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T19:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087125#M641030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Sunny's answer is right, could you post your script?&lt;/P&gt;&lt;P&gt;Here is an example with Sunny's answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116888_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Source:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;seller risk&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Apple - Low; Microsoft - Medium; Nokia - High&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Nokia - High; Apple - Low; Microsoft - Medium;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Apple - Low; Microsoft - Medium;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Apple - Low; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;nomatch&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;final:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [seller risk],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pick(WildMatch([seller risk], '*High*', '*Medium*', '*Low*', '*'), 'High', 'Medium', 'Low', [seller risk]) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Highest Risk]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Source;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Source;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087125#M641030</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-03T19:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087126#M641031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked on a second try. I forgot the '*'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 20:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087126#M641031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T20:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch or Like function?</title>
      <link>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087127#M641032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha, you should have copy pasted the expression (assuming the field names matched the sample you provided). But I am glad we &lt;A _jive_internal="true" href="https://community.qlik.com/people/maxgro"&gt;maxgro&lt;/A&gt;‌'s sample helped you figure out the issue &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 20:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wildmatch-or-Like-function/m-p/1087127#M641032</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T20:24:33Z</dc:date>
    </item>
  </channel>
</rss>

