<?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 question;  want to show data as zeros in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-question-want-to-show-data-as-zeros/m-p/12901#M1772</link>
    <description>Hi:&lt;BR /&gt;
  Investigate the MISSING= system option.&lt;BR /&gt;
&lt;BR /&gt;
options missing=0; &lt;BR /&gt;
or &lt;BR /&gt;
options missing=' ';&lt;BR /&gt;
&lt;BR /&gt;
The options statement would go before your PROC REPORT step and serves the purpose of telling SAS how missing values should be displayed. In the first statement, missing values would be displayed as 0, in the second statement, missing values would be displayed as a single space.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Thu, 29 Apr 2010 21:12:59 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-04-29T21:12:59Z</dc:date>
    <item>
      <title>proc report question;  want to show data as zeros</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-question-want-to-show-data-as-zeros/m-p/12900#M1771</link>
      <description>The following PROC REPORT work fine for me except that a few rows for RECORDS have no data so a period is displayed. I'd like to show these as zeros instead. Can this be done in a format statement or other coding in PROC REPORT? thanks. Jeff&lt;BR /&gt;
&lt;BR /&gt;
proc report out=friday2 headline headskip missing nofs;&lt;BR /&gt;
Title1 'School Division claims';&lt;BR /&gt;
column provider year, records;&lt;BR /&gt;
define provider / group;&lt;BR /&gt;
define year / across ;&lt;BR /&gt;
define records / analysis  sum;&lt;BR /&gt;
rbreak after  / dol summarize ;&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 29 Apr 2010 19:48:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-report-question-want-to-show-data-as-zeros/m-p/12900#M1771</guid>
      <dc:creator>Jeff293</dc:creator>
      <dc:date>2010-04-29T19:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc report question;  want to show data as zeros</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-question-want-to-show-data-as-zeros/m-p/12901#M1772</link>
      <description>Hi:&lt;BR /&gt;
  Investigate the MISSING= system option.&lt;BR /&gt;
&lt;BR /&gt;
options missing=0; &lt;BR /&gt;
or &lt;BR /&gt;
options missing=' ';&lt;BR /&gt;
&lt;BR /&gt;
The options statement would go before your PROC REPORT step and serves the purpose of telling SAS how missing values should be displayed. In the first statement, missing values would be displayed as 0, in the second statement, missing values would be displayed as a single space.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 29 Apr 2010 21:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-report-question-want-to-show-data-as-zeros/m-p/12901#M1772</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-29T21:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc report question;  want to show data as zeros</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-question-want-to-show-data-as-zeros/m-p/12902#M1773</link>
      <description>in case u want to change the period to zero in the dataset itself&lt;BR /&gt;
data In;&lt;BR /&gt;
    c1=1;&lt;BR /&gt;
    output;&lt;BR /&gt;
    c1=. ;&lt;BR /&gt;
    output;    &lt;BR /&gt;
run;&lt;BR /&gt;
data Out ;&lt;BR /&gt;
    set In;&lt;BR /&gt;
    c1=coalesce(c1, 0);    &lt;BR /&gt;
run;</description>
      <pubDate>Fri, 30 Apr 2010 09:44:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-report-question-want-to-show-data-as-zeros/m-p/12902#M1773</guid>
      <dc:creator>DataShare</dc:creator>
      <dc:date>2010-04-30T09:44:26Z</dc:date>
    </item>
  </channel>
</rss>

