<?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 Report - Left justification in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Report-Left-justification/m-p/292704#M16646</link>
    <description>&lt;P&gt;Hello Friends&lt;/P&gt;&lt;P&gt;I have created a Proc Report with limiting few columns. &amp;nbsp;I have centered one of the columns (variable) but the values underneath the column I want them to be left justified. &amp;nbsp;Those are aligned as per the heading. &amp;nbsp;If I set the heading left, all the values for that column become left or center or right justified. &amp;nbsp;I want heading to be center and contents below that column to be left justified. &amp;nbsp;Can any one help me on this? &amp;nbsp;Thanks for your help and really appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=test nowd;
/*column make model type msrp;*/
column make model type cylinders;
/*where make in ('Toyota','Honda') and msrp &amp;lt; 15000; 
where msrp &amp;lt; 15000;
define msrp / order descending;	*/
where cylinders in (4,6);
define model / 'Model of vehicle' center;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12858i4127DA2F0CF7DBDA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas_code.JPG" title="sas_code.JPG" /&gt;</description>
    <pubDate>Fri, 19 Aug 2016 11:35:45 GMT</pubDate>
    <dc:creator>sas_td2016</dc:creator>
    <dc:date>2016-08-19T11:35:45Z</dc:date>
    <item>
      <title>Report - Left justification</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Report-Left-justification/m-p/292704#M16646</link>
      <description>&lt;P&gt;Hello Friends&lt;/P&gt;&lt;P&gt;I have created a Proc Report with limiting few columns. &amp;nbsp;I have centered one of the columns (variable) but the values underneath the column I want them to be left justified. &amp;nbsp;Those are aligned as per the heading. &amp;nbsp;If I set the heading left, all the values for that column become left or center or right justified. &amp;nbsp;I want heading to be center and contents below that column to be left justified. &amp;nbsp;Can any one help me on this? &amp;nbsp;Thanks for your help and really appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=test nowd;
/*column make model type msrp;*/
column make model type cylinders;
/*where make in ('Toyota','Honda') and msrp &amp;lt; 15000; 
where msrp &amp;lt; 15000;
define msrp / order descending;	*/
where cylinders in (4,6);
define model / 'Model of vehicle' center;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12858i4127DA2F0CF7DBDA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas_code.JPG" title="sas_code.JPG" /&gt;</description>
      <pubDate>Fri, 19 Aug 2016 11:35:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Report-Left-justification/m-p/292704#M16646</guid>
      <dc:creator>sas_td2016</dc:creator>
      <dc:date>2016-08-19T11:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Report - Left justification</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Report-Left-justification/m-p/292705#M16647</link>
      <description>&lt;P&gt;You can specify element alignment by stipulating the part name in teh style statement:&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;report&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;test nowd&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;  column&lt;/SPAN&gt; make &lt;SPAN class="token procnames"&gt;model&lt;/SPAN&gt; type cylinders&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token statement"&gt;  where&lt;/SPAN&gt; cylinders &lt;SPAN class="token operator"&gt;in&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;4&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;6&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;  define&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;model&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;'Model of vehicle'&lt;/SPAN&gt; style(header)={just=c} style(column)={just=l}&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For reference:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/stylesinprocs.pdf&amp;nbsp;" target="_blank"&gt;https://support.sas.com/resources/papers/stylesinprocs.pdf&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 11:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Report-Left-justification/m-p/292705#M16647</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-19T11:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Report - Left justification</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Report-Left-justification/m-p/292712#M16648</link>
      <description>&lt;P&gt;Thanks you very much. &amp;nbsp;Let me try with change code as you mentioned.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 12:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Report-Left-justification/m-p/292712#M16648</guid>
      <dc:creator>sas_td2016</dc:creator>
      <dc:date>2016-08-19T12:44:47Z</dc:date>
    </item>
  </channel>
</rss>

