<?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 Tabulate Line separator formatting in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-Tabulate-Line-separator-formatting/m-p/536382#M6622</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following proc tabulate codes&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TITLE j=left "Jadual 5.1: Jumlah penduduk mengikut taraf perkahwinan, kumpulan umur, jantina dan negeri, Malaysia, 2010";
Title2 font=bold italic j=left "Table 5.1: Total population by marital status, age group, sex and state, Malaysia, 2010";
title3 j=left " ";
title4 j=left "Jumlah:Malaysia";
Title5 font=bold italic j=left "Total";
ods escapechar='^';

proc tabulate data=work.table5dot1 class AGE_GROUP GENDER Marital_status1;
	var ID;
	table (GENDER={LABEL=' '} ALL='Grand Total') * (AGE_GROUP={LABEL=' '} 
		ALL='Jumlah ^S={font_style=italic}/ Total'), 
		ALL='Jumlah ^S={font_style=italic}/ Total' 
		Marital_status1='Taraf Perkahwinan
	^S={font_style=italic} / Marital status' / 
		Box='Jantina dan kumpulan umur ^S={font_style=italic} / Sex and age group';
	keylabel N=' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;The above codes generate the following table:&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Proc tabulate.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27244iC81D3BF62B36305C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Proc tabulate.PNG" alt="Proc tabulate.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I need the line separator to be eliminated from the body of the table and only the headers has lines to separate the rows . The output has to be like the following image&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="proc tabulate result.PNG" style="width: 564px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27246i732BF401ED0F7B8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="proc tabulate result.PNG" alt="proc tabulate result.PNG" /&gt;&lt;/span&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help me on how to get the output as per the above image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 07:59:36 GMT</pubDate>
    <dc:creator>sheren_deep1</dc:creator>
    <dc:date>2019-02-18T07:59:36Z</dc:date>
    <item>
      <title>Proc Tabulate Line separator formatting</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Tabulate-Line-separator-formatting/m-p/536382#M6622</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following proc tabulate codes&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TITLE j=left "Jadual 5.1: Jumlah penduduk mengikut taraf perkahwinan, kumpulan umur, jantina dan negeri, Malaysia, 2010";
Title2 font=bold italic j=left "Table 5.1: Total population by marital status, age group, sex and state, Malaysia, 2010";
title3 j=left " ";
title4 j=left "Jumlah:Malaysia";
Title5 font=bold italic j=left "Total";
ods escapechar='^';

proc tabulate data=work.table5dot1 class AGE_GROUP GENDER Marital_status1;
	var ID;
	table (GENDER={LABEL=' '} ALL='Grand Total') * (AGE_GROUP={LABEL=' '} 
		ALL='Jumlah ^S={font_style=italic}/ Total'), 
		ALL='Jumlah ^S={font_style=italic}/ Total' 
		Marital_status1='Taraf Perkahwinan
	^S={font_style=italic} / Marital status' / 
		Box='Jantina dan kumpulan umur ^S={font_style=italic} / Sex and age group';
	keylabel N=' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;The above codes generate the following table:&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Proc tabulate.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27244iC81D3BF62B36305C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Proc tabulate.PNG" alt="Proc tabulate.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I need the line separator to be eliminated from the body of the table and only the headers has lines to separate the rows . The output has to be like the following image&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="proc tabulate result.PNG" style="width: 564px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27246i732BF401ED0F7B8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="proc tabulate result.PNG" alt="proc tabulate result.PNG" /&gt;&lt;/span&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help me on how to get the output as per the above image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 07:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Tabulate-Line-separator-formatting/m-p/536382#M6622</guid>
      <dc:creator>sheren_deep1</dc:creator>
      <dc:date>2019-02-18T07:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate Line separator formatting</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Tabulate-Line-separator-formatting/m-p/538349#M6924</link>
      <description>&lt;P&gt;Sheren,&lt;/P&gt;
&lt;P&gt;See SAS Documentation under Tabulate Procedure - Indenting Row Headings and Eliminating&amp;nbsp;Horizontal Separators&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#n1azfrb23t8082n1jk3xqn2hwei5.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#n1azfrb23t8082n1jk3xqn2hwei5.htm&lt;/A&gt; Appears that might resource might be helpful to you!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 17:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Tabulate-Line-separator-formatting/m-p/538349#M6924</guid>
      <dc:creator>SAS_Cares</dc:creator>
      <dc:date>2019-02-25T17:16:34Z</dc:date>
    </item>
  </channel>
</rss>

