<?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 Filter Cases by Case title using multiple keywords in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-Cases-by-Case-title-using-multiple-keywords/m-p/549278#M12217</link>
    <description>&lt;P&gt;Hi. I have a database connected to SAS VA. This database contains all customer correspondence, and one of the data item is “Case title”, which is the subject title for a case. Out of the hundreds and thousands of cases in the database, I want to retrieve cases that have specified keywords (eg. “poor service”, “bad attitude”) in the title.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went to advanced filter and use the following expression:&lt;/P&gt;&lt;P&gt;UPCASE( Case title) contains UPCASE(“poor service”)&lt;/P&gt;&lt;P&gt;Sure enough, the list table shows only cases with “poor service” in the titles. However I also need cases with “bad attitude” in the same list table. I tried the following with the OR operator:&lt;/P&gt;&lt;P&gt;UPCASE( Case title) contains &lt;STRONG&gt;OR&lt;/STRONG&gt;( UPCASE(“poor service”)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UPCASE(“bad attitude”)&lt;/P&gt;&lt;P&gt;It doesn’t work. Threw up an error saying Boolean used but expecting Character or something. Please help. How can I retrieve cases based on a set of keywords?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 14:12:11 GMT</pubDate>
    <dc:creator>mattneo</dc:creator>
    <dc:date>2019-04-08T14:12:11Z</dc:date>
    <item>
      <title>Filter Cases by Case title using multiple keywords</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-Cases-by-Case-title-using-multiple-keywords/m-p/549278#M12217</link>
      <description>&lt;P&gt;Hi. I have a database connected to SAS VA. This database contains all customer correspondence, and one of the data item is “Case title”, which is the subject title for a case. Out of the hundreds and thousands of cases in the database, I want to retrieve cases that have specified keywords (eg. “poor service”, “bad attitude”) in the title.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went to advanced filter and use the following expression:&lt;/P&gt;&lt;P&gt;UPCASE( Case title) contains UPCASE(“poor service”)&lt;/P&gt;&lt;P&gt;Sure enough, the list table shows only cases with “poor service” in the titles. However I also need cases with “bad attitude” in the same list table. I tried the following with the OR operator:&lt;/P&gt;&lt;P&gt;UPCASE( Case title) contains &lt;STRONG&gt;OR&lt;/STRONG&gt;( UPCASE(“poor service”)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UPCASE(“bad attitude”)&lt;/P&gt;&lt;P&gt;It doesn’t work. Threw up an error saying Boolean used but expecting Character or something. Please help. How can I retrieve cases based on a set of keywords?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 14:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-Cases-by-Case-title-using-multiple-keywords/m-p/549278#M12217</guid>
      <dc:creator>mattneo</dc:creator>
      <dc:date>2019-04-08T14:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Cases by Case title using multiple keywords</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-Cases-by-Case-title-using-multiple-keywords/m-p/549311#M12219</link>
      <description>&lt;P&gt;It is inelegant, but you should be able to use:&lt;BR /&gt;&lt;BR /&gt;OR (UPCASE(Case title) contains UPCASE("poor service")&lt;BR /&gt;UPCASE(Case title) contains UPCASE("bad attitude")))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is, repeat the entire condition for each OR case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may also be a much better solution someone else could offer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-Cases-by-Case-title-using-multiple-keywords/m-p/549311#M12219</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2019-04-08T15:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Cases by Case title using multiple keywords</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-Cases-by-Case-title-using-multiple-keywords/m-p/549461#M12225</link>
      <description>Thanks sam. It works! I actually have more keywords so i guess i have to keep adding OR operators. If theres a more efficient way, like to reference a list of words the user enters, will love to hear it.... But this will do for now. Thks again</description>
      <pubDate>Tue, 09 Apr 2019 02:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Filter-Cases-by-Case-title-using-multiple-keywords/m-p/549461#M12225</guid>
      <dc:creator>mattneo</dc:creator>
      <dc:date>2019-04-09T02:59:10Z</dc:date>
    </item>
  </channel>
</rss>

