<?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: ODS proc report showing column totals instead of individual observations in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-proc-report-showing-column-totals-instead-of-individual/m-p/353729#M18454</link>
    <description>&lt;P&gt;I believe that numeric variables default to "sum" as the type, so without the alternate definition that is what the proc generates. I would assume that for week you want something like "group" or "order," though. If you did that, then if your variables are just one observation per week, the default sum would show the same as display.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2017 14:53:46 GMT</pubDate>
    <dc:creator>collinelliot</dc:creator>
    <dc:date>2017-04-26T14:53:46Z</dc:date>
    <item>
      <title>ODS proc report showing column totals instead of individual observations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-proc-report-showing-column-totals-instead-of-individual/m-p/353714#M18453</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;I have a dataset with 66&amp;nbsp;individual observations but the proc report is showing column&amp;nbsp;totals instead and I don't know why. Here's my code:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;*************&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ods pdf (ID=work) file="Compliance.pdf"&amp;nbsp;style=styles.plateau;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc report data=compliance&amp;nbsp;nowd&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;column week complied enrolled rate;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;define week &amp;nbsp; &amp;nbsp; &amp;nbsp; /"Week" &amp;nbsp; &amp;nbsp; &amp;nbsp;style=[cellwidth=30mm textalign=center];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;define complied &amp;nbsp; /"Complied" &amp;nbsp;style=[cellwidth=30mm textalign=center];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;define enrolled &amp;nbsp; /"Enrolled" &amp;nbsp;style=[cellwidth=30mm textalign=center];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;define rate &amp;nbsp; &amp;nbsp; &amp;nbsp; /"Rate" &amp;nbsp; &amp;nbsp; &amp;nbsp;style=[cellwidth=30mm textalign=center];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ods pdf (ID=work) close;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;*************&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;As a workaround, I tried inserting&amp;nbsp;"display" after each slash (e.g., &lt;SPAN&gt;define week /display "Week") and this fixed the problem&amp;nbsp;&lt;/SPAN&gt;but I don't know why it is necessary&amp;nbsp;as I have never had to insert "display" to see individual observations in a proc report before.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 14:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-proc-report-showing-column-totals-instead-of-individual/m-p/353714#M18453</guid>
      <dc:creator>datamgr85</dc:creator>
      <dc:date>2017-04-26T14:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS proc report showing column totals instead of individual observations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-proc-report-showing-column-totals-instead-of-individual/m-p/353729#M18454</link>
      <description>&lt;P&gt;I believe that numeric variables default to "sum" as the type, so without the alternate definition that is what the proc generates. I would assume that for week you want something like "group" or "order," though. If you did that, then if your variables are just one observation per week, the default sum would show the same as display.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 14:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-proc-report-showing-column-totals-instead-of-individual/m-p/353729#M18454</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-04-26T14:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: ODS proc report showing column totals instead of individual observations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-proc-report-showing-column-totals-instead-of-individual/m-p/353736#M18455</link>
      <description>&lt;P&gt;Is week numeric? &amp;nbsp;If you don't specify display or such like, SAS will default usage depending on datatype (can't find what the defuault is right now). &amp;nbsp;So either always put the usage (always a good idea to be more verbose and clearer) or make week character.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 14:58:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-proc-report-showing-column-totals-instead-of-individual/m-p/353736#M18455</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-26T14:58:47Z</dc:date>
    </item>
  </channel>
</rss>

