<?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 PROC REPORT - adding a spanning header over some columns in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-adding-a-spanning-header-over-some-columns/m-p/483468#M71723</link>
    <description>&lt;P&gt;I have a dataset with variables DAYM1-DAYM31 for counts for each day of the month and DAYW1-DAYW7 for counts for each day of the week.&amp;nbsp;&amp;nbsp; It's easy to put column headers on these, but I would like to put a head _above_ the DAYM1-DAYM31 headers to say 'Day of Month' and above the others to say 'Day of Week' ...&amp;nbsp; in PROC REPORT, how do I put that sort of heading? Do I need to create some sort of dummy variable?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 16:21:45 GMT</pubDate>
    <dc:creator>TimH</dc:creator>
    <dc:date>2018-08-02T16:21:45Z</dc:date>
    <item>
      <title>PROC REPORT - adding a spanning header over some columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-adding-a-spanning-header-over-some-columns/m-p/483468#M71723</link>
      <description>&lt;P&gt;I have a dataset with variables DAYM1-DAYM31 for counts for each day of the month and DAYW1-DAYW7 for counts for each day of the week.&amp;nbsp;&amp;nbsp; It's easy to put column headers on these, but I would like to put a head _above_ the DAYM1-DAYM31 headers to say 'Day of Month' and above the others to say 'Day of Week' ...&amp;nbsp; in PROC REPORT, how do I put that sort of heading? Do I need to create some sort of dummy variable?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 16:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-adding-a-spanning-header-over-some-columns/m-p/483468#M71723</guid>
      <dc:creator>TimH</dc:creator>
      <dc:date>2018-08-02T16:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT - adding a spanning header over some columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-adding-a-spanning-header-over-some-columns/m-p/483479#M71724</link>
      <description>&lt;P&gt;This is a particularly poor arrangement of the data for this purpose. If DAYM1-DAYM31 were not columns in your dataset, but there was a row for each day of the month, then the process is extremely simple. You would use the ACROSS option in the&amp;nbsp;DEFINE statement of PROC REPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;define day/across "Day of Month";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since you don't have this, then try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;columns variable1 ("Day of Month" daym1-daym31);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; There are many other advantages to not putting actual information (the day of the month) into your variable names.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 16:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-adding-a-spanning-header-over-some-columns/m-p/483479#M71724</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-08-02T16:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT - adding a spanning header over some columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-adding-a-spanning-header-over-some-columns/m-p/483480#M71725</link>
      <description>&lt;P&gt;Thanks - I found this right after I posted.&amp;nbsp;&amp;nbsp; I must not have been searching using the right terms. In any case, it works!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 16:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-REPORT-adding-a-spanning-header-over-some-columns/m-p/483480#M71725</guid>
      <dc:creator>TimH</dc:creator>
      <dc:date>2018-08-02T16:59:46Z</dc:date>
    </item>
  </channel>
</rss>

