<?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 define &amp;quot;across&amp;quot; problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-define-quot-across-quot-problem/m-p/28291#M6584</link>
    <description>Hi:&lt;BR /&gt;
  Assuming that your user-defined format has all the values, then you probably just need to add the PRELOADFMT option to your DEFINE statement:&lt;BR /&gt;
    &lt;BR /&gt;
[pre]&lt;BR /&gt;
define eval / across order=freq descending format=evaltyp. preloadfmt&lt;BR /&gt;
center width=30 spacing=4 left "Evaluation Result";&lt;BR /&gt;
[/pre]&lt;BR /&gt;
              &lt;BR /&gt;
  You'd also need to  have [pre]&lt;BR /&gt;
OPTIONS MISSING=0;&lt;BR /&gt;
PROC REPORT ....;&lt;BR /&gt;
RUN;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
   &lt;BR /&gt;
or else you'll get a . for the missing.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
    <pubDate>Mon, 30 Jun 2008 20:20:00 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-06-30T20:20:00Z</dc:date>
    <item>
      <title>Proc Report define "across" problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-define-quot-across-quot-problem/m-p/28290#M6583</link>
      <description>Hello experts-&lt;BR /&gt;
In my dataset, I have a simple variable with 4 values of 1,2,3,4. While there will never be missing data, often not all values will appear in the actual data. However, I would like all values to appear in the report column, with a 0 freq count showing in the cell.&lt;BR /&gt;
&lt;BR /&gt;
How can I force all this?  Here is the define statement I am using:&lt;BR /&gt;
&lt;BR /&gt;
define eval /    across order=freq descending format=evaltyp. &lt;BR /&gt;
     	     center width=30 spacing=4 left "Evaluation Result";&lt;BR /&gt;
&lt;BR /&gt;
Thanks !&lt;BR /&gt;
Francine &lt;BR /&gt;
College of American Pathologists</description>
      <pubDate>Mon, 30 Jun 2008 18:03:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-define-quot-across-quot-problem/m-p/28290#M6583</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-30T18:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report define "across" problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-define-quot-across-quot-problem/m-p/28291#M6584</link>
      <description>Hi:&lt;BR /&gt;
  Assuming that your user-defined format has all the values, then you probably just need to add the PRELOADFMT option to your DEFINE statement:&lt;BR /&gt;
    &lt;BR /&gt;
[pre]&lt;BR /&gt;
define eval / across order=freq descending format=evaltyp. preloadfmt&lt;BR /&gt;
center width=30 spacing=4 left "Evaluation Result";&lt;BR /&gt;
[/pre]&lt;BR /&gt;
              &lt;BR /&gt;
  You'd also need to  have [pre]&lt;BR /&gt;
OPTIONS MISSING=0;&lt;BR /&gt;
PROC REPORT ....;&lt;BR /&gt;
RUN;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
   &lt;BR /&gt;
or else you'll get a . for the missing.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 30 Jun 2008 20:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-define-quot-across-quot-problem/m-p/28291#M6584</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-06-30T20:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report define "across" problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-define-quot-across-quot-problem/m-p/28292#M6585</link>
      <description>Cynthia,&lt;BR /&gt;
thank you very much. This is a perfect fix for my problem.</description>
      <pubDate>Tue, 01 Jul 2008 16:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-define-quot-across-quot-problem/m-p/28292#M6585</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-01T16:58:28Z</dc:date>
    </item>
  </channel>
</rss>

