<?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: Do Conditional Highlighting - ODS HTML in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59051#M7071</link>
    <description>hiiii&lt;BR /&gt;
&lt;BR /&gt;
i need help in this senario&lt;BR /&gt;
&lt;BR /&gt;
============================================================&lt;BR /&gt;
ANUM JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC TOTAL_FAIL&lt;BR /&gt;
============================================================&lt;BR /&gt;
4299 40 20 27 37 25 32 26 24 22 28 17 33 27.58&lt;BR /&gt;
4264 30 30 36 15 17 27 27 30 25 27 14 24 25.17&lt;BR /&gt;
4246 19 24 40 18 32 18 20 19 24 16 14 25 22.42&lt;BR /&gt;
4281 16 18 31 23 17 24 27 20 19 26 13 27 21.75&lt;BR /&gt;
41786 21 43 33 21 20 21 26 21 11 11 13 14 21.25&lt;BR /&gt;
4080 16 19 21 16 13 23 13 18 21 17 27 20 18.67&lt;BR /&gt;
4262 17 14 23 16 30 22 20 18 26 11 9 10 18.00&lt;BR /&gt;
1789 19 19 14 10 21 19 24 17 18 24 9 14 17.33&lt;BR /&gt;
4315 20 11 28 17 18 19 11 22 17 25 5 11 17.00&lt;BR /&gt;
4297 16 11 17 15 14 14 15 16 28 12 6 26 15.83&lt;BR /&gt;
4279 17 15 16 11 14 14 8 15 14 15 8 8 12.92&lt;BR /&gt;
4042 15 6 8 6 3 9 13 19 8 3 5 10 8.75&lt;BR /&gt;
41787 4 4 9 9 3 8 8 19 16 8 10 7 8.75&lt;BR /&gt;
2377 10 6 11 4 13 11 4 8 9 4 4 7 7.58&lt;BR /&gt;
4241 6 5 9 5 7 7 6 12 6 7 3 4 6.42&lt;BR /&gt;
============================================================&lt;BR /&gt;
&lt;BR /&gt;
Hello Friends&lt;BR /&gt;
&lt;BR /&gt;
I want to conditionally highlight the cell.&lt;BR /&gt;
In col(ANUM) is number for asset and values in MONTH(Jan,Feb....DEC) column are No. of Failures&lt;BR /&gt;
with respective to month and TOTAL_FAIL in mean on all month.&lt;BR /&gt;
&lt;BR /&gt;
I want to highlight the values whose values are greater then TOTAL_FAIL With respect to ANUM col as Red or some other color.&lt;BR /&gt;
&lt;BR /&gt;
ex:-in 1st row i want to highlight the values 40,37,32,28,33&lt;BR /&gt;
in 2nd col i want to highlight the values 30,30,30,27,27,27&lt;BR /&gt;
&lt;BR /&gt;
------------------------------------------------------------------------------------&lt;BR /&gt;
/* Code goes here but , i m not getting actual output */&lt;BR /&gt;
-------------------------------------------------------------------------------&lt;BR /&gt;
I 'll be very thankful for you suggestion&lt;BR /&gt;
ODS HTML FILE='TEMP.HTML';&lt;BR /&gt;
goption reset=all ctext=black ftext="verdana/bold" htext=1 ;&lt;BR /&gt;
title1 color=cx003366 justify=left j=c font=verdana bold height=3 "C CHART for # Failures for Asset by Month";;&lt;BR /&gt;
title2 color=darkblue font=verdana justify=c height=1 justify=RIGHT font=verdana bold italic "Run Date: %sysfunc(date(),mmddyy.)";&lt;BR /&gt;
title3 j=left '____________________________________________________________________________';&lt;BR /&gt;
title4 color=black font=verdana bold j=left height=2&lt;BR /&gt;
'Description :' FONT=VERDANA ' Control charts, also known as Shewhart charts, in statistical process control are tools used to determine whether a&lt;BR /&gt;
manufacturing or business process is in a state of statistical control or not. In this report C-chart is used to monitor number of failures for an' ;&lt;BR /&gt;
title5 color=black font=verdana j=left height=1 ' Assumption : 1) The inspection procedure is same for each sample and is carried out consistently from sample to sample.';&lt;BR /&gt;
title6 color=black font=verdana j=left height=1' 2) Number of failures follows Poisson distribution';&lt;BR /&gt;
title7 j=left '____________________________________________________________________________';&lt;BR /&gt;
symbol v = dot color = GREEN ;&lt;BR /&gt;
goptions cback=white vsize=5.0 hsize=8 ftext=verdana xpixels=600 ypixels=300;&lt;BR /&gt;
&lt;BR /&gt;
option font="verdana" ;&lt;BR /&gt;
&lt;BR /&gt;
axis1 value=(height=0.6 color=DARKBLUE font="verdana/bold") label=(height=1 color=ORANGE font="verdana/bold" 'Month');;&lt;BR /&gt;
axis2 value=(height=0.6 color=DARKBLUE font="verdana/bold") label=(height=1 angle=90 color=ORANGE font="verdana/bold");&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc report data=_demo4 nowd split='/'&lt;BR /&gt;
style(report)={font_face= ' verdana ' font_size=2 bordercolor=white}&lt;BR /&gt;
style(Header)=[ background=cx003366 foreground =white bordercolor=darkblue FONT_FACE='verdana' FONT_SIZE=2.5 FONT_WEIGHT=Bold CELLSPACING=1 ]&lt;BR /&gt;
style (column)={just=center font_face='verdana' FONT_WEIGHT=Bold bordercolor=white background=white font_size= 2 };&lt;BR /&gt;
column ORGID SITEID LOCATION ASSETNUM DESCRIPTION JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC ;&lt;BR /&gt;
define JAN/display "JAN";&lt;BR /&gt;
define FEB/display "FEB";&lt;BR /&gt;
define MAR/display "MAR";&lt;BR /&gt;
define APR/display "APR";&lt;BR /&gt;
define MAY/display "MAY";&lt;BR /&gt;
&lt;BR /&gt;
compute JAN ;&lt;BR /&gt;
if JAN OR FEB OR MAR OR APR GE TOTAL_FAILURES then do;&lt;BR /&gt;
call define(_COL_,'STYLE','STYLE=[foreground=red]');&lt;BR /&gt;
end;&lt;BR /&gt;
else&lt;BR /&gt;
call define(_COL_,'STYLE','STYLE=[foreground=black]');&lt;BR /&gt;
&lt;BR /&gt;
endcomp;&lt;BR /&gt;
run;&lt;BR /&gt;
ODS HTML CLOSE;</description>
    <pubDate>Sat, 22 Jan 2011 10:30:05 GMT</pubDate>
    <dc:creator>sss</dc:creator>
    <dc:date>2011-01-22T10:30:05Z</dc:date>
    <item>
      <title>Do Conditional Highlighting - ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59046#M7066</link>
      <description>I'm trying to do some conditional formatting with ODS HTML.  I found this proc template code to do conditional formatting, but I'm not sure if this is what I can use to accomplish what I need to do.  I have a list of data that lists out names of projects by users.  I just want to highlight the first project of each user.  Here is the conditional formatting code. (It creates a checkerboard effect)&lt;BR /&gt;
