<?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: Style Precedence on row  with Proc tabulate in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-Precedence-on-row-with-Proc-tabulate/m-p/466572#M21019</link>
    <description>Hi:&lt;BR /&gt;  I see that you're using STYLE=PARENT, but without data to use, in order to run your code, anyone who might be interested has to make some fake data that may or may not be in the structure that is the same as your structure.&lt;BR /&gt;&lt;BR /&gt;If you can't share your data, then help us to help you by making some fake data or using SASHELP data to mock up an example.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
    <pubDate>Thu, 31 May 2018 18:09:22 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2018-05-31T18:09:22Z</dc:date>
    <item>
      <title>Style Precedence on row  with Proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-Precedence-on-row-with-Proc-tabulate/m-p/466536#M21014</link>
      <description>&lt;P&gt;I am trying to create Excel reports with ODS tagsests and Proc Tabulate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following is my sas code for proc tabulate .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp style=minimal file="/groupspace/egvcar/rashmi/llbean/saspgms/cdi_llb_monthly_dashboard/inactive.xls";&lt;BR /&gt;options missing=' ' nocenter ;&lt;/P&gt;&lt;P&gt;/************************ Inactive Cards ********************/&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options(sheet_name='Inactive Cards' frozen_rowheaders="1" embedded_titles='yes'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; embedded_footnotes='yes' autofit_height='yes'&lt;BR /&gt;&amp;nbsp;merge_titles_footnotes='Yes');&lt;/P&gt;&lt;P&gt;options missing=' ' nocenter;&lt;/P&gt;&lt;P&gt;title bold height=11pt "Inactive Cards Report ";&lt;BR /&gt;footnote1&amp;nbsp; "Note: ";&lt;BR /&gt;footnote2 "This Report is based on Calendar Year";&lt;BR /&gt;proc format;&lt;BR /&gt;&amp;nbsp; value actgrp_i&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 0='Never Active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 1='Last Active 0-1 Mos&amp;nbsp; '&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 3='Last Active 2-3 Mos&amp;nbsp; '&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 6='Last Active 4-6 Mos&amp;nbsp; '&lt;BR /&gt;&amp;nbsp; 12='Last Active 7-12 Mos '&lt;BR /&gt;&amp;nbsp; 18='Last Active 13-18 Mos'&lt;BR /&gt;&amp;nbsp; 23='Last Active 19-23 Mos'&lt;BR /&gt;&amp;nbsp; 24='Last Active 24+ Mos&amp;nbsp; '&lt;BR /&gt;&amp;nbsp; 99='Total&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;BR /&gt;&amp;nbsp; ;&lt;BR /&gt;value&amp;nbsp; watchit&lt;BR /&gt;99='#ebf1de'&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc tabulate data=llbdash.inactiveall&amp;nbsp; ;&lt;BR /&gt;class type active_grp tr_month calendar_label;&lt;BR /&gt;classlev calendar_label tr_month&amp;nbsp; / style=[font_weight=bold foreground=white background=#0c5641];&lt;BR /&gt;classlev active_grp /style=[background=watchit. cellwidth=100];&lt;BR /&gt;var otb open_accounts avg_otb/style=&amp;lt;parent&amp;gt;;&lt;BR /&gt;table type=' '*&lt;BR /&gt;active_grp=' '*&lt;BR /&gt;( OTB*f=dollar20.&lt;BR /&gt;OPEN_ACCOUNTS*f=comma12.&lt;BR /&gt;AVG_OTB*f=dollar20.&lt;BR /&gt;)*sum=' '*[style=&amp;lt;parent&amp;gt;],&lt;BR /&gt;calendar_label=' '*&lt;BR /&gt;tr_month=' '/&amp;nbsp; row=float Box=[style=[&lt;BR /&gt;font_weight=bold foreground=white background=#0c5641 ]] box=' ';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above code gives the following output&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="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20904i80CEBD3E42F450DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I display the row values corresponding to Total in the same color?&lt;/P&gt;&lt;P&gt;I used Style_precedence=row options as well which doesn't seem to work for me?&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 16:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-Precedence-on-row-with-Proc-tabulate/m-p/466536#M21014</guid>
      <dc:creator>rashmirashid</dc:creator>
      <dc:date>2018-05-31T16:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Style Precedence on row  with Proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-Precedence-on-row-with-Proc-tabulate/m-p/466572#M21019</link>
      <description>Hi:&lt;BR /&gt;  I see that you're using STYLE=PARENT, but without data to use, in order to run your code, anyone who might be interested has to make some fake data that may or may not be in the structure that is the same as your structure.&lt;BR /&gt;&lt;BR /&gt;If you can't share your data, then help us to help you by making some fake data or using SASHELP data to mock up an example.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 31 May 2018 18:09:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-Precedence-on-row-with-Proc-tabulate/m-p/466572#M21019</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-05-31T18:09:22Z</dc:date>
    </item>
  </channel>
</rss>

