<?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: proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818717#M323173</link>
    <description>Thank you, this works!  I will post any future question according to your suggestion in the future.</description>
    <pubDate>Thu, 16 Jun 2022 21:16:14 GMT</pubDate>
    <dc:creator>Ivy</dc:creator>
    <dc:date>2022-06-16T21:16:14Z</dc:date>
    <item>
      <title>proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818692#M323154</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to output the following simple frequency table based on proc freq to excel using proc report. However&amp;nbsp;proc report procedures adding up the count even I change the count as count_ , percent as pct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any way to prevent that?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;nvis&amp;nbsp; &amp;nbsp;count&amp;nbsp; percent&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&lt;/P&gt;
&lt;P&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;
&lt;P&gt;8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 70&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 70&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 20:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818692#M323154</guid>
      <dc:creator>Ivy</dc:creator>
      <dc:date>2022-06-16T20:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818698#M323158</link>
      <description>&lt;P&gt;HINT: Always show the code of what you attempted.&lt;/P&gt;
&lt;P&gt;It may be that you are very close or need much work to do something but without details it is pretty hard to tell. Copy the code from the editor, on the forum open a text box using the &amp;lt;/&amp;gt; icon that appears above the message window and paste the text. The text box serves a couple purposes. One, the message windows will reformat text and may result in code that will not run if copy/paste from the forum. Second, it sets text apart from questions or comments.(See below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am going to &lt;STRONG&gt;guess&lt;/STRONG&gt; that you did not provide a roll in a DEFINE statement for the variables Count and Percent. If you do not then the default behavior for numeric values is to treat them as variables to Sum.&lt;/P&gt;
&lt;P&gt;To display just the values you already have you would use something like&lt;/P&gt;
&lt;PRE&gt;define count / display;
define percent /display.&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Jun 2022 20:28:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818698#M323158</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-06-16T20:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818703#M323162</link>
      <description>&lt;P&gt;you could also use the put function to convert the numbers from proc freq to character variables. that's usually how I do it when I create my tables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 20:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818703#M323162</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-16T20:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818717#M323173</link>
      <description>Thank you, this works!  I will post any future question according to your suggestion in the future.</description>
      <pubDate>Thu, 16 Jun 2022 21:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818717#M323173</guid>
      <dc:creator>Ivy</dc:creator>
      <dc:date>2022-06-16T21:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818718#M323174</link>
      <description>Thank you, this works!</description>
      <pubDate>Thu, 16 Jun 2022 21:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report/m-p/818718#M323174</guid>
      <dc:creator>Ivy</dc:creator>
      <dc:date>2022-06-16T21:16:20Z</dc:date>
    </item>
  </channel>
</rss>

