<?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: Table options in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25960#M4239</link>
    <description>Hi:&lt;BR /&gt;
  When you say you want to create a TABLE -- do you mean you want to create a DATASET??? Or, do you mean that you want to create a REPORT table???&lt;BR /&gt;
 &lt;BR /&gt;
  If you are creating or want a REPORT table, then do you know what procedure you will be using??? Or, do you know what type of ODS output (HTML, PDF, RTF) that you will need??&lt;BR /&gt;
 &lt;BR /&gt;
  When you say you want every 10th row to be separated by a thick line -- what do you mean?? A thick black line? A thick red line? Is the thick line a reader break???&lt;BR /&gt;
&lt;BR /&gt;
  Have you looked at PROC PRINT??? There is a new option in 9.2 that inserts a 'reader break" into PROC PRINT output. The option is the BLANKLINE option.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Sun, 31 Oct 2010 06:04:25 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-10-31T06:04:25Z</dc:date>
    <item>
      <title>Table options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25959#M4238</link>
      <description>Hello.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to create a table where every 10 row is seperated by a thick line.&lt;BR /&gt;
&lt;BR /&gt;
Do anyone have ideas how to do this?&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance!&lt;BR /&gt;
&lt;BR /&gt;
HanJoe.</description>
      <pubDate>Sun, 31 Oct 2010 04:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25959#M4238</guid>
      <dc:creator>HanJoeKim</dc:creator>
      <dc:date>2010-10-31T04:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25960#M4239</link>
      <description>Hi:&lt;BR /&gt;
  When you say you want to create a TABLE -- do you mean you want to create a DATASET??? Or, do you mean that you want to create a REPORT table???&lt;BR /&gt;
 &lt;BR /&gt;
  If you are creating or want a REPORT table, then do you know what procedure you will be using??? Or, do you know what type of ODS output (HTML, PDF, RTF) that you will need??&lt;BR /&gt;
 &lt;BR /&gt;
  When you say you want every 10th row to be separated by a thick line -- what do you mean?? A thick black line? A thick red line? Is the thick line a reader break???&lt;BR /&gt;
&lt;BR /&gt;
  Have you looked at PROC PRINT??? There is a new option in 9.2 that inserts a 'reader break" into PROC PRINT output. The option is the BLANKLINE option.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sun, 31 Oct 2010 06:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25960#M4239</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-10-31T06:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25961#M4240</link>
      <description>Cynthia, &lt;BR /&gt;
I'm sorry for being so ambiguous.&lt;BR /&gt;
&lt;BR /&gt;
I was talking about creating a 'report table'.&lt;BR /&gt;
For example, when I use PROC TABULATE and want to obtain a PDF file.&lt;BR /&gt;
Also, I want a 'thick black line' that can distinguish every 10 observations. &lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help. &lt;BR /&gt;
&lt;BR /&gt;
HanJoe.</description>
      <pubDate>Mon, 01 Nov 2010 06:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25961#M4240</guid>
      <dc:creator>HanJoeKim</dc:creator>
      <dc:date>2010-11-01T06:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25962#M4241</link>
      <description>Hi:&lt;BR /&gt;
  PROC TABULATE is creating a summary report table -- usually a cross-tabular table -- there are no "observations" -- per se -- in a PROC TABULATE report table. Your observations go "into" TABULATE and what comes out of TABULATE is a summarized table. It would be hard to insert "reader breaks" into a PROC TABULATE report table in the same way that the BLANKLINE option works with PROC PRINT. There are other ODS techniques that you can use with TABULATE (such as banding -- discussed below).&lt;BR /&gt;
 &lt;BR /&gt;
  As an example, consider this table created by PROC TABULATE for the SASHELP.PRDSALE dataset:&lt;BR /&gt;
