<?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 issue in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200709#M50111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not add a STYLE to get it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;proc format;
value fmt
 0-60='xx'
 70-200='yy';
run;

ods listing close;
ods pdf file='c:\temp\x.pdf';
proc tabulate data=sashelp.class;
class sex age;
var weight height;
table sex,age*weight=''*format=fmt10.*{style={just=left}} ;
run;
ods pdf close;
ods listing;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2015 12:44:51 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-04-21T12:44:51Z</dc:date>
    <item>
      <title>Proc tabulate issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200708#M50110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hi &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;Cynthia/ All&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;This is same report, Here is sub header B where there value is coming in a right alignment because in label it is numeric character and using proc format&amp;nbsp; I have changed the value into a printable character value. Now this character value is still coming in right alignment now I have to put in left alignment which is not going. I have tried to solve it but unable to do it. Please help me out how can i do it. Herewith i am sharing a data set with sas code, print screen of output and desired output.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;IMG alt="output print screen.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10118_output print screen.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 09:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200708#M50110</guid>
      <dc:creator>ameey</dc:creator>
      <dc:date>2015-04-21T09:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200709#M50111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not add a STYLE to get it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;proc format;
value fmt
 0-60='xx'
 70-200='yy';
run;

ods listing close;
ods pdf file='c:\temp\x.pdf';
proc tabulate data=sashelp.class;
class sex age;
var weight height;
table sex,age*weight=''*format=fmt10.*{style={just=left}} ;
run;
ods pdf close;
ods listing;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 12:44:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200709#M50111</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-04-21T12:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200710#M50112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my data set is there in gip file and already i have used a proc format and&amp;nbsp; tried to move the B column value in left align but stll it is not moving in left. Even you can try with my dataset and sas code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 09:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200710#M50112</guid>
      <dc:creator>ameey</dc:creator>
      <dc:date>2015-04-23T09:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200711#M50113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no time to download your data . Post it at &lt;A _jive_internal="true" data-containerid="2007" data-containertype="14" data-objectid="6" data-objecttype="14" href="https://communities.sas.com/community/support-communities/ods_and_base_reporting" style="color: #0e66ba; background-color: #f0f8fb;"&gt;ODS and Base Reporting&lt;/A&gt;&amp;nbsp; Cynthia@sas might would do that .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 12:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-tabulate-issue/m-p/200711#M50113</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-04-23T12:01:51Z</dc:date>
    </item>
  </channel>
</rss>

