<?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-bottom line Color in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-bottom-line-Color/m-p/411180#M100516</link>
    <description>You are awesome! your solution is exactly what I needSmiley LOL</description>
    <pubDate>Tue, 07 Nov 2017 13:54:48 GMT</pubDate>
    <dc:creator>XiaoGuaiShou</dc:creator>
    <dc:date>2017-11-07T13:54:48Z</dc:date>
    <item>
      <title>Proc Tabulate-bottom line Color</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-bottom-line-Color/m-p/410949#M100433</link>
      <description>&lt;P&gt;Hello all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a project, I need to make&amp;nbsp;a table in SAS, I use these codes to achieve it, I did most of the job, unless one problem bothers me as following pictures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; code I use:&lt;/P&gt;&lt;P&gt;data report;&lt;BR /&gt;infile datalines dlm=',';&lt;BR /&gt;informat rowvar finished male female;&lt;BR /&gt;input rowvar finished male female;&lt;BR /&gt;datalines;&lt;BR /&gt;1 ,1,20,40&lt;BR /&gt;1 ,1,60,40&lt;BR /&gt;2 ,1,40,40&lt;BR /&gt;3 ,1,60,20&lt;BR /&gt;3 ,1,40,0&lt;BR /&gt;3 ,1,60,20&lt;BR /&gt;4 ,1,30,0&lt;BR /&gt;5 ,1,0,20&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc tabulate data =report style = [just=c vjust=m ];&lt;BR /&gt;classlev rowvar / style = [cellwidth=100];&lt;BR /&gt;class rowvar/ order=formatted preloadfmt;&lt;BR /&gt;keylabel all='Total';&lt;BR /&gt;var finished male/style= [background=#f6f5ef];&lt;BR /&gt;var finished female;&lt;/P&gt;&lt;P&gt;table rowvar=' ' all={S = {background = #E7E6D5}}*{S = {background = #E7E6D5 cellwidth=70}}&lt;BR /&gt;, finished='Respondents'*n=''*f=comma10.&lt;BR /&gt;mean="Gender"*(Male*{S = {background = #f6f5ef cellwidth=70}} Female)*f=10.1/ box={label="Department" s=[just=L ]} printmiss;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;The table I want:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16474i0FE144CC35E784E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://communities.sas.com/i/smilies/16x16_smiley-indifferent.png" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt;The table I have:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16475i3D115724CDA524BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is almost there. However, I cannot come up with a solution to&amp;nbsp;force the circle part to dark green, I can easily change it in Excel, but the situation is I need to make the report all completed by SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 18:19:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-bottom-line-Color/m-p/410949#M100433</guid>
      <dc:creator>XiaoGuaiShou</dc:creator>
      <dc:date>2017-11-06T18:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate-bottom line Color</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-bottom-line-Color/m-p/411026#M100466</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=REPORT style = [just=c vjust=m ];
  classlev rowvar    / style = [cellwidth=100];
  class rowvar       / order = formatted preloadfmt;
  keylabel all='Total';
  var FINISHED MALE  / style = [background=#f6f5ef];
  var FEMALE;
  table ROWVAR  = ' ' 
        all     = {s={background = #e7e6d5}} * {s={background = #e7e6d5 cellwidth=70}} 
      , FINISHED= 'Respondents'*n=' '*f=comma10.
        mean    = "Gender"*(MALE*{s={background=#f6f5ef cellwidth=70}} FEMALE)*f=10.1
      / box={label="Department" s=[just=L ]} printmiss style_precedence=row;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 378px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16483i70685FDC98FDCA6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 01:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-bottom-line-Color/m-p/411026#M100466</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-11-07T01:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate-bottom line Color</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-bottom-line-Color/m-p/411180#M100516</link>
      <description>You are awesome! your solution is exactly what I needSmiley LOL</description>
      <pubDate>Tue, 07 Nov 2017 13:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-bottom-line-Color/m-p/411180#M100516</guid>
      <dc:creator>XiaoGuaiShou</dc:creator>
      <dc:date>2017-11-07T13:54:48Z</dc:date>
    </item>
  </channel>
</rss>

