<?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 proc print the n value? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-proc-print-the-n-value/m-p/295638#M311952</link>
    <description>&lt;P&gt;I got it! just add n="you total title here"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc print data=omrswork noobs n="site count=";
where count_carf1 &amp;gt;0 and count_carf2=0 and count_carf3=0 and count_carf4=0 and dc_fiscal_year=3 and dc_fiscal_year^=99;
var dc_fiscal_year count_nscx omrs_num_visits obs;
sum count_nscx denominator;
by site;
format dc_fiscal_year fiscalyear. site site.;
run;&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Aug 2016 19:28:20 GMT</pubDate>
    <dc:creator>christinagting0</dc:creator>
    <dc:date>2016-08-31T19:28:20Z</dc:date>
    <item>
      <title>How to proc print the n value?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-proc-print-the-n-value/m-p/295637#M311951</link>
      <description>&lt;P&gt;The followin my proc print code. However, what is not displaying is the n value fo each of the sites (i.e., the number of observations).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get this value to display?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc print data=omrswork noobs n;
where count_carf1 &amp;gt;0 and count_carf2=0 and count_carf3=0 and count_carf4=0 and dc_fiscal_year=3 and dc_fiscal_year^=99;
var dc_fiscal_year count_nscx omrs_num_visits obs;
sum count_nscx denominator;
by site;
format dc_fiscal_year fiscalyear. site site.;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:21:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-proc-print-the-n-value/m-p/295637#M311951</guid>
      <dc:creator>christinagting0</dc:creator>
      <dc:date>2016-08-31T19:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to proc print the n value?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-proc-print-the-n-value/m-p/295638#M311952</link>
      <description>&lt;P&gt;I got it! just add n="you total title here"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc print data=omrswork noobs n="site count=";
where count_carf1 &amp;gt;0 and count_carf2=0 and count_carf3=0 and count_carf4=0 and dc_fiscal_year=3 and dc_fiscal_year^=99;
var dc_fiscal_year count_nscx omrs_num_visits obs;
sum count_nscx denominator;
by site;
format dc_fiscal_year fiscalyear. site site.;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:28:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-proc-print-the-n-value/m-p/295638#M311952</guid>
      <dc:creator>christinagting0</dc:creator>
      <dc:date>2016-08-31T19:28:20Z</dc:date>
    </item>
  </channel>
</rss>

