<?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: Proc report, styling the  title in the column statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750945#M236296</link>
    <description>&lt;P&gt;Or try this workaround way ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods escapechar='~';&lt;BR /&gt;proc report data= sashelp.shoes nowd;&lt;BR /&gt;column ("Global shoe sales in USD %sysfunc(repeat(~_,100))"&lt;BR /&gt;(" Shoe sales %sysfunc(repeat(~_,100))" region product subsidiary) ('In USD&lt;BR /&gt;only' sales));&lt;BR /&gt;run;

&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1624970427568.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60805iFBEE9FD88454F783/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1624970427568.png" alt="Ksharp_0-1624970427568.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 12:41:33 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2021-06-29T12:41:33Z</dc:date>
    <item>
      <title>Proc report, styling the  title in the column statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750831#M236238</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Hi I need some help in left aligning the title Global shoes to appear on the left. bearing in mind that , we are speoifying the text at the column statement., Been looking for styling elements for this its to vain.&lt;BR /&gt;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;PRE&gt;proc report data= sashelp.shoes nowd;
column ('Global shoe sales in USD' ('Regional Shoe
 sales' region product subsidiary) ('In USD
 only' sales));
run;
&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himself_1-1624891901264.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60799i6B3A8269BD74ED26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himself_1-1624891901264.png" alt="himself_1-1624891901264.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 14:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750831#M236238</guid>
      <dc:creator>himself</dc:creator>
      <dc:date>2021-06-28T14:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report, styling the  title in the column statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750839#M236239</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/310015"&gt;@himself&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;STRIKE&gt;Hi I need some help in left aligning the title Global shoes to appear on the left. bearing in mind that , we are speoifying the text at the column statement., Been looking for styling elements for this its to vain.&lt;BR /&gt;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;PRE&gt;proc report data= sashelp.shoes nowd;
column ('Global shoe sales in USD' ('Regional Shoe
 sales' region product subsidiary) ('In USD
 only' sales));
run;
&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himself_1-1624891901264.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60799i6B3A8269BD74ED26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="himself_1-1624891901264.png" alt="himself_1-1624891901264.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;PRE&gt;proc report data= sashelp.shoes 
  style(header)=[just=l]
;
column ('Global shoe sales in USD' ('Regional Shoe
 sales' region product subsidiary) ('In USD
 only' sales));
run;&lt;/PRE&gt;
&lt;P&gt;If you want the column headers for Region, Product or Subsidiary centered you will need to add a DEFINE statement for each and override the now default Left header justification for those columns.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 15:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750839#M236239</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-28T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report, styling the title in the column statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750840#M236240</link>
      <description>Hi, thanks for the response, so what about the title for sales, that is  at&lt;BR /&gt;the top of all the three columns. thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2021 15:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750840#M236240</guid>
      <dc:creator>himself</dc:creator>
      <dc:date>2021-06-28T15:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report, styling the  title in the column statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750841#M236241</link>
      <description>Sorry  I mean to left align the title "Global shoe sales in USD" and "Regional Shoe&lt;BR /&gt; sales" to the left, as this cannot use the style for header.</description>
      <pubDate>Mon, 28 Jun 2021 15:24:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750841#M236241</guid>
      <dc:creator>himself</dc:creator>
      <dc:date>2021-06-28T15:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report, styling the title in the column statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750843#M236242</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/310015"&gt;@himself&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi, thanks for the response, so what about the title for sales, that is at&lt;BR /&gt;the top of all the three columns. thanks&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When I run that I get the top "title" left justified. That option is setting ALL column headers to left justified. If you are getting different results then show the code you actually submit.&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Report: Detailed and/or summarized report" cellspacing="0" cellpadding="3"&gt;&lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="l m header" colspan="4" scope="colgroup"&gt;Global shoe sales in USD&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m header" colspan="3" scope="colgroup"&gt;Regional Shoe sales&lt;/TH&gt;
&lt;TH class="l m header" scope="col"&gt;In USD only&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m header" scope="col"&gt;Region&lt;/TH&gt;
&lt;TH class="l m header" scope="col"&gt;Product&lt;/TH&gt;
&lt;TH class="l m header" scope="col"&gt;Subsidiary&lt;/TH&gt;
&lt;TH class="l m header" scope="col"&gt;Total Sales&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="l data"&gt;Africa&lt;/TD&gt;
&lt;TD class="l data"&gt;Boot&lt;/TD&gt;
&lt;TD class="l data"&gt;Addis Ababa&lt;/TD&gt;
&lt;TD class="r data"&gt;$29,761&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="l data"&gt;Africa&lt;/TD&gt;
&lt;TD class="l data"&gt;Men's Casual&lt;/TD&gt;
&lt;TD class="l data"&gt;Addis Ababa&lt;/TD&gt;
&lt;TD class="r data"&gt;$67,242&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="l data"&gt;Africa&lt;/TD&gt;
&lt;TD class="l data"&gt;Men's Dress&lt;/TD&gt;
&lt;TD class="l data"&gt;Addis Ababa&lt;/TD&gt;
&lt;TD class="r data"&gt;$76,793&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Jun 2021 15:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750843#M236242</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-28T15:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report, styling the  title in the column statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750845#M236244</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/310015"&gt;@himself&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Sorry I mean to left align the title "Global shoe sales in USD" and "Regional Shoe&lt;BR /&gt;sales" to the left, as this cannot use the style for header.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why not? That is the proper syntax tool to set justification for the header.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps read the documentation for the Report Writing Interface in the data step that allows a lot of control but requires you do everything that the Proc Report does.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 15:35:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750845#M236244</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-28T15:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report, styling the  title in the column statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750945#M236296</link>
      <description>&lt;P&gt;Or try this workaround way ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods escapechar='~';&lt;BR /&gt;proc report data= sashelp.shoes nowd;&lt;BR /&gt;column ("Global shoe sales in USD %sysfunc(repeat(~_,100))"&lt;BR /&gt;(" Shoe sales %sysfunc(repeat(~_,100))" region product subsidiary) ('In USD&lt;BR /&gt;only' sales));&lt;BR /&gt;run;

&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1624970427568.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60805iFBEE9FD88454F783/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1624970427568.png" alt="Ksharp_0-1624970427568.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 12:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-styling-the-title-in-the-column-statement/m-p/750945#M236296</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-06-29T12:41:33Z</dc:date>
    </item>
  </channel>
</rss>