&lt;BR /&gt;
Proc template;&lt;BR /&gt;
 define tagset tagsets.format;&lt;BR /&gt;
  Parent=tagsets.htmlcss;&lt;BR /&gt;
   define event doc;&lt;BR /&gt;
    start:&lt;BR /&gt;
     put '' NL;&lt;BR /&gt;
    finish:&lt;BR /&gt;
     put "" NL;&lt;BR /&gt;
    end;&lt;BR /&gt;
   define event doc_head;&lt;BR /&gt;
    start:&lt;BR /&gt;
     put "" NL;&lt;BR /&gt;
     put VALUE NL;&lt;BR /&gt;
    finish:&lt;BR /&gt;
     put "&lt;XML&gt;" NL;&lt;BR /&gt;
     put   " &lt;CONDITIONALFORMATTING&gt;" NL;&lt;BR /&gt;
     put   "  &lt;RANGE&gt;$A1:$F20&lt;/RANGE&gt;" NL;&lt;BR /&gt;
     put   "    &lt;CONDITION&gt;" NL;&lt;BR /&gt;
     put   "      &lt;VALUE1&gt;=mod(row(),3)=MOD(COLUMN(),3)&lt;/VALUE1&gt;" NL;&lt;BR /&gt;
     put   "      &lt;FORMAT style="background:#ffffff"&gt;&lt;/FORMAT&gt;" NL;&lt;BR /&gt;
     put   "    &lt;/CONDITION&gt;" NL;&lt;BR /&gt;
     put   "    &lt;CONDITION&gt;" NL;&lt;BR /&gt;
     put   "      &lt;VALUE1&gt;=MOD(ROW(),4)=0&lt;/VALUE1&gt;" NL;&lt;BR /&gt;
     put   "      &lt;FORMAT style="background:#33CCCC"&gt;&lt;/FORMAT&gt;" NL;&lt;BR /&gt;
     put   "    &lt;/CONDITION&gt;" NL;&lt;BR /&gt;
     put   "&lt;/CONDITIONALFORMATTING&gt;" NL;&lt;BR /&gt;
     put   "&lt;/XML&gt;" NL;&lt;BR /&gt;
     put "" NL;&lt;BR /&gt;
   end;&lt;BR /&gt;
  end;&lt;BR /&gt;
 run;&lt;BR /&gt;
