<?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 Not Working in Where Clause in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519296#M106220</link>
    <description>&lt;P&gt;Ahhh of course, when I write it in Qlik I do use * but this was copied across from a SQL script and edited. Thanks for spotting this. Sometimes you can be staring at something so long that you cannot see the wood for the trees!&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2025 08:19:05 GMT</pubDate>
    <dc:creator>Andrew_ENT</dc:creator>
    <dc:date>2025-05-28T08:19:05Z</dc:date>
    <item>
      <title>Wildmatch Function Not Working in Where Clause</title>
      <link>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519200#M106200</link>
      <description>&lt;P&gt;As per the image below, the function&lt;/P&gt;&lt;P&gt;-- Where wildmatch("Object number",'OR%')&amp;gt;0&lt;/P&gt;&lt;P&gt;was not working. I couldn't figure out why it wasn't working but had tracked the problem down to here. So, I tested the alternative approach&lt;/P&gt;&lt;P&gt;-- Where Left("Object number",2)='OR'&lt;/P&gt;&lt;P&gt;Which worked.&lt;/P&gt;&lt;P&gt;I no longer have a problem, but I do have a curious learning point as I cannot possibly explain why the original function didn't work. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andrew_ENT_0-1748359053903.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180835i3DC3311E99C7F80E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andrew_ENT_0-1748359053903.png" alt="Andrew_ENT_0-1748359053903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 15:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519200#M106200</guid>
      <dc:creator>Andrew_ENT</dc:creator>
      <dc:date>2025-05-27T15:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch Function Not Working in Where Clause</title>
      <link>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519207#M106205</link>
      <description>&lt;P&gt;"%" is not a Qlik wildcard character. So your expression would only match the case-insensitive string "OR%". Is that what you intended?&amp;nbsp; If you are trying to match "OR" followed by an single character the mask would be 'OR?'.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 15:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519207#M106205</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-05-27T15:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch Function Not Working in Where Clause</title>
      <link>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519219#M106209</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/231381"&gt;@Andrew_ENT&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp; said,&lt;STRONG&gt; ‘%’&lt;/STRONG&gt; is not a character used in Qlik, you can use&lt;STRONG&gt; ‘*’&lt;/STRONG&gt;:&lt;BR /&gt;For example in SQL, you will filter the values ​​that start with OR by doing something like&lt;BR /&gt;&lt;STRONG&gt;Where Filed like 'OR%'&lt;/STRONG&gt;, for Qlik you can do it like &lt;STRONG&gt;Where WildMatch(Filed,'OR&lt;FONT color="#FF0000"&gt;*&lt;/FONT&gt;')&amp;gt;0&lt;/STRONG&gt;;&lt;BR /&gt;&lt;BR /&gt;note:&amp;nbsp; This way it filters both upper and lower case letters&lt;BR /&gt;&lt;BR /&gt;- Matheus&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 17:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519219#M106209</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2025-05-27T17:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch Function Not Working in Where Clause</title>
      <link>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519241#M106215</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try: Where wildmatch([Object number],'OR*')&amp;gt;0 - this does the wild search on 'OR' but wil search on charaters that are right to 'OR', '*OR*' -&amp;nbsp; this does wild searh and returns all the field values that contan 'OR' no matter where the location of 'OR' in the field value is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Where Left("Object number",2)='OR' -&amp;nbsp; this looks only for 'OR' in the first 2 characters of the field value.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 18:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519241#M106215</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2025-05-27T18:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Wildmatch Function Not Working in Where Clause</title>
      <link>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519296#M106220</link>
      <description>&lt;P&gt;Ahhh of course, when I write it in Qlik I do use * but this was copied across from a SQL script and edited. Thanks for spotting this. Sometimes you can be staring at something so long that you cannot see the wood for the trees!&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 08:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wildmatch-Function-Not-Working-in-Where-Clause/m-p/2519296#M106220</guid>
      <dc:creator>Andrew_ENT</dc:creator>
      <dc:date>2025-05-28T08:19:05Z</dc:date>
    </item>
  </channel>
</rss>

