<?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: problem with summary table task in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4793#M1533</link>
    <description>Hi:&lt;BR /&gt;
  There is a way to increase the area that you describe. It is the ROW TITLE SPACE that is the leftmost area in Summary Table output -- because that is where the row dimension class values or statistic names are displayed. Usually, you will only encounter this wrapping in the LISTING destination or OUTPUT window. Wrapping is not generally a problem in the default HTML (or RTF or PDF) output produced with EG.&lt;BR /&gt;
&lt;BR /&gt;
However, the way that you would modify the Row Title Space value would be by opening or previewing the EG code for your summary tables task, and look for the TABLE statement. It will look something like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
TABLE /* Row Dimension */&lt;BR /&gt;
      Region &lt;BR /&gt;
     ALL,&lt;BR /&gt;
/* Column Dimension */&lt;BR /&gt;
     Sales*     Max &lt;BR /&gt;
    Sales*    ALL*    Sum 		;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Then, BEFORE the final semi-colon, you will want click on insert code gray area and add:&lt;BR /&gt;
[pre]&lt;BR /&gt;
 / RTS=40 &lt;BR /&gt;
[/pre]&lt;BR /&gt;
or whatever value is long enough to keep the wrapping from happening. &lt;BR /&gt;
So, your final TABLE statement in the above example would be:&lt;BR /&gt;
[pre]&lt;BR /&gt;
TABLE /* Row Dimension */&lt;BR /&gt;
      Region &lt;BR /&gt;
     ALL,&lt;BR /&gt;
/* Column Dimension */&lt;BR /&gt;
     Sales*     Max &lt;BR /&gt;
    Sales*    ALL*    Sum 	&lt;B&gt;&lt;BR /&gt;
/ RTS=40	&lt;/B&gt;   ;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
If you use PROC REPORT for your report, then you have a few other options, such as WIDTH= or FORMAT= for LISTING output and/or CELLWIDTH for other ODS destination output, as described in this forum posting&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=7442ᴒ" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=7442ᴒ&lt;/A&gt; because CELLWIDTH can be used to make a column WIDER, as well as make a column narrower (and thus force wrapping). &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Fri, 21 Sep 2007 20:48:53 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2007-09-21T20:48:53Z</dc:date>
    <item>
      <title>problem with summary table task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4792#M1532</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
I am using Summary table to get an output for my report.&lt;BR /&gt;
&lt;BR /&gt;
The output of my report layout is as follows:-&lt;BR /&gt;
                                                                      Order type&lt;BR /&gt;
                              Months                      R                          T  &lt;BR /&gt;
Supplier_name                                       Value                    Value    &lt;BR /&gt;
&lt;BR /&gt;
XYZabcdefgh          June                       1000                      20000&lt;BR /&gt;
ifddjd&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The problem with this output is that Supplier_name is getting wrap so can I customize the width of columns through summary table &lt;BR /&gt;
OR &lt;BR /&gt;
can I use the output of summary table and using proc report to generate the final &lt;BR /&gt;
output.</description>
      <pubDate>Fri, 21 Sep 2007 19:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4792#M1532</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-09-21T19:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summary table task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4793#M1533</link>
      <description>Hi:&lt;BR /&gt;
  There is a way to increase the area that you describe. It is the ROW TITLE SPACE that is the leftmost area in Summary Table output -- because that is where the row dimension class values or statistic names are displayed. Usually, you will only encounter this wrapping in the LISTING destination or OUTPUT window. Wrapping is not generally a problem in the default HTML (or RTF or PDF) output produced with EG.&lt;BR /&gt;
&lt;BR /&gt;
However, the way that you would modify the Row Title Space value would be by opening or previewing the EG code for your summary tables task, and look for the TABLE statement. It will look something like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
TABLE /* Row Dimension */&lt;BR /&gt;
      Region &lt;BR /&gt;
     ALL,&lt;BR /&gt;
/* Column Dimension */&lt;BR /&gt;
     Sales*     Max &lt;BR /&gt;
    Sales*    ALL*    Sum 		;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Then, BEFORE the final semi-colon, you will want click on insert code gray area and add:&lt;BR /&gt;
[pre]&lt;BR /&gt;
 / RTS=40 &lt;BR /&gt;
[/pre]&lt;BR /&gt;
or whatever value is long enough to keep the wrapping from happening. &lt;BR /&gt;
So, your final TABLE statement in the above example would be:&lt;BR /&gt;
[pre]&lt;BR /&gt;
TABLE /* Row Dimension */&lt;BR /&gt;
      Region &lt;BR /&gt;
     ALL,&lt;BR /&gt;
/* Column Dimension */&lt;BR /&gt;
     Sales*     Max &lt;BR /&gt;
    Sales*    ALL*    Sum 	&lt;B&gt;&lt;BR /&gt;
/ RTS=40	&lt;/B&gt;   ;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
If you use PROC REPORT for your report, then you have a few other options, such as WIDTH= or FORMAT= for LISTING output and/or CELLWIDTH for other ODS destination output, as described in this forum posting&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=7442ᴒ" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=7442ᴒ&lt;/A&gt; because CELLWIDTH can be used to make a column WIDER, as well as make a column narrower (and thus force wrapping). &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 21 Sep 2007 20:48:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4793#M1533</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-09-21T20:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summary table task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4794#M1534</link>
      <description>Thanks for the solution.. but I am geting too much space between the rows and column..&lt;BR /&gt;
In your example you have region only in rows..&lt;BR /&gt;
But in my report I have &lt;BR /&gt;
TABLE /* Row Dimension */    &lt;BR /&gt;
  Supplier_name      ALL&lt;BR /&gt;
