<?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: spanned header align center and by variable groups align also center in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239464#M14883</link>
    <description>&lt;P&gt;ods rtf file="D:\New folder\sample123.rtf" style=overrides;&lt;BR /&gt;proc report data=sashelp.class nowd &lt;BR /&gt;STYLE(HEADER)={BACKGROUND=STEELBLUE FOREGROUND=WHITE FONTWEIGHT=BOLD FONT_FACE='CALIBRI' FONT_SIZE=10PT JUST=CENTER}&lt;BR /&gt;STYLE(REPORT)={BACKGROUND=WHITE FOREGROUND=BLACK BORDERCOLOR=WHITE FONT_FACE='CALIBRI' FONT_SIZE=10PT} SPANROWS;&lt;BR /&gt;column sex ('Details' weight height);&lt;BR /&gt;define sex / group style(column)= {just=center textalign=middle} ;&lt;BR /&gt;define age/group;&lt;BR /&gt;define height /display;&lt;BR /&gt;define weight/display;&lt;BR /&gt;run;&lt;BR /&gt;ods rtf close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tried with ods rtf but desired output is not coming.&lt;/P&gt;
&lt;P&gt;please suggest me.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2015 02:53:22 GMT</pubDate>
    <dc:creator>Ravikumarkummari</dc:creator>
    <dc:date>2015-12-16T02:53:22Z</dc:date>
    <item>
      <title>spanned header align center and by variable groups align also center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239355#M14875</link>
      <description>&lt;P&gt;Hi Good evening all,&lt;/P&gt;
&lt;P&gt;Need suggession in proc report. i used the below code for sashelp.class&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp file="D:\New folder\sample.xls" style=minimal;&lt;BR /&gt;proc report data=sashelp.class nowd&lt;BR /&gt;STYLE(HEADER)={BACKGROUND=STEELBLUE FOREGROUND=WHITE FONTWEIGHT=BOLD FONT_FACE='CALIBRI' FONT_SIZE=10PT JUST=CENTER}&lt;BR /&gt;STYLE(REPORT)={BACKGROUND=WHITE FOREGROUND=BLACK BORDERCOLOR=WHITE FONT_FACE='CALIBRI' FONT_SIZE=10PT};&lt;BR /&gt; column sex ('Details' weight height);&lt;BR /&gt; define sex/ group;&lt;BR /&gt; define age/group;&lt;BR /&gt; define height /display;&lt;BR /&gt; define weight/display;&lt;BR /&gt;run;&lt;BR /&gt;ods tagsets.excelxp close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the row header sex should be in center&lt;/P&gt;
&lt;P&gt;by group variable of sex (F,M) that are also in center&lt;/P&gt;
&lt;P&gt;the actual output we are getting and desired output i had attached in excel file.&lt;/P&gt;
&lt;P&gt;please help me in this regard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 15:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239355#M14875</guid>
      <dc:creator>Ravikumarkummari</dc:creator>
      <dc:date>2015-12-15T15:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: spanned header align center and by variable groups align also center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239361#M14876</link>
      <description>&lt;P&gt;&lt;STRONG&gt;After define sex/group style={just=center};&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;or&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;style(column)={just=center}&amp;nbsp; in proc report option.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 15:46:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239361#M14876</guid>
      <dc:creator>slchen</dc:creator>
      <dc:date>2015-12-15T15:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: spanned header align center and by variable groups align also center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239363#M14877</link>
      <description>&lt;P&gt;tried but not giving desired output&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 15:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239363#M14877</guid>
      <dc:creator>Ravikumarkummari</dc:creator>
      <dc:date>2015-12-15T15:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: spanned header align center and by variable groups align also center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239368#M14878</link>
      <description>Use the SPANROWS option on the proc report statement. I don't believe there's a way to get the header merged into one cell using TAGSETS.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.sas.com/content/sastraining/2011/02/28/whats-so-great-about-spanrows/" target="_blank"&gt;http://blogs.sas.com/content/sastraining/2011/02/28/whats-so-great-about-spanrows/&lt;/A&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239368#M14878</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-15T17:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: spanned header align center and by variable groups align also center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239433#M14882</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It's not clear to me what you want. Just running your code, I can see that the header for SEX -is- centered -- you have to make the column wider to see the centering. But you only put JUST=CENTER on the STYLE(HEADER) override.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you want to see the F and M also centered, then you need to do an override on the DEFINE for the SEX variable, as Reeza showed.&lt;/P&gt;
&lt;P&gt;define sex / group style(column)={just=c};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you want to "span" the row area then use the SPANROWS option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="header_only_centered.png" alt="header_only_centered.png" src="https://communities.sas.com/t5/image/serverpage/image-id/1187i058901739240B271/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12143iBEA62BC02EC8A70F/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="header_only_centered.png" title="header_only_centered.png" /&gt;</description>
      <pubDate>Tue, 15 Dec 2015 21:04:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239433#M14882</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-12-15T21:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: spanned header align center and by variable groups align also center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239464#M14883</link>
      <description>&lt;P&gt;ods rtf file="D:\New folder\sample123.rtf" style=overrides;&lt;BR /&gt;proc report data=sashelp.class nowd &lt;BR /&gt;STYLE(HEADER)={BACKGROUND=STEELBLUE FOREGROUND=WHITE FONTWEIGHT=BOLD FONT_FACE='CALIBRI' FONT_SIZE=10PT JUST=CENTER}&lt;BR /&gt;STYLE(REPORT)={BACKGROUND=WHITE FOREGROUND=BLACK BORDERCOLOR=WHITE FONT_FACE='CALIBRI' FONT_SIZE=10PT} SPANROWS;&lt;BR /&gt;column sex ('Details' weight height);&lt;BR /&gt;define sex / group style(column)= {just=center textalign=middle} ;&lt;BR /&gt;define age/group;&lt;BR /&gt;define height /display;&lt;BR /&gt;define weight/display;&lt;BR /&gt;run;&lt;BR /&gt;ods rtf close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tried with ods rtf but desired output is not coming.&lt;/P&gt;
&lt;P&gt;please suggest me.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 02:53:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239464#M14883</guid>
      <dc:creator>Ravikumarkummari</dc:creator>
      <dc:date>2015-12-16T02:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: spanned header align center and by variable groups align also center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239678#M14905</link>
      <description>Hi:&lt;BR /&gt;  I do not believe that "textalign" is the correct style attribute. I have always used vjust=m or verticalalign=m. In the doc, it explains that just= and textalign= both apply to horizontal justification -- please see:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0xi2cygmfk0wkn1ei625zq5r488.htm#p0puqhkyzmrz5rn14lixs1ibsdm4" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0xi2cygmfk0wkn1ei625zq5r488.htm#p0puqhkyzmrz5rn14lixs1ibsdm4&lt;/A&gt; and also&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0xi2cygmfk0wkn1ei625zq5r488.htm#n17x1nh0ypl1mzn1fn3gadhi52xw" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0xi2cygmfk0wkn1ei625zq5r488.htm#n17x1nh0ypl1mzn1fn3gadhi52xw&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 17 Dec 2015 00:05:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/spanned-header-align-center-and-by-variable-groups-align-also/m-p/239678#M14905</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-12-17T00:05:24Z</dc:date>
    </item>
  </channel>
</rss>

