<?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: Proc tabulate: overlapping styles at line and row crossing in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747738#M234746</link>
    <description>&lt;P&gt;This does not work on 9.4M2. Does it work for you?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 10:47:52 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2021-06-14T10:47:52Z</dc:date>
    <item>
      <title>tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747689#M234730</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How can I get the height total in green bold?&lt;/P&gt;
&lt;P&gt;I think I used to know that, but no longer...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=SASHELP.CLASS;
  class AGE ;
  var WEIGHT  HEIGHT  ;
  table AGE all*[s=[color=green]], WEIGHT*sum HEIGHT*sum*[s=[font_weight=bold]];
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisNZ_0-1623650946491.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60319i4EEAF757591AFBA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisNZ_0-1623650946491.png" alt="ChrisNZ_0-1623650946491.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 05:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747689#M234730</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-15T05:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747720#M234740</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=SASHELP.CLASS;
  class AGE ;
  var WEIGHT  HEIGHT  ;
  table AGE*[s={font_weight=light}] 
        all*[s={color=green font_weight=bold}]
        , 
        WEIGHT*sum HEIGHT*sum*[s={font_weight=bold}];
run ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Jun 2021 09:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747720#M234740</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2021-06-14T09:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747738#M234746</link>
      <description>&lt;P&gt;This does not work on 9.4M2. Does it work for you?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 10:47:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747738#M234746</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-14T10:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747739#M234747</link>
      <description>&lt;P&gt;[EDIT]&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;Yes, but I'm on 9.4M6.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry. No, it doesn't, wrong variable. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 11:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747739#M234747</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2021-06-14T11:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747742#M234748</link>
      <description>&lt;P&gt;Chris,&lt;/P&gt;
&lt;P&gt;Do you have to use proc tabulate ? Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp; have an idea.&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 ;
column age _age  weight height;
define age/group noprint;
define _age/computed 'Age' style=header;
define weight/analysis sum;
define height/analysis sum style={font_weight=bold};
rbreak after /summarize ;
compute _age/character length=20;
  _age=ifc(missing(age),'All',put(age,best. -l));
  if _break_='_RBREAK_' then call define(_col_,'style','style=header');
endcomp;
compute height;
  if _break_='_RBREAK_' then call define('weight.sum','style','style={color=green}');
  if _break_='_RBREAK_' then call define('height.sum','style','style={color=green}');
endcomp;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 277px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60337i31354AB5EB3D4E1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 11:02:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747742#M234748</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-06-14T11:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747743#M234749</link>
      <description>&lt;P&gt;One more approach, "scratching left ear with right hand" but seems to do the job:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
select 
 sum(WEIGHT) as sum_WEIGHT
,sum(HEIGHT) as sum_HEIGHT
into 
  :sum_WEIGHT
 ,:sum_HEIGHT
from
sashelp.class
;

proc format;
value sum_WEIGHT
&amp;amp;sum_WEIGHT. = green
other = black
;

value sum_HEIGHT
&amp;amp;sum_HEIGHT. = green
other = black
;

value sum_WEIGHT_f
&amp;amp;sum_WEIGHT. = bold
other = light
;

value sum_HEIGHT_f
&amp;amp;sum_HEIGHT. = bold
other = light
;
run;

proc tabulate data=SASHELP.CLASS;
  class AGE;
  var WEIGHT  HEIGHT  ;
  table AGE 
        all
        , 
        WEIGHT*sum*[s={color=sum_WEIGHT. font_weight=sum_WEIGHT_f.}]
        HEIGHT*sum*[s={color=sum_HEIGHT. font_weight=sum_HEIGHT_f.}]
        ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 11:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747743#M234749</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2021-06-14T11:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747751#M234754</link>
      <description>&lt;P&gt;Chris,&lt;/P&gt;
