<?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 -Help in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Help/m-p/443711#M111031</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I want to &amp;nbsp;add&amp;nbsp;&lt;SPAN&gt;background lightgrey color to &amp;nbsp;only to 2 rows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Total &amp;nbsp; &amp;nbsp;. &amp;nbsp; 66 &amp;nbsp; &amp;nbsp;20&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;a1 &amp;nbsp; Total &amp;nbsp; &amp;nbsp;60 &amp;nbsp;30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want also that two titles "groupCategory" &amp;nbsp; &amp;nbsp;and "Information" &amp;nbsp;will in red color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want &amp;nbsp;also that column&amp;nbsp;z1 will be bold&lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data tbl;&lt;BR /&gt;Input Z1 $ Z2 $ X Y;&lt;BR /&gt;Cards;&lt;BR /&gt;a1 b1 10 5&lt;BR /&gt;a1 b2 20 10&lt;BR /&gt;a1 b3 30 15&lt;BR /&gt;a1 Total 60 30&lt;BR /&gt;a2 b1 1 2&lt;BR /&gt;a2 b2 2 4&lt;BR /&gt;a3 b3 3 6&lt;BR /&gt;a3 Total 6 8&lt;BR /&gt;Total . 66 20&lt;BR /&gt;;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;PROC REPORT DATA=tbl nowd SPANROWS&lt;BR /&gt;style(header)={background=white};&lt;BR /&gt;Column ("groupCategory" z1 z2 )&lt;BR /&gt;("Information" X Y );&lt;BR /&gt;DEFINE z1 /Display 'Department' style(header)={background=lightblue};&lt;BR /&gt;DEFINE z2 /Display 'Team' style(header)={background=lightblue};&lt;BR /&gt;DEFINE x /Display "לקוחות" style(header)={background=lightblue};&lt;BR /&gt;DEFINE y /Display "אובליגו " style(header)={background=lightblue};&lt;BR /&gt;Run;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 11:40:39 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2018-03-08T11:40:39Z</dc:date>
    <item>
      <title>Proc report -Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Help/m-p/443711#M111031</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I want to &amp;nbsp;add&amp;nbsp;&lt;SPAN&gt;background lightgrey color to &amp;nbsp;only to 2 rows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Total &amp;nbsp; &amp;nbsp;. &amp;nbsp; 66 &amp;nbsp; &amp;nbsp;20&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;a1 &amp;nbsp; Total &amp;nbsp; &amp;nbsp;60 &amp;nbsp;30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want also that two titles "groupCategory" &amp;nbsp; &amp;nbsp;and "Information" &amp;nbsp;will in red color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want &amp;nbsp;also that column&amp;nbsp;z1 will be bold&lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data tbl;&lt;BR /&gt;Input Z1 $ Z2 $ X Y;&lt;BR /&gt;Cards;&lt;BR /&gt;a1 b1 10 5&lt;BR /&gt;a1 b2 20 10&lt;BR /&gt;a1 b3 30 15&lt;BR /&gt;a1 Total 60 30&lt;BR /&gt;a2 b1 1 2&lt;BR /&gt;a2 b2 2 4&lt;BR /&gt;a3 b3 3 6&lt;BR /&gt;a3 Total 6 8&lt;BR /&gt;Total . 66 20&lt;BR /&gt;;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;PROC REPORT DATA=tbl nowd SPANROWS&lt;BR /&gt;style(header)={background=white};&lt;BR /&gt;Column ("groupCategory" z1 z2 )&lt;BR /&gt;("Information" X Y );&lt;BR /&gt;DEFINE z1 /Display 'Department' style(header)={background=lightblue};&lt;BR /&gt;DEFINE z2 /Display 'Team' style(header)={background=lightblue};&lt;BR /&gt;DEFINE x /Display "לקוחות" style(header)={background=lightblue};&lt;BR /&gt;DEFINE y /Display "אובליגו " style(header)={background=lightblue};&lt;BR /&gt;Run;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:40:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Help/m-p/443711#M111031</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-03-08T11:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report -Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Help/m-p/443717#M111032</link>
      <description>&lt;P&gt;For the groupcategory and information you would likely need to use inline styles, this is escape character styles, something like:&lt;/P&gt;
&lt;PRE&gt;ods escapechar="^";
...
proc report...
  column ("^s={background=red}groupCategory" z1 z2)...;
...
run;
&lt;/PRE&gt;
&lt;P&gt;For the total you would use a compute/endomp block and call define the right style, here is a paper on it with examples:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/stylesinprocs.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/stylesinprocs.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 12:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Help/m-p/443717#M111032</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-03-08T12:01:45Z</dc:date>
    </item>
  </channel>
</rss>

