<?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 pdf proc report compute block in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-proc-report-compute-block/m-p/52434#M6597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because in your column statement , per_osha11 is before per_osha10, but proc report calculated from left to right.So you need use &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;compute per_osha10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to tell sas what the per_osha10'value is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2011 09:07:44 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2011-08-29T09:07:44Z</dc:date>
    <item>
      <title>ods pdf proc report compute block</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-proc-report-compute-block/m-p/52432#M6595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The image does not appear when I use this line of code in my compute block&lt;BR /&gt;"if per_osha11.sum&amp;lt;per_osha10.sum".&lt;BR /&gt;However, if I change this line of my compute block to &lt;BR /&gt;"if per_osha11.sum&amp;lt;20" &lt;BR /&gt;the image shows up.&lt;BR /&gt;I'm using ods pdf to output this table.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=task_tot5 nowd contents="Claims" out=test&lt;BR /&gt;style(header)=[font_weight=bold background=CX90D9D7];&lt;BR /&gt;options missing='0';&lt;BR /&gt;column task1 tot_osha11 per_osha11 tot_osha10 per_osha10 ;&lt;BR /&gt;define task1 / 'Task';&lt;BR /&gt;define tot_osha11 / analysis "Total 2011 YTD" style(column)={cellwidth=1in};&lt;BR /&gt;define per_osha11 / analysis "% of 2011 YTD Total" style(column)={cellwidth=1.1in}; &lt;BR /&gt;define tot_osha10 / analysis "Total 2010" style(column)={background=CXECEDEC cellwidth=1in};&lt;BR /&gt;define per_osha10 / analysis "% of 2010 Total" style(column)={background=CXECEDEC cellwidth=1.1in};&lt;BR /&gt;rbreak after / summarize;&lt;BR /&gt;compute per_osha11;&lt;BR /&gt;&amp;nbsp; if task1 notin ("other*") then do;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if per_osha11.sum&amp;lt;per_osha10.sum then &lt;BR /&gt;&amp;nbsp;&amp;nbsp; call define (_col_,'style','style=[preimage="C:\GreenArrowDown.gif"]');&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp; if _break_="_RBREAK_" then per_osha11.sum=100;&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 19:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-proc-report-compute-block/m-p/52432#M6595</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2011-08-22T19:19:52Z</dc:date>
    </item>
    <item>
      <title>ods pdf proc report compute block</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-proc-report-compute-block/m-p/52433#M6596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess would be that the two ten variables would have to come before the two 11 variables.&amp;nbsp; It would help if you could post all of the code and a sample dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 21:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-proc-report-compute-block/m-p/52433#M6596</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-22T21:49:39Z</dc:date>
    </item>
    <item>
      <title>ods pdf proc report compute block</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-proc-report-compute-block/m-p/52434#M6597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because in your column statement , per_osha11 is before per_osha10, but proc report calculated from left to right.So you need use &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;compute per_osha10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to tell sas what the per_osha10'value is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-proc-report-compute-block/m-p/52434#M6597</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-08-29T09:07:44Z</dc:date>
    </item>
  </channel>
</rss>

