<?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 Smart way to insert multiple values into a filter in a SAS VA report in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Smart-way-to-insert-multiple-values-into-a-filter-in-a-SAS-VA/m-p/875433#M17200</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am trying to figure out the easiest way to insert multiple values into a filter in a SAS VA report.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, if I have a list of identification numbers for some customers in Microsoft Excel, which I need to insert into a filter in my report, how do I do it the easiest?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not want to enter each individual identification number in SAS VA one by one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There must be a smart way.&lt;/SPAN&gt;&lt;SPAN&gt; Unfortunately, I just can't figure it out myself.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 11:40:08 GMT</pubDate>
    <dc:creator>Nmkristensen</dc:creator>
    <dc:date>2023-05-12T11:40:08Z</dc:date>
    <item>
      <title>Smart way to insert multiple values into a filter in a SAS VA report</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Smart-way-to-insert-multiple-values-into-a-filter-in-a-SAS-VA/m-p/875433#M17200</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to figure out the easiest way to insert multiple values into a filter in a SAS VA report.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, if I have a list of identification numbers for some customers in Microsoft Excel, which I need to insert into a filter in my report, how do I do it the easiest?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not want to enter each individual identification number in SAS VA one by one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There must be a smart way.&lt;/SPAN&gt;&lt;SPAN&gt; Unfortunately, I just can't figure it out myself.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Smart-way-to-insert-multiple-values-into-a-filter-in-a-SAS-VA/m-p/875433#M17200</guid>
      <dc:creator>Nmkristensen</dc:creator>
      <dc:date>2023-05-12T11:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Smart way to insert multiple values into a filter in a SAS VA report</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Smart-way-to-insert-multiple-values-into-a-filter-in-a-SAS-VA/m-p/875451#M17201</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There might be a better way, but one approach would be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Using a text editor or some other means, make the list of values into a comma-separated list. If the values are numerics, they can be like this: 1,2,3 if they are character values they should be like this: 'ABC','DEF','GHI'. Using regular expressions in your text editor is one way to perform the formatting.&lt;/P&gt;
&lt;P&gt;2. In VA, create an advanced filter with the IN() or NOTIN() operator and select the "text" view in the expression editor.&lt;/P&gt;
&lt;P&gt;3. Copy-paste the comma-separated values into the IN or NOTIN operator in the VA expression editor window.&lt;/P&gt;
&lt;P&gt;This should work and should allow you to add a large number of values if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know if there is a way to programmatically read in the values and compare them within VA, but you could do this in your data preparation stage if you don't mind the filter being "baked in" to your VA table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone else might have other ideas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 12:57:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Smart-way-to-insert-multiple-values-into-a-filter-in-a-SAS-VA/m-p/875451#M17201</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-05-12T12:57:33Z</dc:date>
    </item>
  </channel>
</rss>

