<?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: coloured data in proc tabulate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349743#M81198</link>
    <description>&lt;P&gt;Then just change the style call from background to&amp;nbsp;foreground.&lt;/P&gt;
&lt;P&gt;So from this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;style={background=pi&lt;WBR /&gt;nk}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;style={foreground=pi&lt;WBR /&gt;nk}&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 12:53:37 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-04-13T12:53:37Z</dc:date>
    <item>
      <title>coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349728#M81190</link>
      <description>&lt;P&gt;Hi everybody, i'm facing with a little sas-detail, but probably can solve me a lot of problems...&lt;BR /&gt;I'd like to focus my datas, outcoming from my proc tabulate, in some particular conditions (example: differences &amp;gt;10% and so on), but I would like to focus (for example in red) not from the background but from the data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;example: 8% in white, 18% in red (the number and the % character)...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you if'll you kindly help / light me.&lt;BR /&gt;&lt;BR /&gt;valentina from Italy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 12:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349728#M81190</guid>
      <dc:creator>valentina71</dc:creator>
      <dc:date>2017-04-13T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349735#M81193</link>
      <description>&lt;P&gt;Output the proc tabulate output to &amp;nbsp;a dataset, then apply standar traffic lighting in a proc report:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Traffic-Lighting-with-Proc-Tabulate/td-p/83374" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Traffic-Lighting-with-Proc-Tabulate/td-p/83374&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 12:39:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349735#M81193</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-13T12:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349738#M81195</link>
      <description>&lt;P&gt;I'm sorry but I read the post you tell me before to write mine...&lt;/P&gt;&lt;P&gt;it's not helpful, the traffic light is in the background non in the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you, valentina&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 12:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349738#M81195</guid>
      <dc:creator>valentina71</dc:creator>
      <dc:date>2017-04-13T12:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349741#M81197</link>
      <description>&lt;P&gt;You can try the following code snippet on your example - for more information look at this SAS note&amp;nbsp;&lt;A href="http://support.sas.com/kb/23/353.html" target="_blank"&gt;http://support.sas.com/kb/23/353.html&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;   proc report data=sashelp.class nowd;
     column name age sex height weight;
     define name / display;
     define age / order;
     define sex / order;
     define height / sum;
     define weight / sum;
     compute age;
       count+1;
       if count=5 then
          call define(_row_,"style","style={background=red}");
     endcomp;
   run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 12:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349741#M81197</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2017-04-13T12:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349743#M81198</link>
      <description>&lt;P&gt;Then just change the style call from background to&amp;nbsp;foreground.&lt;/P&gt;
&lt;P&gt;So from this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;style={background=pi&lt;WBR /&gt;nk}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;style={foreground=pi&lt;WBR /&gt;nk}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 12:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349743#M81198</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-13T12:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349752#M81207</link>
      <description>&lt;P&gt;thank u!!! it was simple!!!!&lt;/P&gt;&lt;P&gt;in italy we say: I lost myself in a glass of water ( as: It was all a storm in a teacup&lt;EM&gt;).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;valentina&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 13:11:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349752#M81207</guid>
      <dc:creator>valentina71</dc:creator>
      <dc:date>2017-04-13T13:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349753#M81208</link>
      <description>&lt;P&gt;this is not a proc tabulate.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 13:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349753#M81208</guid>
      <dc:creator>valentina71</dc:creator>
      <dc:date>2017-04-13T13:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349767#M81213</link>
      <description>&lt;P&gt;And an example using the value of a statistic to change text color.&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
value colorpct
0 - 55 = 'blue'
55&amp;lt;-75 = 'green'
75&amp;lt;-high= 'red';
run;

proc tabulate data=sashelp.class;
   class age;
   class sex;
   table age,
         sex*rowpctn*[style={foreground=colorpct.}];
run;

&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Apr 2017 14:21:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349767#M81213</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-13T14:21:33Z</dc:date>
    </item>
    <item>
      <title>coloured data in proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349967#M81304</link>
      <description>thank youuuuuuu!!!&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Apr 2017 06:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/coloured-data-in-proc-tabulate/m-p/349967#M81304</guid>
      <dc:creator>valentina71</dc:creator>
      <dc:date>2017-04-14T06:28:23Z</dc:date>
    </item>
  </channel>
</rss>

