<?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 group by report proc report  sheet_name = &amp;quot;#byval1&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/group-by-report-proc-report-sheet-name-quot-byval1-quot/m-p/896693#M354327</link>
    <description>&lt;PRE&gt;proc sort data=sashelp.class out=class  ;by sex ;run;

ods excel file='G:.....\class.xlsx'
options(sheet_name = "#byval1");
proc report data=class;
by sex;
column sex height weight;
define age / group; 
define height / mean; 
define weight / mean; 
rbreak before / summarize; 
run;
ods excel close;&lt;/PRE&gt;&lt;PRE class=""&gt;&lt;SPAN class=""&gt;Good morning, I produce a report with proc report and the option sheet_name = "#byval1" to have my data on two tabs according to my group by. I do not want to have my group displayed in the report. how to do it please?&lt;/SPAN&gt;&lt;/PRE&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="snip_0-1696259234506.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88474i884D5ACE63976AD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="snip_0-1696259234506.png" alt="snip_0-1696259234506.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2023 15:11:07 GMT</pubDate>
    <dc:creator>snip</dc:creator>
    <dc:date>2023-10-02T15:11:07Z</dc:date>
    <item>
      <title>group by report proc report  sheet_name = "#byval1"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/group-by-report-proc-report-sheet-name-quot-byval1-quot/m-p/896693#M354327</link>
      <description>&lt;PRE&gt;proc sort data=sashelp.class out=class  ;by sex ;run;

ods excel file='G:.....\class.xlsx'
options(sheet_name = "#byval1");
proc report data=class;
by sex;
column sex height weight;
define age / group; 
define height / mean; 
define weight / mean; 
rbreak before / summarize; 
run;
ods excel close;&lt;/PRE&gt;&lt;PRE class=""&gt;&lt;SPAN class=""&gt;Good morning, I produce a report with proc report and the option sheet_name = "#byval1" to have my data on two tabs according to my group by. I do not want to have my group displayed in the report. how to do it please?&lt;/SPAN&gt;&lt;/PRE&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="snip_0-1696259234506.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88474i884D5ACE63976AD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="snip_0-1696259234506.png" alt="snip_0-1696259234506.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 15:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/group-by-report-proc-report-sheet-name-quot-byval1-quot/m-p/896693#M354327</guid>
      <dc:creator>snip</dc:creator>
      <dc:date>2023-10-02T15:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: group by report proc report  sheet_name = "#byval1"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/group-by-report-proc-report-sheet-name-quot-byval1-quot/m-p/896695#M354329</link>
      <description>&lt;P&gt;Set OPTIONS NOBYLINE prior to the report. Don't forget to turn it back on later.&lt;/P&gt;
&lt;PRE&gt;proc sort data=sashelp.class out=class  ;by sex ;run;

options nobyline;
ods excel file="&amp;amp;outpath.class.xlsx"
   options(sheet_name = "#byval1");
proc report data=class;
by sex;
column sex height weight;
define age / group; 
define height / mean; 
define weight / mean; 
rbreak before / summarize; 
run;
ods excel close;
options byline;&lt;/PRE&gt;
&lt;P&gt;Warning: your COLUMNS statement does not include the AGE variable so the report has issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/449477"&gt;@snip&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;PRE&gt;proc sort data=sashelp.class out=class  ;by sex ;run;

ods excel file='G:.....\class.xlsx'
options(sheet_name = "#byval1");
proc report data=class;
by sex;
column sex height weight;
define age / group; 
define height / mean; 
define weight / mean; 
rbreak before / summarize; 
run;
ods excel close;&lt;/PRE&gt;
&lt;PRE class=""&gt;&lt;SPAN class=""&gt;Good morning, I produce a report with proc report and the option sheet_name = "#byval1" to have my data on two tabs according to my group by. I do not want to have my group displayed in the report. how to do it please?&lt;/SPAN&gt;&lt;/PRE&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="snip_0-1696259234506.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88474i884D5ACE63976AD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="snip_0-1696259234506.png" alt="snip_0-1696259234506.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 15:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/group-by-report-proc-report-sheet-name-quot-byval1-quot/m-p/896695#M354329</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-10-02T15:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: group by report proc report  sheet_name = "#byval1"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/group-by-report-proc-report-sheet-name-quot-byval1-quot/m-p/896753#M354345</link>
      <description>&lt;PRE class=""&gt;&lt;SPAN class=""&gt;Thank you very much for your answer !!
the class table was just to be able to provide an example of what I want, it's not my real data&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Oct 2023 18:06:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/group-by-report-proc-report-sheet-name-quot-byval1-quot/m-p/896753#M354345</guid>
      <dc:creator>snip</dc:creator>
      <dc:date>2023-10-02T18:06:15Z</dc:date>
    </item>
  </channel>
</rss>

