<?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: Dataset filter query from a proc freq output in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dataset-filter-query-from-a-proc-freq-output/m-p/903446#M43959</link>
    <description>&lt;P&gt;Trying to understand your requirement.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;You run a FREQ.&lt;/LI&gt;
&lt;LI&gt;In the results window you type a selection criteria&lt;/LI&gt;
&lt;LI&gt;You want to use the same criteria on the original dataset&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;How are you intend to use your original dataset after applying the criteria?&lt;/P&gt;
&lt;P&gt;I mean, you can copy/paste the criteria in the data window of your original dataset.&lt;/P&gt;
&lt;P&gt;Or paste into a code node so you get an output dataset.&lt;/P&gt;
&lt;P&gt;If you want other not so proficient users to do this task you might want to create a stored&amp;nbsp; process using prompts&amp;nbsp;&lt;SPAN&gt;for this.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 09:34:35 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2023-11-16T09:34:35Z</dc:date>
    <item>
      <title>Dataset filter query from a proc freq output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dataset-filter-query-from-a-proc-freq-output/m-p/902890#M43950</link>
      <description>&lt;P&gt;I have a unique request where I am looking for a filter query like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amar_monk_0-1699918693463.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89711i02345754757E625A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amar_monk_0-1699918693463.png" alt="amar_monk_0-1699918693463.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;to be created from the proc freq output like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amar_monk_1-1699918740743.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89712i91FA69C2EA5638BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amar_monk_1-1699918740743.png" alt="amar_monk_1-1699918740743.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To make it clear, lets say if I use a shortcut like Ctrl+Shift+C when selecting the row 1 (as highlighted in the above picture), I should be getting this filter query &lt;EM&gt;&lt;STRONG&gt;make = "Acura" and type = "SUV"&lt;/STRONG&gt;&lt;/EM&gt; in the clipboard to be pasted in the original dataset. Is this possible by recording macros in SAS EG or some other technique?&lt;BR /&gt;&lt;BR /&gt;This will be very useful in the clinical datasets I am working to filter out the specific parts of large dataset.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 23:42:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dataset-filter-query-from-a-proc-freq-output/m-p/902890#M43950</guid>
      <dc:creator>amar_monk</dc:creator>
      <dc:date>2023-11-13T23:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset filter query from a proc freq output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dataset-filter-query-from-a-proc-freq-output/m-p/903446#M43959</link>
      <description>&lt;P&gt;Trying to understand your requirement.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;You run a FREQ.&lt;/LI&gt;
&lt;LI&gt;In the results window you type a selection criteria&lt;/LI&gt;
&lt;LI&gt;You want to use the same criteria on the original dataset&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;How are you intend to use your original dataset after applying the criteria?&lt;/P&gt;
&lt;P&gt;I mean, you can copy/paste the criteria in the data window of your original dataset.&lt;/P&gt;
&lt;P&gt;Or paste into a code node so you get an output dataset.&lt;/P&gt;
&lt;P&gt;If you want other not so proficient users to do this task you might want to create a stored&amp;nbsp; process using prompts&amp;nbsp;&lt;SPAN&gt;for this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 09:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dataset-filter-query-from-a-proc-freq-output/m-p/903446#M43959</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-11-16T09:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset filter query from a proc freq output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dataset-filter-query-from-a-proc-freq-output/m-p/904046#M43980</link>
      <description>&lt;P&gt;//&lt;SPAN&gt;&amp;nbsp;you might want to create a stored&amp;nbsp; process using prompts&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for this//&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to do this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 05:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dataset-filter-query-from-a-proc-freq-output/m-p/904046#M43980</guid>
      <dc:creator>amar_monk</dc:creator>
      <dc:date>2023-11-21T05:01:05Z</dc:date>
    </item>
  </channel>
</rss>

