<?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: Color Tabulate Header in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/302056#M64000</link>
    <description>&lt;P&gt;The output shown is what I am aiming for but the blanks make it weird.&amp;nbsp; I’m trying to remove the blanks from the top box. &amp;nbsp;I attached a screenshot.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13022i9AC62BF779B5C2F5/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="a.png" title="a.png" /&gt;</description>
    <pubDate>Mon, 03 Oct 2016 14:17:53 GMT</pubDate>
    <dc:creator>DavidPhillips2</dc:creator>
    <dc:date>2016-10-03T14:17:53Z</dc:date>
    <item>
      <title>Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301350#M63750</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am trying to add the commented line and running into syntax errors. &amp;nbsp;How do I color a tabular header like a proc report header? &amp;nbsp;This is the same line that I use successfully in proc report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title 'Fall 2015 UG Engineering Admissions Status (enrolled)';&lt;BR /&gt;proc tabulate data= eaar.summary_opds_stu_admissions /*style(header)=[background=#969491 color=white]*/ out= Fall_UG_Admission_Status ;&lt;BR /&gt;class application_type;&lt;BR /&gt;var enrolled;&lt;BR /&gt;table ( application_type= ' ' all) * N = ' ';&lt;BR /&gt;where college = 'EG' and academic_period_desc = 'Fall 2015' and&lt;BR /&gt;application_level = 'Undergraduate' and enrolled = 1;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 16:59:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301350#M63750</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2016-09-28T16:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301359#M63753</link>
      <description>&lt;P&gt;Tabulate takes a bit more work and you need to address things a bit differently. See if this come close&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'Fall 2015 UG Engineering Admissions Status (enrolled)';
proc tabulate data= eaar.summary_opds_stu_admissions out= Fall_UG_Admission_Status ;
   class application_type /style=[background=#969491 color=white];
   classlev application_type /style=[background=#969491 color=white];
   keyword all /style=[background=#969491 color=white];
   var enrolled;
   table ( application_type= ' ' all) * N = ' ';
   where college = 'EG' and academic_period_desc = 'Fall 2015' and
      application_level = 'Undergraduate' and enrolled = 1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:35:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301359#M63753</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-28T17:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301366#M63757</link>
      <description>&lt;P&gt;Ballardw,&lt;/P&gt;&lt;P&gt;Thanks that worked great.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301366#M63757</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2016-09-28T17:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301374#M63762</link>
      <description>&lt;P&gt;In this case how do I color the cell in the top left?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc tabulate data= mytable;&lt;BR /&gt;class student_classification1 department degree_level / style=[background=#969491 color=white];&lt;BR /&gt;classlev student_classification1 department degree_level / style=[background=#969491 color=white];&lt;BR /&gt;keyword all / style=[background=#969491 color=white];&lt;BR /&gt;var students_enrolled;&lt;BR /&gt;table department = ' ' all, (degree_level=' ' * student_classification1= ' ' all) * N = ' ';&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 18:03:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301374#M63762</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2016-09-28T18:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301402#M63776</link>
      <description>&lt;P&gt;Are you referring to the often empty box in the upper left that is addressed using BOX in the table options?&amp;nbsp;BOX allows style options as well so something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data= mytable;
   class student_classification1 department degree_level / style=[background=#969491 color=white];
   classlev student_classification1 department degree_level / style=[background=#969491 color=white];
   keyword all / style=[background=#969491 color=white];
   var students_enrolled;
   table department = ' ' all, 
        (degree_level=' ' * student_classification1= ' ' all) * N = ' '
        /box = [style=[background=#969491 color=white]]
   ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Sep 2016 20:57:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301402#M63776</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-28T20:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301421#M63790</link>
      <description>&lt;P&gt;If you are going to want to use the same appearnce often I would be very tempted create a custom ODS style. Many of the SAS developed styles such as Analysis, Meadow, Festival and others will have the column and row header area appear with different color background if not text foreground. Use one of those close to your other appearance needs and use in as the basis for your report output.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 22:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301421#M63790</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-28T22:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301561#M63843</link>
      <description>&lt;P&gt;On the subject of formatting is there a keyword that removes blank values form the header section? &amp;nbsp;I’m blanking out the space for values like N but the space remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title 'Fall 2015 UG Engineering Admissions Status (enrolled)';&lt;BR /&gt;proc tabulate data= mytable&amp;nbsp;style =[font_size=1] out= Fall_UG_Admission_Status missing;&lt;BR /&gt;class application_type / style=[background=#969491 color=white font_size=1];&lt;BR /&gt;classlev application_type / style=[background=#969491 color=white font_size=1];&lt;BR /&gt;var enrolled / style =[font_size=1];&lt;BR /&gt;table ( application_type= ' ' * all= ' ') * N = ' ' / row=float;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 16:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301561#M63843</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2016-09-29T16:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301601#M63862</link>
      <description>&lt;P&gt;You'll either need to provide some example data to run the code against to see what your output is or provide a picture.&lt;/P&gt;
&lt;P&gt;I'm not sure which potential blanks you may be referring to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your code doesn't have a row dimension I'm not sure what the affect of row=float might be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I note that you are now show&lt;/P&gt;
&lt;P&gt;application_type= ' ' * all= ' '&lt;/P&gt;
&lt;P&gt;where previously you had&lt;/P&gt;
&lt;P&gt;application_type= ' '&amp;nbsp; &amp;nbsp;all= '&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you intend to nest the all within levels of application_type?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 18:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/301601#M63862</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-29T18:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Color Tabulate Header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/302056#M64000</link>
      <description>&lt;P&gt;The output shown is what I am aiming for but the blanks make it weird.&amp;nbsp; I’m trying to remove the blanks from the top box. &amp;nbsp;I attached a screenshot.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13022i9AC62BF779B5C2F5/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="a.png" title="a.png" /&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Color-Tabulate-Header/m-p/302056#M64000</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2016-10-03T14:17:53Z</dc:date>
    </item>
  </channel>
</rss>

