<?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: re: justify table proc tabulate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/re-justify-table-proc-tabulate/m-p/846069#M334479</link>
    <description>&lt;P&gt;You need post some sample data to let us test your code.and better post a photo you want to see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=sashelp.heart style={just=r};
class status bp_status Weight_Status Smoking_Status;
classlev Weight_Status/style={just=l};
classlev bp_status status Smoking_Status/style={just=r};
table Weight_Status=''*(Smoking_Status='' all) all,
      status=''*bp_status=''*pctn&amp;lt;bp_status&amp;gt;='' ;
keyword all/style={just=r};
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1669260959424.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77652i78D40C94027221FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1669260959424.png" alt="Ksharp_0-1669260959424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 03:35:35 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-11-24T03:35:35Z</dc:date>
    <item>
      <title>re: justify table proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-justify-table-proc-tabulate/m-p/845993#M334444</link>
      <description>&lt;P&gt;Hi...I am trying to right justify the results in the table and I keep getting the results as left justified on the table. I only want the levels for the Status to be left justified. Any suggestions....Thanks,&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 tabulate data = List110;

    var StudentUID;
	class "Academic Year"n / style=[bordercolor=black borderwidth=0.5] order=unformatted missing;
	class Success /	style=[bordercolor=black borderwidth=0.5] order=unformatted missing;
	class "Registered Status"n / style=[bordercolor=black borderwidth=0.5] order=unformatted missing;
	class Status / style=[bordercolor=black borderwidth=0.5] order=unformatted missing;
    classlev Status / style=[just=L vjust=C bordercolor=black borderwidth=0.5 background=$sttsfmt.]; 
    classlev "Registered Status"n / style=&amp;lt;parent&amp;gt;; 
    classlev "Academic Year"n / style=[bordercolor=black borderwidth=0.5 background=CXAEADD9];
    classlev Success / style=[bordercolor=black borderwidth=0.5 background=CXAEADD9];

   table (Status=' ' * ("Registered Status"n=' ' all = 'Total' ) all={label='Grand Total' style=[bordercolor=black borderwidth=0.5 background=CXD3ADD9]}) * [style=&amp;lt;parent&amp;gt;] , 
        "Academic Year"n='' * Success='' * PCTN&amp;lt;Success&amp;gt;=''*f=mypct. / row=float box=[label=' ' style=[background=CXAEADD9 foreground=CXAEADD9 bordercolor=black borderwidth=0.5]];

keyword all / style=&amp;lt;parent&amp;gt;; 

run; 
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Nov 2022 17:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-justify-table-proc-tabulate/m-p/845993#M334444</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2022-11-23T17:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: re: justify table proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-justify-table-proc-tabulate/m-p/846069#M334479</link>
      <description>&lt;P&gt;You need post some sample data to let us test your code.and better post a photo you want to see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=sashelp.heart style={just=r};
class status bp_status Weight_Status Smoking_Status;
classlev Weight_Status/style={just=l};
classlev bp_status status Smoking_Status/style={just=r};
table Weight_Status=''*(Smoking_Status='' all) all,
      status=''*bp_status=''*pctn&amp;lt;bp_status&amp;gt;='' ;
keyword all/style={just=r};
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1669260959424.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77652i78D40C94027221FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1669260959424.png" alt="Ksharp_0-1669260959424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 03:35:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-justify-table-proc-tabulate/m-p/846069#M334479</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-24T03:35:35Z</dc:date>
    </item>
  </channel>
</rss>

