<?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 Spanning multiple cols with regular(non spanning) header.  And Merging Headers Vertically in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Spanning-multiple-cols-with-regular-non-spanning-header-And/m-p/848768#M26105</link>
    <description>&lt;P&gt;Using proc report and ODS Tagsets.RTF in Enterprise Guide:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given a simple table such as :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 232px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78246i7BA2EA1DDB5A8CBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is it possible to generate headers to match the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 375px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78257i11610DE3258FBDA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Spanning Header 3&amp;nbsp; and Spanning Header 4 are straightforward.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question1: is it possible to merge the headers of 2 columns (ID1 and ID2&amp;nbsp; as Identifiers above) into a single , regular header?&lt;/P&gt;
&lt;P&gt;Question2: is it possible to merge spanning (and regular) headers vertically?&amp;nbsp; As in the Identifiers and Value Headers above?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been unable to merge the header across 2 columns (as in ID1 and ID2).&lt;/P&gt;
&lt;P&gt;But i have been able to get a slight approximation of the vertical spanning, by creating empty 'dummy headers' with the appropriate borders set the same shade as the background. But they are not actually spanning, and entering text in them is problematic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;its a small effort to adjust a table manually after its generated as an RTF File, but with many tables it is just a time sink.&amp;nbsp; If there is anyway possible SAS is capable of doing either of these tasks,&amp;nbsp; I would love to know how.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 17:42:55 GMT</pubDate>
    <dc:creator>mcook</dc:creator>
    <dc:date>2022-12-09T17:42:55Z</dc:date>
    <item>
      <title>Spanning multiple cols with regular(non spanning) header.  And Merging Headers Vertically</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Spanning-multiple-cols-with-regular-non-spanning-header-And/m-p/848768#M26105</link>
      <description>&lt;P&gt;Using proc report and ODS Tagsets.RTF in Enterprise Guide:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given a simple table such as :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 232px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78246i7BA2EA1DDB5A8CBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is it possible to generate headers to match the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 375px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78257i11610DE3258FBDA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Spanning Header 3&amp;nbsp; and Spanning Header 4 are straightforward.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question1: is it possible to merge the headers of 2 columns (ID1 and ID2&amp;nbsp; as Identifiers above) into a single , regular header?&lt;/P&gt;
&lt;P&gt;Question2: is it possible to merge spanning (and regular) headers vertically?&amp;nbsp; As in the Identifiers and Value Headers above?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been unable to merge the header across 2 columns (as in ID1 and ID2).&lt;/P&gt;
&lt;P&gt;But i have been able to get a slight approximation of the vertical spanning, by creating empty 'dummy headers' with the appropriate borders set the same shade as the background. But they are not actually spanning, and entering text in them is problematic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;its a small effort to adjust a table manually after its generated as an RTF File, but with many tables it is just a time sink.&amp;nbsp; If there is anyway possible SAS is capable of doing either of these tasks,&amp;nbsp; I would love to know how.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 17:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Spanning-multiple-cols-with-regular-non-spanning-header-And/m-p/848768#M26105</guid>
      <dc:creator>mcook</dc:creator>
      <dc:date>2022-12-09T17:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Spanning multiple cols with regular(non spanning) header.  And Merging Headers Vertically</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Spanning-multiple-cols-with-regular-non-spanning-header-And/m-p/848786#M26106</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; PROC REPORT is really geared to doing spanning headers horizontally. PROC REPORT writes only 1 report row at a time, so when it is writing the second header row, for spanning header 3, it does not have the ability to back and do vertical merging above ID1 and ID1 or vertical merging for VALUE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; However, although the Report Writing Interface might allow you to do the type of vertical merging you envision, that would be a whole new syntax AND the challenge with the Report Writing Interface is that it is only supported by PDF and HTML destinations right now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Since you didn't post your code, I used some fake data and used this PROC REPORT to show the best that I think PROC REPORT can do for you compared to the Report Writing Interface (RWI):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rwi_example.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78262iBBF2684EDA886C2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="rwi_example.png" alt="rwi_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The RWI allows you control the row spanning and the column spanning for report headers and for data cells, but if you must have RTF, then this may not be an option for you.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1670612848263.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78261iBF48BE73DAA2D0CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1670612848263.png" alt="Cynthia_sas_0-1670612848263.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 19:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Spanning-multiple-cols-with-regular-non-spanning-header-And/m-p/848786#M26106</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-12-09T19:09:34Z</dc:date>
    </item>
  </channel>
</rss>

