<?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 ODS Proc Report - Compute not working to conditionally format cells in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Proc-Report-Compute-not-working-to-conditionally-format/m-p/98913#M3682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SAS 9.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sucessfull in getting &lt;STRONG&gt;all values &lt;/STRONG&gt;in a column to conditionally format.&amp;nbsp; Now I only want Female valued columns (not Males) to be highlighted.&amp;nbsp; No matter what I try, both male and females are highlighted.&amp;nbsp; Here is my latest attempt with the my SAS code and report sample!&amp;nbsp; Notice that I conditionally format cells using a a couple of proc formats!&amp;nbsp; (Plus I have changed the names of variables, etc for confidentiality)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linda &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2012 23:43:55 GMT</pubDate>
    <dc:creator>LindaH1120</dc:creator>
    <dc:date>2012-04-30T23:43:55Z</dc:date>
    <item>
      <title>ODS Proc Report - Compute not working to conditionally format cells</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Proc-Report-Compute-not-working-to-conditionally-format/m-p/98913#M3682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SAS 9.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sucessfull in getting &lt;STRONG&gt;all values &lt;/STRONG&gt;in a column to conditionally format.&amp;nbsp; Now I only want Female valued columns (not Males) to be highlighted.&amp;nbsp; No matter what I try, both male and females are highlighted.&amp;nbsp; Here is my latest attempt with the my SAS code and report sample!&amp;nbsp; Notice that I conditionally format cells using a a couple of proc formats!&amp;nbsp; (Plus I have changed the names of variables, etc for confidentiality)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linda &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 23:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Proc-Report-Compute-not-working-to-conditionally-format/m-p/98913#M3682</guid>
      <dc:creator>LindaH1120</dc:creator>
      <dc:date>2012-04-30T23:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Proc Report - Compute not working to conditionally format cells</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Proc-Report-Compute-not-working-to-conditionally-format/m-p/98914#M3683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Items under an ACROSS variable need to be referenced with absolute column names. I've posted a couple of examples of tis in previous forum postings:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/50996#50996"&gt;https://communities.sas.com/message/50996#50996&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/112134#112134"&gt;https://communities.sas.com/message/112134#112134&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/49987#49987"&gt;https://communities.sas.com/message/49987#49987&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/28822#28822"&gt;https://communities.sas.com/message/28822#28822&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/message/20444#20444"&gt;https://communities.sas.com/message/20444#20444&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There seem to be a few glitches in some of the postings. The absolute column numbers are referenced as _c2_, _c3_ (underscore,c#,underscore)....but the forum mechanism seems to show them as &lt;SPAN style="text-decoration: underline;"&gt;C2&lt;/SPAN&gt; and &lt;SPAN style="text-decoration: underline;"&gt;C3&lt;/SPAN&gt; (which is incorrect). For a user group paper that discusses absolute column numbers, refer to this paper (starting on page 12-13):&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/rnd/papers/sgf07/sgf2007-report.pdf" title="http://support.sas.com/rnd/papers/sgf07/sgf2007-report.pdf"&gt;http://support.sas.com/rnd/papers/sgf07/sgf2007-report.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to work with Tech Support on the use of multi-label formats in a style override. As far as I know, you MUST specify the MLF option on your DEFINE statement to use a multi-label format in PROC REPORT. Since the STYLE override doesn't have a place of way to specify MLF, I'm not even sure that the conditional highlighting will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I see several problems with your code. As for adjusting the size of your PROC REPORT output, depending on your version of SAS, you would use either OUTPUTWIDTH= or WIDTH= to specify a size for the REPORT piece of your output.&lt;/P&gt;&lt;P&gt;SAS 9.1.3:&lt;/P&gt;&lt;P&gt;proc report data=... style(report)={outputwidth=6in};&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;SAS 9.2/9.3:&lt;/P&gt;&lt;P&gt;proc report data=... style(report)={width=6in};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUTWIDTH should actually work for any version of SAS, I wanted to show both possibilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 01:27:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Proc-Report-Compute-not-working-to-conditionally-format/m-p/98914#M3683</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-05-01T01:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Proc Report - Compute not working to conditionally format cells</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Proc-Report-Compute-not-working-to-conditionally-format/m-p/98915#M3684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Cynthia, width = 6in does work!&amp;nbsp; Thanks so much! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 19:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Proc-Report-Compute-not-working-to-conditionally-format/m-p/98915#M3684</guid>
      <dc:creator>LindaH1120</dc:creator>
      <dc:date>2012-05-01T19:06:36Z</dc:date>
    </item>
  </channel>
</rss>

