<?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: Exclude from wild match in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1950945#M78366</link>
    <description>&lt;P&gt;What's your expected result given your example values?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 21:15:34 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2022-07-01T21:15:34Z</dc:date>
    <item>
      <title>Exclude from wild match</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1950919#M78363</link>
      <description>&lt;DIV class="topic-subject-wrapper"&gt;
&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
&lt;DIV class="MessageSubject"&gt;
&lt;DIV class="lia-message-subject"&gt;Filtering with respect to specified position in the value of a field&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="MessageInResponseTo lia-component-message-view-widget-in-response-to lia-component-in-response-to"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;I want to select only specified values in my field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;US&lt;/STRONG&gt;FYK&lt;STRONG&gt;A&lt;/STRONG&gt;U8I&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;US&lt;/STRONG&gt;IKS&lt;STRONG&gt;A&lt;/STRONG&gt;U9U&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;US&lt;/STRONG&gt;KJ1&lt;STRONG&gt;S&lt;/STRONG&gt;HSW&lt;/P&gt;
&lt;P&gt;USJG5AJGU&lt;/P&gt;
&lt;P&gt;&amp;nbsp;#########################&lt;/P&gt;
&lt;P&gt;I want only codes which start with US and sixth letter should be A.&lt;/P&gt;
&lt;P&gt;I tried this&amp;nbsp; &amp;nbsp;=If(WildMatch(Code,'US???A???'), Code)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Exclude&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I also want to eliminate letter U on ninth position&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If(WildMatch(Code,'US??????U'),'Unspecified') --- condition to exclude code ends with U i guess&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;###########################################################################&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;=If(WildMatch(Code,'US???A???',&lt;STRONG&gt;If(WildMatch(Code,'US???A???','Unspecified')&lt;/STRONG&gt;, Code)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Is it works&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I want both conditions to satisfy&lt;/EM&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Jul 2022 19:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1950919#M78363</guid>
      <dc:creator>ajit_aarya</dc:creator>
      <dc:date>2022-07-01T19:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude from wild match</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1950945#M78366</link>
      <description>&lt;P&gt;What's your expected result given your example values?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 21:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1950945#M78366</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-07-01T21:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude from wild match</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1950960#M78369</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/186604"&gt;@ajit_aarya&lt;/a&gt;&amp;nbsp; Not sure of your exact requirement. But with whatever I have understood I have created a script for you. This will include three Criteria&lt;/P&gt;
&lt;P&gt;1. Code should start with US&lt;/P&gt;
&lt;P&gt;2. Sixth Character should always be 'A'&lt;/P&gt;
&lt;P&gt;3.Ninth Character should always be 'U'&lt;/P&gt;
&lt;P&gt;Based on the above Conditions your Code will be filtered.&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load *&lt;BR /&gt;where match(Condiditon,'Match');&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Load *,&lt;BR /&gt;Right(left(Code,6),1) as Sixth_Value,&lt;BR /&gt;Right(left(Code,9),1) as Ninth_Value,&lt;BR /&gt;if(WildMatch(Code,'US*') and Right(left(Code,6),1)='A' and Right(left(Code,9),1)='U',&lt;BR /&gt;'Match','No match') as Condiditon;&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;BR /&gt;Code&lt;BR /&gt;USFYKAU8I&lt;BR /&gt;USFYKBU8I&lt;BR /&gt;USIKSAU9U&lt;BR /&gt;USAJ1AHSW&lt;BR /&gt;USJG5AJGU&lt;BR /&gt;UKJG5AJGU&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;If this does not meet your requirement as&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/675"&gt;@MarcoWedel&lt;/a&gt;&amp;nbsp;mentioned please provide some sample data and expected output. If it meets your requirement please like and accept as solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 03:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1950960#M78369</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-02T03:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude from wild match</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1951875#M78466</link>
      <description>&lt;P&gt;expected results are codes which are starts with &lt;STRONG&gt;US&lt;/STRONG&gt; and sixth Position &lt;STRONG&gt;A&lt;/STRONG&gt; and also not ends with &lt;STRONG&gt;U&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;From above samples, Expected are&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;US&lt;/STRONG&gt;FYK&lt;STRONG&gt;A&lt;/STRONG&gt;U8&lt;STRONG&gt;I&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;( It satisfies three conditions)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1951875#M78466</guid>
      <dc:creator>ajit_aarya</dc:creator>
      <dc:date>2022-07-05T14:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude from wild match</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1952038#M78481</link>
      <description>&lt;P&gt;maybe something like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1657057097312.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83390iC21160F3784B4400/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_0-1657057097312.png" alt="MarcoWedel_0-1657057097312.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;table1:
Load *
Inline [
Code
USFYKAU8I
USIKSAU9U
USKJ1SHSW
USJG5AJGU
ABCDEFGHI
USCDEFGHI
ABCDEAGHI
USCDEAGHI
ABCDEFGHU
USCDEFGHU
ABCDEAGHU
USCDEAGHU
USCDEAGHIU
]
Where Code like 'US???A*' and not Code like '????????U*';&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 21:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1952038#M78481</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-07-05T21:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude from wild match</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1952039#M78482</link>
      <description>&lt;P&gt;or instead&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Where Left(Code,2)='US' and Mid(Code,6,1)='A' and Mid(Code,9,1)&amp;lt;&amp;gt;'U';&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;both checking for your initial "no U on ninth position" condition, which only is equal to "does not end with U" for codes of length 9 obviously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"does not end with U" solutions in this case would be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Where Code like 'US???A*' and not Code like '*U';&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Where Left(Code,2)='US' and Mid(Code,6,1)='A' and Right(Code,1)&amp;lt;&amp;gt;'U';&lt;/LI-CODE&gt;
&lt;P&gt;hope this helps&lt;BR /&gt;Marco&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 21:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-from-wild-match/m-p/1952039#M78482</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-07-05T21:51:59Z</dc:date>
    </item>
  </channel>
</rss>