AGIENG          ALL&lt;BR /&gt;
/* Column Dimension */     Sales*     Max   &lt;BR /&gt;
  Sales*    ALL*    Sum 		;&lt;BR /&gt;
&lt;BR /&gt;
So when i insert RTS in code it gives width to both row dimension where i just want to give to supplier_name since it is wrapping..&lt;BR /&gt;
&lt;BR /&gt;
Wht should i do with this..&lt;BR /&gt;
How should I go about..</description>
      <pubDate>Tue, 25 Sep 2007 21:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4794#M1534</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-09-25T21:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summary table task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4795#M1535</link>
      <description>Hi:&lt;BR /&gt;
  I must be missing something. I don't see a comma (,) in your TABLE statement and the only * I see is in what you say is the Column dimension. Do you have something nested in your Row dimension? Did you leave a comma out of your typing?&lt;BR /&gt;
[pre]&lt;BR /&gt;
** Your table statement;&lt;BR /&gt;
TABLE /* Row Dimension */ &lt;BR /&gt;
Supplier_name ALL&lt;BR /&gt;
AGIENG ALL    &amp;lt;---- NO COMMA between ROW and COLUMN dimension&lt;BR /&gt;
/* Column Dimension */ &lt;BR /&gt;
Sales* Max &lt;BR /&gt;
Sales* ALL* Sum ;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
compare your TABLE statement to my TABLE statement. I have a comma in my TABLE statement -- but I don't see one in your TABLE statement.&lt;BR /&gt;
&lt;BR /&gt;
Even if you had nested variables in the row dimension: [pre]&lt;BR /&gt;
table region*subsidiary,&lt;BR /&gt;
        sales*max sales*all*sum / RTS=50; [/pre]&lt;BR /&gt;
&lt;BR /&gt;
The RTS specification would apply to the WHOLE area allocated to REGION*SUBSIDIARY. Or, alternately if you did have this TABLE statement&lt;BR /&gt;
[pre]&lt;BR /&gt;
TABLE /* Row Dimension */ &lt;BR /&gt;
Supplier_name ALL&lt;BR /&gt;
AGIENG ALL  &lt;B&gt;,&lt;/B&gt;&lt;BR /&gt;
/* Column Dimension */ &lt;BR /&gt;
Sales* Max &lt;BR /&gt;
Sales* ALL* Sum /RTS=50 ;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Then the RTS would apply to the ROW title area for BOTH SUPPLIER_NAME and AGIENG. &lt;BR /&gt;
&lt;BR /&gt;
You cannot variably change the space allocated to SUPPLIER_NAME and make it different from the space allocated to AGIENG.&lt;BR /&gt;
&lt;BR /&gt;
Take this table for an example. I have both REGION and PRODUCT in the row dimension.&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
-----------------------------------------------&lt;BR /&gt;
|             |               |  Total Sales  |&lt;BR /&gt;
|             |               |---------------|&lt;BR /&gt;
|             |  Total Sales  |      All      |&lt;BR /&gt;
|             |---------------+---------------|&lt;BR /&gt;
|             |      Max      |      Sum      |&lt;BR /&gt;
|-------------+---------------+---------------|&lt;BR /&gt;
|Region       |               |               |&lt;BR /&gt;
|-------------|               |               |&lt;BR /&gt;
|Asia         |    $149,013.00|    $214,740.00|&lt;BR /&gt;
|-------------+---------------+---------------|&lt;BR /&gt;
|Canada       |    $700,513.00|  $1,338,364.00|&lt;BR /&gt;
|-------------+---------------+---------------|&lt;BR /&gt;
|Pacific      |    $171,735.00|    $514,315.00|&lt;BR /&gt;
|-------------+---------------+---------------|&lt;BR /&gt;
|All          |    $700,513.00|  $2,067,419.00|&lt;BR /&gt;
|-------------+---------------+---------------|&lt;BR /&gt;
|Product      |               |               |&lt;BR /&gt;
|-------------|               |               |&lt;BR /&gt;
|Boot         |    $286,497.00|    $571,896.00|&lt;BR /&gt;
|-------------+---------------+---------------|&lt;BR /&gt;
|Slipper      |    $700,513.00|  $1,495,523.00|&lt;BR /&gt;
|-------------+---------------+---------------|&lt;BR /&gt;
|All          |    $700,513.00|  $2,067,419.00|&lt;BR /&gt;
-----------------------------------------------&lt;BR /&gt;
XXXXXXXXXXXXXXX@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;BR /&gt;
[/pre]&lt;BR /&gt;
The area indicated with XXXXX is the row title space area. The area with @@@@ is the "column area". This table was created by this program:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing;&lt;BR /&gt;
options nocenter;&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=sashelp.shoes f=dollar15.2 &lt;BR /&gt;
     formchar='|----|+|--- ';&lt;BR /&gt;
where region in ('Asia', 'Canada', 'Pacific') and&lt;BR /&gt;
      product in ('Slipper', 'Boot');&lt;BR /&gt;
class region product;&lt;BR /&gt;
var sales;&lt;BR /&gt;
table &lt;BR /&gt;
  /* Row */&lt;BR /&gt;
  region all&lt;BR /&gt;
  product all,&lt;BR /&gt;
  /* Col */&lt;BR /&gt;
  sales*max sales*all*sum / rts=15;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
If there is too much space between the row title space area and the column area, then either make the RTS value smaller or make the format for the column area smaller, or both.&lt;BR /&gt;
 &lt;BR /&gt;
If you are using ODS, then you could use CELLWIDTH to change the size of the cells, but again, you could not, in this example, make the area for Region a different "width" than the area for Product.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 25 Sep 2007 22:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/problem-with-summary-table-task/m-p/4795#M1535</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-09-25T22:02:52Z</dc:date>
    </item>
  </channel>
</rss>