&lt;BR /&gt;
I've also found where you can run a PROC REPORT and do a BREAK to create a line and summarizes the data, but I do not want this.  &lt;BR /&gt;
&lt;BR /&gt;
Any input and help with this would be appreciated.</description>
      <pubDate>Wed, 05 Jan 2011 15:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59046#M7066</guid>
      <dc:creator>LAtwood</dc:creator>
      <dc:date>2011-01-05T15:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Do Conditional Highlighting - ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59047#M7067</link>
      <description>Hi:&lt;BR /&gt;
  Personally, I think PROC REPORT is probably easier than going the template route. I have the following example that uses some fake flight data -- it shows 3 different types of highlighting using PROC REPORT (alternate "greenbar", highlighting based on a condition in one column and highlighting the first flight number for a destination (also conditional highlighting). &lt;BR /&gt;
 &lt;BR /&gt;
  When I use ODS MSOFFICE2K and open the resulting HTML file with Excel, the conditional highlighting is respected.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
&lt;BR /&gt;
** Step 1: Proc Report Greenbar;&lt;BR /&gt;
** Create alternating colors by using a temporary;&lt;BR /&gt;
** variable and a CALL DEFINE.;&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
** First, make some data;&lt;BR /&gt;
data weekdata;&lt;BR /&gt;
  infile datalines dlm = ',' pad;&lt;BR /&gt;
  input FlightNumber Date : date9.&lt;BR /&gt;
        Origin $ Destination $&lt;BR /&gt;
        Mail Freight Boarded;&lt;BR /&gt;
  format Date mmddyy10.;&lt;BR /&gt;
return;&lt;BR /&gt;
datalines;&lt;BR /&gt;
387,03MAR2002,LGA,CPH,465,421,138&lt;BR /&gt;
387,04MAR2002,LGA,CPH,395,217, 81&lt;BR /&gt;
387,05MAR2002,LGA,CPH,393,304,142&lt;BR /&gt;
387,07MAR2002,LGA,CPH,546,204,131&lt;BR /&gt;
387,08MAR2002,LGA,CPH,415,367,150&lt;BR /&gt;
387,09MAR2002,LGA,CPH,363,297,128&lt;BR /&gt;
389,03MAR2002,LGA,CPH,462,323,138&lt;BR /&gt;
389,04MAR2002,LGA,CPH,293,244,122&lt;BR /&gt;
389,05MAR2002,LGA,CPH,324,345,242&lt;BR /&gt;
389,07MAR2002,LGA,CPH,247,406,121&lt;BR /&gt;
389,08MAR2002,LGA,CPH,321,348,130&lt;BR /&gt;
389,09MAR2002,LGA,CPH,333,499,124&lt;BR /&gt;
182,03MAR2002,LGA,YYZ,311,278,137&lt;BR /&gt;
182,04MAR2002,LGA,YYZ,327,160,160&lt;BR /&gt;
182,05MAR2002,LGA,YYZ,461,317,125&lt;BR /&gt;
182,06MAR2002,LGA,YYZ,443,360,122&lt;BR /&gt;
182,07MAR2002,LGA,YYZ,388,569,155&lt;BR /&gt;
182,08MAR2002,LGA,YYZ,343,387,164&lt;BR /&gt;
182,09MAR2002,LGA,YYZ,477,192,140&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
                                                  &lt;BR /&gt;
ods msoffice2k file='c:\temp\rep_altbar1.xls' style=sasweb;&lt;BR /&gt;
proc report data=work.weekdata nowd&lt;BR /&gt;
             style(summary)={font_weight=bold};&lt;BR /&gt;
  title '1 Highlight Every Other Row';&lt;BR /&gt;
  column destination date flightnumber freight;&lt;BR /&gt;
  define destination / group;&lt;BR /&gt;
  define date / order;&lt;BR /&gt;
  define flightnumber / order;&lt;BR /&gt;
  define freight / sum;&lt;BR /&gt;
  break after destination / summarize;&lt;BR /&gt;
  compute destination;&lt;BR /&gt;
    tempvar + 1;&lt;BR /&gt;
  	if mod(tempvar,2) gt 0 then&lt;BR /&gt;
	   call define(_ROW_,'STYLE','style={background=#99ffcc}');&lt;BR /&gt;
  endcomp;&lt;BR /&gt;
  run;&lt;BR /&gt;
ods msoffice2k close;&lt;BR /&gt;
title;&lt;BR /&gt;
                         &lt;BR /&gt;
** Step 2: Alternate Proc Report Method;&lt;BR /&gt;
** Set background of whole row based on value of freight.;&lt;BR /&gt;
ods msoffice2k file='c:\temp\rep_hilite2.xls' style=sasweb;&lt;BR /&gt;
proc report data=work.weekdata nowd&lt;BR /&gt;
             style(lines)=Header&lt;BR /&gt;
             style(summary)={font_weight=bold};&lt;BR /&gt;
  title '2 Highlight the Whole Row if';&lt;BR /&gt;
  title2 'Freight is GE 300 and LE 500';&lt;BR /&gt;
  column destination date flightnumber freight;&lt;BR /&gt;
  define destination / group;&lt;BR /&gt;
  define date / order;&lt;BR /&gt;
  define flightnumber / order;&lt;BR /&gt;
  define freight / sum;&lt;BR /&gt;
  break after destination / summarize;&lt;BR /&gt;
  compute freight;&lt;BR /&gt;
  	if freight.sum ge 300 and freight.sum le 500 then&lt;BR /&gt;
	   call define(_ROW_,'STYLE','style={background=pink}');&lt;BR /&gt;
  endcomp;&lt;BR /&gt;
  compute after destination;&lt;BR /&gt;
    line ' ';&lt;BR /&gt;
  endcomp;&lt;BR /&gt;
  run;&lt;BR /&gt;
ods msoffice2k close;&lt;BR /&gt;
title;&lt;BR /&gt;
                           &lt;BR /&gt;
** Step 3: Highlight the first flight for each destination;&lt;BR /&gt;
ods msoffice2k file='c:\temp\rep_hilite_onerow3.xls' style=sasweb;&lt;BR /&gt;
proc report data=work.weekdata nowd&lt;BR /&gt;
             style(lines)=Header&lt;BR /&gt;
             style(summary)={font_weight=bold};&lt;BR /&gt;
  title '3 Highlight the Whole Row if it is the first flightnumber';&lt;BR /&gt;
  column destination flightnumber  date freight;&lt;BR /&gt;
  define destination / group;&lt;BR /&gt;
  define flightnumber / order;&lt;BR /&gt;
  define date / order;&lt;BR /&gt;
  define freight / sum;&lt;BR /&gt;
  break after destination / summarize;&lt;BR /&gt;
  ** if flightnumber is an ORDER variable, it will be blank on every row;&lt;BR /&gt;
  ** except the first row;&lt;BR /&gt;
  compute flightnumber;&lt;BR /&gt;
  	if flightnumber gt ' ' then&lt;BR /&gt;
	   call define(_ROW_,'STYLE','style={background=pink}');&lt;BR /&gt;
  endcomp;&lt;BR /&gt;
  compute after destination;&lt;BR /&gt;
    line ' ';&lt;BR /&gt;
  endcomp;&lt;BR /&gt;
  run;&lt;BR /&gt;
ods msoffice2k close;&lt;BR /&gt;
ods listing;&lt;BR /&gt;
title;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 05 Jan 2011 16:46:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59047#M7067</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-05T16:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Do Conditional Highlighting - ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59048#M7068</link>
      <description>Thanks Cynthia&lt;BR /&gt;
&lt;BR /&gt;
Let me ask you this.  Is there a way to hide the summary row?  I just want the report to display the data, no summaries, but still want it to do the breaks.</description>
      <pubDate>Thu, 06 Jan 2011 18:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59048#M7068</guid>
      <dc:creator>LAtwood</dc:creator>
      <dc:date>2011-01-06T18:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Do Conditional Highlighting - ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59049#M7069</link>
      <description>Hi:&lt;BR /&gt;
  Yes, remove the option "summarize" from the BREAK statement:&lt;BR /&gt;
[pre]&lt;BR /&gt;
  break after destination / ;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
         &lt;BR /&gt;
  And, decide whether or not you want the blank line from the LINE statement in the COMPUTE/ENDCOMP block.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 06 Jan 2011 18:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59049#M7069</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-06T18:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Do Conditional Highlighting - ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59050#M7070</link>
      <description>Set them missing value &lt;BR /&gt;
Or using $varying. format.&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 07 Jan 2011 01:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59050#M7070</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-01-07T01:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Do Conditional Highlighting - ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59051#M7071</link>
      <description>hiiii&lt;BR /&gt;
&lt;BR /&gt;
i need help in this senario&lt;BR /&gt;
&lt;BR /&gt;
============================================================&lt;BR /&gt;
ANUM JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC TOTAL_FAIL&lt;BR /&gt;
============================================================&lt;BR /&gt;
4299 40 20 27 37 25 32 26 24 22 28 17 33 27.58&lt;BR /&gt;
4264 30 30 36 15 17 27 27 30 25 27 14 24 25.17&lt;BR /&gt;
4246 19 24 40 18 32 18 20 19 24 16 14 25 22.42&lt;BR /&gt;
4281 16 18 31 23 17 24 27 20 19 26 13 27 21.75&lt;BR /&gt;
41786 21 43 33 21 20 21 26 21 11 11 13 14 21.25&lt;BR /&gt;
4080 16 19 21 16 13 23 13 18 21 17 27 20 18.67&lt;BR /&gt;
4262 17 14 23 16 30 22 20 18 26 11 9 10 18.00&lt;BR /&gt;
1789 19 19 14 10 21 19 24 17 18 24 9 14 17.33&lt;BR /&gt;
4315 20 11 28 17 18 19 11 22 17 25 5 11 17.00&lt;BR /&gt;
4297 16 11 17 15 14 14 15 16 28 12 6 26 15.83&lt;BR /&gt;
4279 17 15 16 11 14 14 8 15 14 15 8 8 12.92&lt;BR /&gt;
4042 15 6 8 6 3 9 13 19 8 3 5 10 8.75&lt;BR /&gt;
41787 4 4 9 9 3 8 8 19 16 8 10 7 8.75&lt;BR /&gt;
2377 10 6 11 4 13 11 4 8 9 4 4 7 7.58&lt;BR /&gt;
4241 6 5 9 5 7 7 6 12 6 7 3 4 6.42&lt;BR /&gt;
============================================================&lt;BR /&gt;
&lt;BR /&gt;
Hello Friends&lt;BR /&gt;
&lt;BR /&gt;
I want to conditionally highlight the cell.&lt;BR /&gt;
In col(ANUM) is number for asset and values in MONTH(Jan,Feb....DEC) column are No. of Failures&lt;BR /&gt;
with respective to month and TOTAL_FAIL in mean on all month.&lt;BR /&gt;
&lt;BR /&gt;
I want to highlight the values whose values are greater then TOTAL_FAIL With respect to ANUM col as Red or some other color.&lt;BR /&gt;
&lt;BR /&gt;
ex:-in 1st row i want to highlight the values 40,37,32,28,33&lt;BR /&gt;
in 2nd col i want to highlight the values 30,30,30,27,27,27&lt;BR /&gt;
&lt;BR /&gt;
------------------------------------------------------------------------------------&lt;BR /&gt;
/* Code goes here but , i m not getting actual output */&lt;BR /&gt;
-------------------------------------------------------------------------------&lt;BR /&gt;
I 'll be very thankful for you suggestion&lt;BR /&gt;
ODS HTML FILE='TEMP.HTML';&lt;BR /&gt;
goption reset=all ctext=black ftext="verdana/bold" htext=1 ;&lt;BR /&gt;
title1 color=cx003366 justify=left j=c font=verdana bold height=3 "C CHART for # Failures for Asset by Month";;&lt;BR /&gt;
title2 color=darkblue font=verdana justify=c height=1 justify=RIGHT font=verdana bold italic "Run Date: %sysfunc(date(),mmddyy.)";&lt;BR /&gt;
title3 j=left '____________________________________________________________________________';&lt;BR /&gt;
title4 color=black font=verdana bold j=left height=2&lt;BR /&gt;
'Description :' FONT=VERDANA ' Control charts, also known as Shewhart charts, in statistical process control are tools used to determine whether a&lt;BR /&gt;
manufacturing or business process is in a state of statistical control or not. In this report C-chart is used to monitor number of failures for an' ;&lt;BR /&gt;
title5 color=black font=verdana j=left height=1 ' Assumption : 1) The inspection procedure is same for each sample and is carried out consistently from sample to sample.';&lt;BR /&gt;
title6 color=black font=verdana j=left height=1' 2) Number of failures follows Poisson distribution';&lt;BR /&gt;
title7 j=left '____________________________________________________________________________';&lt;BR /&gt;
symbol v = dot color = GREEN ;&lt;BR /&gt;
goptions cback=white vsize=5.0 hsize=8 ftext=verdana xpixels=600 ypixels=300;&lt;BR /&gt;
&lt;BR /&gt;
option font="verdana" ;&lt;BR /&gt;
&lt;BR /&gt;
axis1 value=(height=0.6 color=DARKBLUE font="verdana/bold") label=(height=1 color=ORANGE font="verdana/bold" 'Month');;&lt;BR /&gt;
axis2 value=(height=0.6 color=DARKBLUE font="verdana/bold") label=(height=1 angle=90 color=ORANGE font="verdana/bold");&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc report data=_demo4 nowd split='/'&lt;BR /&gt;
style(report)={font_face= ' verdana ' font_size=2 bordercolor=white}&lt;BR /&gt;
style(Header)=[ background=cx003366 foreground =white bordercolor=darkblue FONT_FACE='verdana' FONT_SIZE=2.5 FONT_WEIGHT=Bold CELLSPACING=1 ]&lt;BR /&gt;
style (column)={just=center font_face='verdana' FONT_WEIGHT=Bold bordercolor=white background=white font_size= 2 };&lt;BR /&gt;
column ORGID SITEID LOCATION ASSETNUM DESCRIPTION JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC ;&lt;BR /&gt;
define JAN/display "JAN";&lt;BR /&gt;
define FEB/display "FEB";&lt;BR /&gt;
define MAR/display "MAR";&lt;BR /&gt;
define APR/display "APR";&lt;BR /&gt;
define MAY/display "MAY";&lt;BR /&gt;
&lt;BR /&gt;
compute JAN ;&lt;BR /&gt;
if JAN OR FEB OR MAR OR APR GE TOTAL_FAILURES then do;&lt;BR /&gt;
call define(_COL_,'STYLE','STYLE=[foreground=red]');&lt;BR /&gt;
end;&lt;BR /&gt;
else&lt;BR /&gt;
call define(_COL_,'STYLE','STYLE=[foreground=black]');&lt;BR /&gt;
&lt;BR /&gt;
endcomp;&lt;BR /&gt;
run;&lt;BR /&gt;
ODS HTML CLOSE;</description>
      <pubDate>Sat, 22 Jan 2011 10:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59051#M7071</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-01-22T10:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Do Conditional Highlighting - ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59052#M7072</link>
      <description>You have not answered the questions I asked in this post, nor addressed the issues that I pointed out here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12619&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12619&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Also, there is no need to make the same posting multiple times. It only makes your posting(s) hard to follow:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12444&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12444&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12624&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12624&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=12620&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=12620&amp;amp;tstart=0&lt;/A&gt;</description>
      <pubDate>Sat, 22 Jan 2011 11:45:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Do-Conditional-Highlighting-ODS-HTML/m-p/59052#M7072</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-22T11:45:37Z</dc:date>
    </item>
  </channel>
</rss>

