<?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 SAS Report Define Cell Alignment in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Report-Define-Cell-Alignment/m-p/890474#M82907</link>
    <description>&lt;P&gt;I have this report formatting I am trying to set. In the excel it centers the CATEGORY horizontally but vertically it is aligned to the bottom of the grouping. I had read on some other threads theat CENTER should align it all but maybe i was reading it incorrectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Define CATEGORY / CENTER GROUP order=data "CATEGORY";&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="Jyuen204_0-1692733530307.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86917i4C34EC81E6DD1F90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jyuen204_0-1692733530307.png" alt="Jyuen204_0-1692733530307.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 19:47:49 GMT</pubDate>
    <dc:creator>Jyuen204</dc:creator>
    <dc:date>2023-08-22T19:47:49Z</dc:date>
    <item>
      <title>SAS Report Define Cell Alignment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Report-Define-Cell-Alignment/m-p/890474#M82907</link>
      <description>&lt;P&gt;I have this report formatting I am trying to set. In the excel it centers the CATEGORY horizontally but vertically it is aligned to the bottom of the grouping. I had read on some other threads theat CENTER should align it all but maybe i was reading it incorrectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Define CATEGORY / CENTER GROUP order=data "CATEGORY";&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="Jyuen204_0-1692733530307.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86917i4C34EC81E6DD1F90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jyuen204_0-1692733530307.png" alt="Jyuen204_0-1692733530307.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 19:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Report-Define-Cell-Alignment/m-p/890474#M82907</guid>
      <dc:creator>Jyuen204</dc:creator>
      <dc:date>2023-08-22T19:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Report Define Cell Alignment</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Report-Define-Cell-Alignment/m-p/890478#M82908</link>
      <description>&lt;P&gt;The documentation for the CENTER option of a Define is pretty clear it only affects left-right justification:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV class="xis-procStatement"&gt;
&lt;DIV class="xis-procStatementSyntax"&gt;
&lt;DIV class="xis-generatedOptionCategoryList"&gt;
&lt;H4 class="xis-optionCategory"&gt;headings&lt;/H4&gt;
&lt;H5 class="xis-option"&gt;&lt;A href="http://127.0.0.1:60142/help/proc.hlp/p0wy1vqwvz43uhn1g77eb5xlvzqh.htm#p0gjwu88x9qoybn1o14xysc59z31" target="_blank"&gt;CENTER&lt;/A&gt;&lt;/H5&gt;
&lt;P class="xis-shortDescription"&gt;centers the formatted values of the report item within the column width and center the column heading over the values.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You might get the vertical justification with this:&lt;/P&gt;
&lt;PRE&gt;Define CATEGORY / CENTER GROUP order=data "CATEGORY" style=[vjust=center];&lt;/PRE&gt;
&lt;P&gt;Might. Depends on ODS destination and possibly other options like the ods style in effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should mention or better yet include ODS destination options. Last time I checked Report doesn't do a merged vertical cell as you show in the picture without considerable more than just a define like you show. Best is to include data as a working data step and your entire procedure code.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 20:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Report-Define-Cell-Alignment/m-p/890478#M82908</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-22T20:10:58Z</dc:date>
    </item>
  </channel>
</rss>

