<?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 formats by class level in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8023#M292</link>
    <description>Thank you! it worked...</description>
    <pubDate>Tue, 28 Sep 2010 22:34:22 GMT</pubDate>
    <dc:creator>PTD_SAS</dc:creator>
    <dc:date>2010-09-28T22:34:22Z</dc:date>
    <item>
      <title>PROC TABULATE formats by class level</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8019#M288</link>
      <description>Could anyone suggest a way to specify different formats and/or ODS output styles for different levels of a class variable in Proc Tabulate?&lt;BR /&gt;
This is different to defining formats for a specific class variable, I'm looking for a way to have different colours or fonts for a specific level within a class variable. Thanks!</description>
      <pubDate>Tue, 28 Sep 2010 04:11:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8019#M288</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2010-09-28T04:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE formats by class level</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8020#M289</link>
      <description>traffic-lighting might help.&lt;BR /&gt;
search the ods reporting forum and the base SAS Focus area at &lt;A href="http://support.sas.com/rnd/base/ods/index.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/index.html&lt;/A&gt;</description>
      <pubDate>Tue, 28 Sep 2010 12:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8020#M289</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-09-28T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE formats by class level</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8021#M290</link>
      <description>Hi:&lt;BR /&gt;
  Peter is correct. You will use a form of trafficlighting....and you will need the CLASSLEV statement. The only purpose of the CLASSLEV statement is to allow you to specify style for the levels of class variables. So, if you did this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
class jobcode / style={background=pink};&lt;BR /&gt;
classlev jobcode / style={background=cyan};&lt;BR /&gt;
[/pre]&lt;BR /&gt;
   &lt;BR /&gt;
Then the HEADER cell for JOBCODE would have a background of PINK, but the levels of JOBCODE (such as Job1, Job2, Job3) -- would all have a background color of CYAN.&lt;BR /&gt;
 &lt;BR /&gt;
But, if you have a user-defined format like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc format;&lt;BR /&gt;
  value $jc 'Job1' = 'yellow'&lt;BR /&gt;
            'Job2' = 'green'&lt;BR /&gt;
            'Job3'='purple';&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                 &lt;BR /&gt;
Then you can alter the style for levels of JOBCODE by applying the user-defined format:&lt;BR /&gt;
[pre]&lt;BR /&gt;
classlev jobcode / style={background=$jc.};&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                   &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 28 Sep 2010 17:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8021#M290</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-28T17:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE formats by class level</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8022#M291</link>
      <description>Thank you Peter and Cynthia! Your solution fixed my problem.</description>
      <pubDate>Tue, 28 Sep 2010 22:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8022#M291</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2010-09-28T22:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TABULATE formats by class level</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8023#M292</link>
      <description>Thank you! it worked...</description>
      <pubDate>Tue, 28 Sep 2010 22:34:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-TABULATE-formats-by-class-level/m-p/8023#M292</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2010-09-28T22:34:22Z</dc:date>
    </item>
  </channel>
</rss>