&lt;P&gt;Or you could try Traffic light .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
select int(sum(height)) into : sum from sashelp.class;
quit;
proc format ;
value fmt
&amp;amp;sum.&amp;lt;-high='green'
other='black'
;
run;


proc tabulate data=SASHELP.CLASS;
  class AGE ;
  var WEIGHT  HEIGHT  ;
  table AGE all*[s=[color=green]], WEIGHT*sum HEIGHT*sum*[s=[font_weight=bold color=fmt.]];
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1623669002921.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60339i8232B90FCE029A31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1623669002921.png" alt="Ksharp_0-1623669002921.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 11:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/747751#M234754</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-06-14T11:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748023#M234884</link>
      <description>&lt;P&gt;Thank you for your response guys. I'll need to adapt one of the responses to my (more complex) report table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was trying to avoid proc report as its coding is more complex, and few people will be able to maintain it after I leave, and proc format as some totals only have one underlying number, and both the number and the total get formatted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought there was a way to force some style attributes from the parent and give priority to either the row or the column parent, and was hoping someone would refresh my memory, but maybe am I wrong. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 05:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748023#M234884</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-15T05:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748253#M234989</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;Last ditch attempt, in case you have time Cynthia?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 05:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748253#M234989</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-16T05:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748504#M235077</link>
      <description>Hi:&lt;BR /&gt;  I think you're looking for STYLE_PRECEDENCE=ROW or STYLE_PRECEDENCE=COL -- goes on the TABLE statement after a slash (/).&lt;BR /&gt;  Sorry, was not able to respond sooner.&lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 16 Jun 2021 19:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748504#M235077</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-16T19:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748594#M235096</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;Yes that's what I meant!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sadly nothing seems to have worked. Even using the &amp;lt;parent&amp;gt; precedence doesn't provide a way.&lt;/P&gt;
&lt;P&gt;It looks like proc report is the only option left.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a shame setting one style attribute for a column nullifies all attributes for rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 01:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748594#M235096</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-17T01:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748721#M235167</link>
      <description>Hi:&lt;BR /&gt;  It's still not clear to me what you want to do. You're not setting one attribute in the column dimension, you're setting 2 attributes. Your column dimension style override is impacting the HEIGHT column and only the HEIGHT column to be bold and to use the user-defined format for the font color. Your style override in the ROW dimension, for the ALL is doing a blanket override of both cells on the ALL row to be green, which is what is happening. &lt;BR /&gt;  Do you only want the bold and green applied to the ALL row? Or how do you envision your overrides would work? That's what is not clear to me. I can't say that REPORT is the solution since I don't understand the desired result. Do you only want the 1184.40 total for HEIGHT to be green and you want the 1900.5 for WEIGHT to be black??? That's not what the ALL override is doing. That's why I'm confused.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 17 Jun 2021 15:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748721#M235167</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-17T15:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748788#M235201</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;
&lt;P&gt;I am the one confused now.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; &lt;EM&gt;Your column dimension style override is impacting the HEIGHT column and only the HEIGHT column to be bold and to use the user-defined format for the font color.&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I don't use a format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just want the&amp;nbsp;&lt;EM&gt;Height&lt;/EM&gt;&amp;nbsp;column to be bold and the &lt;EM&gt;total&lt;/EM&gt;&amp;nbsp;line to be green. And the intersection &lt;EM&gt;Height total&lt;/EM&gt; to be both.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 22:34:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748788#M235201</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-17T22:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748809#M235218</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Oops, my bad. I didn't scroll back far enough to find your first post and I copied Ksharp's suggestion. I'm still not sure from your original code why you are adding bold just to the HEIGHT column, but I took it out for this example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1623980036316.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60460iAB0403E657E3E8FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1623980036316.png" alt="Cynthia_sas_0-1623980036316.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unless you WANT the data cells in the HEIGHT column to be bold, it seemed to look better to me if only the summary line was bold and green. But again, maybe that's me not having a good picture of what you want. Actually, for the above example, I didn't really need style_precedence, because there was not any conflict -- but I can introduce a conflict that uses red and yellow to show exactly what will happen to the SUM of HEIGHT if I have a style override in the column dimension and a style override on the ALL in the row dimension:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc tabulate data=SASHELP.CLASS;
  title 'default style_precedence=col but code explicitly';
  class AGE ;
  var WEIGHT  HEIGHT  ;
  table AGE all*[s=Header[background=white color=green]],
        WEIGHT*sum HEIGHT*sum*{s={color=red background=lightyellow}}
        / style_precedence=col;