[pre]&lt;BR /&gt;
+----------------------------------------+-----------------------------------------------------------------------------+------------+&lt;BR /&gt;
|                                        |                                   Region                                    |            |&lt;BR /&gt;
|                                        |--------------------------------------+--------------------------------------|            |&lt;BR /&gt;
|                                        |                 EAST                 |                 WEST                 |            |&lt;BR /&gt;
|                                        |--------------------------------------+--------------------------------------|            |&lt;BR /&gt;
|                                        |             Actual Sales             |             Actual Sales             |Actual Sales|&lt;BR /&gt;
|                                        |------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                                        |    Min     |    Mean    |    Max     |    Min     |    Mean    |    Max     |    Sum     |&lt;BR /&gt;
|-------------------+--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|Country            |Product             |            |            |            |            |            |            |            |&lt;BR /&gt;
|-------------------+--------------------|            |            |            |            |            |            |            |&lt;BR /&gt;
|CANADA             |BED                 |       42.00|      566.58|      993.00|       13.00|      427.77|      957.00|    47729.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |CHAIR               |       14.00|      525.00|      995.00|       21.00|      521.65|     1000.00|    50239.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |DESK                |       20.00|      521.25|      997.00|       35.00|      565.98|      990.00|    52187.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |SOFA                |        5.00|      502.58|      999.00|        3.00|      541.90|      958.00|    50135.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |TABLE               |       43.00|      540.52|      968.00|        6.00|      432.40|      971.00|    46700.00|&lt;BR /&gt;
|-------------------+--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|GERMANY            |BED                 |       15.00|      490.35|      962.00|        3.00|      470.77|      916.00|    46134.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |CHAIR               |       13.00|      484.94|      951.00|       28.00|      496.42|      986.00|    47105.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |DESK                |       14.00|      529.23|      996.00|       22.00|      481.23|      991.00|    48502.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |SOFA                |       30.00|      546.13|      996.00|       41.00|      600.96|      996.00|    55060.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |TABLE               |       33.00|      544.08|     1000.00|       25.00|      480.85|      983.00|    49197.00|&lt;BR /&gt;
|-------------------+--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|U.S.A.             |BED                 |        9.00|      482.02|      926.00|       18.00|      521.60|      984.00|    48174.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |CHAIR               |       54.00|      570.38|      964.00|       31.00|      490.79|      960.00|    50936.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |DESK                |       41.00|      483.19|      984.00|        6.00|      528.13|      955.00|    48543.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |SOFA                |        4.00|      463.81|      895.00|       22.00|      440.21|      961.00|    43393.00|&lt;BR /&gt;
|                   |--------------------+------------+------------+------------+------------+------------+------------+------------|&lt;BR /&gt;
|                   |TABLE               |       14.00|      463.71|      956.00|       56.00|      500.94|      972.00|    46303.00|&lt;BR /&gt;
+-------------------+--------------------+------------+------------+------------+------------+------------+------------+------------+&lt;BR /&gt;
&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                      &lt;BR /&gt;
What you see in this table are not "observations" -- it is summarized information based on this code:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc tabulate data=sashelp.prdsale;&lt;BR /&gt;
  class region product country;&lt;BR /&gt;
  var actual;&lt;BR /&gt;
  table country*product,&lt;BR /&gt;
        region*(actual*(min mean max)) actual*sum;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
If I needed to make this table smaller or more readable, I'd consider these things:&lt;BR /&gt;
1) using the PAGE dimension to put every country on a different page&lt;BR /&gt;
  &lt;BR /&gt;
2) using BY group processing to put every country on a different page&lt;BR /&gt;
   &lt;BR /&gt;
3) using "banding" techniques with ODS to make every country's rows a different color (see this Tech Support example)&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/25/addl/fusion25401_1_odstab10.htm" target="_blank"&gt;http://support.sas.com/kb/25/addl/fusion25401_1_odstab10.htm&lt;/A&gt; (where all the NC rows are green and all the NE rows are white, etc)&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/25/401.html" target="_blank"&gt;http://support.sas.com/kb/25/401.html&lt;/A&gt;&lt;BR /&gt;
  &lt;BR /&gt;
&lt;BR /&gt;
4) Create an output data set with PROC TABULATE and then use that dataset with PROC PRINT and the BLANKLINE option.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 01 Nov 2010 13:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Table-options/m-p/25962#M4241</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-11-01T13:27:57Z</dc:date>
    </item>
  </channel>
</rss>

