<?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: Script Wildcard not working as expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192541#M878667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for just the first item, so the "or" does not work for the next item. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 17:14:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-12T17:14:53Z</dc:date>
    <item>
      <title>Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192538#M878664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to eliminate unwanted junk data from my list box views so I added the command to the script.&amp;nbsp; It is not working so I'm asking for some feedback on what is the correct way to do this.&lt;/P&gt;&lt;P&gt;Here is the junk I'm trying to eliminate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140390_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;And here are the commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM "DW_LMKPSFT"."PSD_PS_XR_COMPANY"&lt;BR /&gt; WHERE BO_NAME &amp;lt;&amp;gt; 'ABCDE Guest' or BO_NAME &amp;lt;&amp;gt;'*OUT*' or BO_NAME &amp;lt;&amp;gt; '*DUP*'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Also:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT "CASE_CONTACT",&lt;BR /&gt; NAME as CONTACT_NAME&lt;BR /&gt; FROM "DW_LMKPSFT"."PS_XR_CONT_NAME_VW"&lt;BR /&gt; WHERE NAME &amp;lt;&amp;gt;'*??**' or NAME &amp;lt;&amp;gt;'*zzz**'&lt;BR /&gt; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192538#M878664</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192539#M878665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think since you are using your where statement in SQL, you need to use SQL syntax here (&lt;A href="http://www.w3schools.com/sql/sql_wildcards.asp" title="http://www.w3schools.com/sql/sql_wildcards.asp"&gt;SQL Wildcards&lt;/A&gt;). May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL SELECT "CASE_CONTACT",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NAME as CONTACT_NAME&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM "DW_LMKPSFT"."PS_XR_CONT_NAME_VW"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;WHERE NAME NOT LIKE '??%' or NAME NOT LIKE 'zzz%'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192539#M878665</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-12T16:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192540#M878666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;You can use PurgeChar(FieldName, '!@#$%^&amp;amp;*()_+') as FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192540#M878666</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-12T16:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192541#M878667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for just the first item, so the "or" does not work for the next item. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 17:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192541#M878667</guid>
      <dc:creator />
      <dc:date>2016-10-12T17:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192542#M878668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is strange, i would have thought that this works. Can you test the sql outside of QlikView to see if it still doesn't work? Like in TOAD or whatever you use to run queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 17:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192542#M878668</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-12T17:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192543#M878669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it...thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192543#M878669</guid>
      <dc:creator />
      <dc:date>2016-10-12T18:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192544#M878670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to point out what exactly worked for you? May be this might help someone else in the future also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192544#M878670</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-12T18:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192545#M878671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure...I used 'and' instead of 'or' and I removed the % sign from the beginning of the string (if there were no preceding characters ahead of the text I wanted to remove) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192545#M878671</guid>
      <dc:creator />
      <dc:date>2016-10-12T18:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192546#M878672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya, I did remove them from the start when I gave you, but did not think you would need and instead of or. But that is the sort of thing that always confuses me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, I am glad it finally worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192546#M878672</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-12T18:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192547#M878673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the command I ended up with that provides the desired data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE NAME NOT LIKE 'zz%' and NAME NOT LIKE '??%' and NAME NOT LIKE '(%' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE BO_NAME NOT LIKE '%*%' and BO_NAME NOT LIKE 'ABCDE%' &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192547#M878673</guid>
      <dc:creator />
      <dc:date>2016-10-12T18:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Script Wildcard not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192548#M878674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing this John!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Wildcard-not-working-as-expected/m-p/1192548#M878674</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-12T18:45:22Z</dc:date>
    </item>
  </channel>
</rss>

