<?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 Proc Tabulate with Shaded Columns in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-with-Shaded-Columns/m-p/63561#M18080</link>
    <description>Hi ,&lt;BR /&gt;
&lt;BR /&gt;
anybody having idea about how to get alternate shaded rows in proc tabulate.</description>
    <pubDate>Wed, 12 Aug 2009 09:34:55 GMT</pubDate>
    <dc:creator>PSR</dc:creator>
    <dc:date>2009-08-12T09:34:55Z</dc:date>
    <item>
      <title>Proc Tabulate with Shaded Columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-with-Shaded-Columns/m-p/63561#M18080</link>
      <description>Hi ,&lt;BR /&gt;
&lt;BR /&gt;
anybody having idea about how to get alternate shaded rows in proc tabulate.</description>
      <pubDate>Wed, 12 Aug 2009 09:34:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-with-Shaded-Columns/m-p/63561#M18080</guid>
      <dc:creator>PSR</dc:creator>
      <dc:date>2009-08-12T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate with Shaded Columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-with-Shaded-Columns/m-p/63562#M18081</link>
      <description>I don't know about alternate columns necessarily, but here's what I used to shade specific columns.  For readability, every third or even fourth column is actually quite sufficient.&lt;BR /&gt;
&lt;BR /&gt;
First, build a colour format with something like &lt;BR /&gt;
&lt;BR /&gt;
Proc format:&lt;BR /&gt;
value $bkgrnd&lt;BR /&gt;
"Lvl1','Lvl2','Lvl3'='cxf6f5ea'&lt;BR /&gt;
other='cxffffff';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Then in proc tabulate, under the ODS umbrella, apply the $bkgrnd format to the class variable that contains the values of Lvl1, Lvl2,Lvl3,... with &lt;BR /&gt;
classlev LvlVarname/style=[background=$bkgrnd.];&lt;BR /&gt;
&lt;BR /&gt;
Not my invention, I think Cynthia helped me through this one.  You should be able to find more in the archives in the ODS section.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps at least a little bit!</description>
      <pubDate>Wed, 12 Aug 2009 13:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-with-Shaded-Columns/m-p/63562#M18081</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-08-12T13:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate with Shaded Columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-with-Shaded-Columns/m-p/63563#M18082</link>
      <description>Hi:&lt;BR /&gt;
  To achieve banding (differing row colors) in Proc Tabulate, where the whole -row- is colored (not just the class level values), you need to investigate the use of the &amp;lt;parent&amp;gt; syntax in proc tabulate for making style changes.&lt;BR /&gt;
 &lt;BR /&gt;
  Here's an output 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;&lt;BR /&gt;
  &lt;BR /&gt;
  Here's the Tech Support note with the code (second to last example):&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;
  There's another example, in my paper, here:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/forum2008/173-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/173-2008.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And the programs for that paper are downloadable from:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/papers/sgf2008/complex_reports.zip" target="_blank"&gt;http://support.sas.com/rnd/papers/sgf2008/complex_reports.zip&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 12 Aug 2009 15:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Tabulate-with-Shaded-Columns/m-p/63563#M18082</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-08-12T15:13:53Z</dc:date>
    </item>
  </channel>
</rss>

