<?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: How to Use a File of IDs to Filter Data in SAS VA? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952172#M18522</link>
    <description>&lt;P&gt;If I understood correctly, you want to filter the data in a report using specific filters. Let me try to provide some context with an example, okay?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a report that displays several charts for various cities in a state. However, I want the report to show only specific cities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is your scenario, here’s how you can solve it:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;In your Visual Analytics report, go to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;gt; Click the icon on the right side next to your data source called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data Source Menu&lt;/STRONG&gt;, and then select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Apply Data Filters...&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;A condition screen will appear. In the scenario we imagined above, the filter would be for cities. So it would look like this:&lt;/P&gt;
&lt;PRE&gt;( 'ID_CITY'n In ('10', '11', '12') )&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Done! You have filtered your report by the city IDs you want to display.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Fri, 29 Nov 2024 13:46:36 GMT</pubDate>
    <dc:creator>arthurdpereira</dc:creator>
    <dc:date>2024-11-29T13:46:36Z</dc:date>
    <item>
      <title>How to Use a File of IDs to Filter Data in SAS VA?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952165#M18521</link>
      <description>&lt;P data-pm-slice="0 0 []"&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to load a file containing a list of IDs into a SAS VA report as a parameter, enabling the report to display only the records related to these IDs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 10:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952165#M18521</guid>
      <dc:creator>Mahis</dc:creator>
      <dc:date>2024-11-29T10:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use a File of IDs to Filter Data in SAS VA?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952172#M18522</link>
      <description>&lt;P&gt;If I understood correctly, you want to filter the data in a report using specific filters. Let me try to provide some context with an example, okay?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a report that displays several charts for various cities in a state. However, I want the report to show only specific cities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is your scenario, here’s how you can solve it:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;In your Visual Analytics report, go to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;gt; Click the icon on the right side next to your data source called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data Source Menu&lt;/STRONG&gt;, and then select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Apply Data Filters...&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;A condition screen will appear. In the scenario we imagined above, the filter would be for cities. So it would look like this:&lt;/P&gt;
&lt;PRE&gt;( 'ID_CITY'n In ('10', '11', '12') )&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Done! You have filtered your report by the city IDs you want to display.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 29 Nov 2024 13:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952172#M18522</guid>
      <dc:creator>arthurdpereira</dc:creator>
      <dc:date>2024-11-29T13:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use a File of IDs to Filter Data in SAS VA?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952204#M18523</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/443120"&gt;@arthurdpereira&lt;/a&gt;Yes, I want to use specific filters, such as Client ID. Since the number of clients for whom I need to retrieve records is around 200K, I cannot use standard filters. I would like to know if it is possible to use a parameter in SAS VA that accepts a CSV file as input and retrieves only the records for these 200K clients.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2024 13:02:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952204#M18523</guid>
      <dc:creator>Mahis</dc:creator>
      <dc:date>2024-11-30T13:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use a File of IDs to Filter Data in SAS VA?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952655#M18527</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/445849"&gt;@Mahis&lt;/a&gt;! While parameters cannot accept a CSV file as an input, you can theoretically copy all 200K values and put them into an IN data source filter. I do not recommend doing this, as it is going to be extremely difficult to work with and you'll have an absolutely massive amount of code in a single file that might bog down your browser. In this case, you have two realistic options:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Pre-process your data: create a SAS Studio flow that loads your data into Visual Analytics which keeps only the values that match from the CSV file&lt;/LI&gt;
&lt;LI&gt;Load the CSV file as a table and do an inner-join directly from Visual Analytics. Keep in mind that this option will create a new table, and that join will be created for each person who loads the report.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I highly recommend going with Option 1 and pre-processing your data in a code flow.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 17:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/952655#M18527</guid>
      <dc:creator>Stu_SAS</dc:creator>
      <dc:date>2024-12-05T17:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use a File of IDs to Filter Data in SAS VA?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/954765#M18565</link>
      <description>&lt;P&gt;Thanks for you help&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/443120"&gt;@arthurdpereira&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/61362"&gt;@Stu_SAS&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 12:18:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/How-to-Use-a-File-of-IDs-to-Filter-Data-in-SAS-VA/m-p/954765#M18565</guid>
      <dc:creator>Mahis</dc:creator>
      <dc:date>2024-12-30T12:18:53Z</dc:date>
    </item>
  </channel>
</rss>

