<?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 proc report- color rows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-report-color-rows/m-p/879180#M347346</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to color Female rows.&lt;/P&gt;
&lt;P&gt;I don't want to display column "SEX"&amp;nbsp; in proc report.&lt;/P&gt;
&lt;P&gt;If I type&amp;nbsp;&amp;nbsp;&lt;CODE class=" language-sas"&gt;define sex / noprint;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;then&amp;nbsp;the&amp;nbsp;rows&amp;nbsp;are&amp;nbsp;not&amp;nbsp;colored&amp;nbsp;.&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;What&amp;nbsp;is&amp;nbsp;the&amp;nbsp;way&amp;nbsp;to&amp;nbsp;do&amp;nbsp;it&amp;nbsp;please?&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd;
	title 'Conditional Row Highlighting';
	column name sex age height;
	define name / order;
	define sex / display;
	define age /display;
	define height /display;
	compute sex;
		if sex = 'F' then
			do;
				call define(_ROW_,'style','style={background=red font_weight=bold}');
			end;
	endcomp;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 04 Jun 2023 09:57:53 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2023-06-04T09:57:53Z</dc:date>
    <item>
      <title>proc report- color rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-color-rows/m-p/879180#M347346</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to color Female rows.&lt;/P&gt;
&lt;P&gt;I don't want to display column "SEX"&amp;nbsp; in proc report.&lt;/P&gt;
&lt;P&gt;If I type&amp;nbsp;&amp;nbsp;&lt;CODE class=" language-sas"&gt;define sex / noprint;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;then&amp;nbsp;the&amp;nbsp;rows&amp;nbsp;are&amp;nbsp;not&amp;nbsp;colored&amp;nbsp;.&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;What&amp;nbsp;is&amp;nbsp;the&amp;nbsp;way&amp;nbsp;to&amp;nbsp;do&amp;nbsp;it&amp;nbsp;please?&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd;
	title 'Conditional Row Highlighting';
	column name sex age height;
	define name / order;
	define sex / display;
	define age /display;
	define height /display;
	compute sex;
		if sex = 'F' then
			do;
				call define(_ROW_,'style','style={background=red font_weight=bold}');
			end;
	endcomp;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 Jun 2023 09:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-color-rows/m-p/879180#M347346</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-06-04T09:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc report- color rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-color-rows/m-p/879181#M347347</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	define sex / display noprint;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 Jun 2023 10:04:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-color-rows/m-p/879181#M347347</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-04T10:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc report- color rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-color-rows/m-p/879234#M347357</link>
      <description>&lt;P&gt;I tested the statment "define sex / noprint;" and didn't get any problem .&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="Ksharp_0-1685964961440.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84737iFA56FA6B2C99B205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1685964961440.png" alt="Ksharp_0-1685964961440.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 11:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-color-rows/m-p/879234#M347357</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-05T11:35:58Z</dc:date>
    </item>
  </channel>
</rss>

