<?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 TABULATE COLUMNS - LEFT RIGHT JUSTIFICATION in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TABULATE-COLUMNS-LEFT-RIGHT-JUSTIFICATION/m-p/398885#M19448</link>
    <description>&lt;P&gt;I am not sure why using Label that way interferes with justification but try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc tabulate data=sashelp.shoes FORMAT=9.0  order=formatted;  
  where region in ('Asia', 'Canada') and product in ('Boot');
  class product region;
  var sales returns stores inventory;
  table (region all),
        ALL * n
	     (sales returns inventory stores) * (sum='' *{ s=[just=R]} mean='' *{s=[just=L]} * f=paren.)
		  ;
run;&lt;/PRE&gt;
&lt;P&gt;You may want to make the cells for the sum wider to make the justification more noticeable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2017 19:56:37 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-09-26T19:56:37Z</dc:date>
    <item>
      <title>PROC TABULATE COLUMNS - LEFT RIGHT JUSTIFICATION</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TABULATE-COLUMNS-LEFT-RIGHT-JUSTIFICATION/m-p/398878#M19447</link>
      <description>&lt;P&gt;Hi, I'm trying to left-justify the numbers column and right-justify the percentage column. What's the best way to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code using the Shoes dataset, but the alignment does not appear to change, even when I change j=l, j=c or j=r. &amp;nbsp;Thanks so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
picture paren (round)
 low-high = '(009.9%)'
 ( prefix = '(' mult=1000);
run;

options nocenter;
proc tabulate data=sashelp.shoes FORMAT=9.0  order=formatted;  
  where region in ('Asia', 'Canada') and product in ('Boot');
  class product region;
  var sales returns stores inventory;
  table (region all),
        ALL * n
	(sales returns inventory stores) * (sum= {label = '' s=[just=R]} mean= {label = '' s=[just=L]} * f=paren.)
		;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 17:33:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TABULATE-COLUMNS-LEFT-RIGHT-JUSTIFICATION/m-p/398878#M19447</guid>
      <dc:creator>lin39</dc:creator>
      <dc:date>2017-09-26T17:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE COLUMNS - LEFT RIGHT JUSTIFICATION</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TABULATE-COLUMNS-LEFT-RIGHT-JUSTIFICATION/m-p/398885#M19448</link>
      <description>&lt;P&gt;I am not sure why using Label that way interferes with justification but try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc tabulate data=sashelp.shoes FORMAT=9.0  order=formatted;  
  where region in ('Asia', 'Canada') and product in ('Boot');
  class product region;
  var sales returns stores inventory;
  table (region all),
        ALL * n
	     (sales returns inventory stores) * (sum='' *{ s=[just=R]} mean='' *{s=[just=L]} * f=paren.)
		  ;
run;&lt;/PRE&gt;
&lt;P&gt;You may want to make the cells for the sum wider to make the justification more noticeable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 19:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TABULATE-COLUMNS-LEFT-RIGHT-JUSTIFICATION/m-p/398885#M19448</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-26T19:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE COLUMNS - LEFT RIGHT JUSTIFICATION</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TABULATE-COLUMNS-LEFT-RIGHT-JUSTIFICATION/m-p/398917#M19449</link>
      <description>&lt;P&gt;Worked for me. &amp;nbsp;Thanks so much!&amp;nbsp;&lt;img id="catvery-happy" class="emoticon emoticon-catvery-happy" src="https://communities.sas.com/i/smilies/16x16_cat-very-happy.png" alt="Cat Very Happy" title="Cat Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 19:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TABULATE-COLUMNS-LEFT-RIGHT-JUSTIFICATION/m-p/398917#M19449</guid>
      <dc:creator>lin39</dc:creator>
      <dc:date>2017-09-26T19:08:39Z</dc:date>
    </item>
  </channel>
</rss>