run;

proc tabulate data=SASHELP.CLASS;
  title 'change style_precedence=row';
  class AGE ;
  var WEIGHT  HEIGHT  ;
  table AGE all*[s=Header[background=white color=green]],
        WEIGHT*sum HEIGHT*sum*{s={color=red background=lightyellow}}
        / style_precedence=row;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But maybe this will give you some idea to start with. Here's what that output will look like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1623980822768.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60461iBCC54F04A2D23FB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1623980822768.png" alt="Cynthia_sas_1-1623980822768.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, still, I'm not entirely sure I understand what your desired result should look like. But&amp;nbsp; I hope that one of these examples will lead you to a solution.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 01:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748809#M235218</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-18T01:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748815#M235224</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;
&lt;P&gt;Yes I want only one column in bold because that's the preferred column in my report.&lt;/P&gt;
&lt;P&gt;The total line needs to be green (for example). And the preferred total should be green bold.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case you specify colour and background for both dimensions, so the overwrite that takes place makes sense: one attribute takes precedence.&lt;/P&gt;
&lt;P&gt;In my example, I do not specify conflicting attributes yet both attributes are not used to complement each other: one set of attributes is completely ignored.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 03:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748815#M235224</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-18T03:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748918#M235271</link>
      <description>&lt;P&gt;Hi: PROC TABULATE basically replaces one set of attributes with the other in the event of conflicts between the row and the column style overrides. Typically, with TABULATE, you have to re-specify ALL the attributes you want to have in effect because TABULATE doesn't do inheritance the way you want. It is possible to get what you want with both REPORT and TABULATE, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1624031236521.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60487iE86903E1EC3F050A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1624031236521.png" alt="Cynthia_sas_0-1624031236521.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a bit more complicated using REPORT because AGE is numeric and you need to create a computed item to get a text string such as Total on the summary line. But the same results are do-able with either REPORT or TABULATE.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 15:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/748918#M235271</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-18T15:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/749078#M235337</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;
&lt;P&gt;Proc report allows merging styles (style/merge might be the default option?) while proc tabulate does not.&lt;/P&gt;
&lt;P&gt;That's what I wanted to check.&lt;/P&gt;
&lt;P&gt;proc report allows me to simply make a column with an attribute, a row with another and the crossing with both.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=SASHELP.CLASS;
  columns AGE WEIGHT HEIGHT ;
  define AGE      / group ;
  define  WEIGHT  / analysis;
  define  HEIGHT  / analysis style=[font_weight=bold];
  rbreak after    / summarize;
  compute after;
    call define(_row_,'style','style=[color=green]');
  endcomp;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There's no way with proc tabulate to have one row in green thin, one col in bold, and only one cell on green bold it seems.&lt;/P&gt;
&lt;P&gt;Thank you for refreshing my memory about header and parent inheritance, and about precedence. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jun 2021 09:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/749078#M235337</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-06-20T09:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate: overlapping styles at line and row crossing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/749174#M235361</link>
      <description>Hi:&lt;BR /&gt;  Yes, REPORT and TABULATE have different inheritance rules.&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 21 Jun 2021 02:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/tabulate-overlapping-styles-at-line-and-row-crossing/m-p/749174#M235361</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-21T02:02:05Z</dc:date>
    </item>
  </channel>
</rss>

