<?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: How to display by variable from proc report into ods excel file but on the same page as a header in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839144#M331795</link>
    <description>&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;It did work.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 09:26:43 GMT</pubDate>
    <dc:creator>hira</dc:creator>
    <dc:date>2022-10-18T09:26:43Z</dc:date>
    <item>
      <title>How to display by variable from proc report into ods excel file but on the same page as a header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839073#M331753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would there be a solution to display by variable (byvar) from a proc report as a header in the excel file (ods output) on the same page, something like below, but not as a column variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byvar&lt;/P&gt;&lt;P&gt;var1 var2 var3&lt;/P&gt;&lt;P&gt;a&amp;nbsp; &amp;nbsp; &amp;nbsp;b&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c&lt;/P&gt;&lt;P&gt;d&amp;nbsp; &amp;nbsp; &amp;nbsp;e&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; byvar&lt;/P&gt;&lt;P&gt;var1 var2 var3&lt;/P&gt;&lt;P&gt;a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c&lt;/P&gt;&lt;P&gt;d&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 20:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839073#M331753</guid>
      <dc:creator>hira</dc:creator>
      <dc:date>2022-10-17T20:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to display by variable from proc report into ods excel file but on the same page as a header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839076#M331754</link>
      <description>Title?&lt;BR /&gt;&lt;BR /&gt;Title "#byval1";</description>
      <pubDate>Mon, 17 Oct 2022 20:59:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839076#M331754</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-10-17T20:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display by variable from proc report into ods excel file but on the same page as a header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839086#M331759</link>
      <description>&lt;P&gt;Doesn't it do that automatically?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class;
 by sex;
run;
ods excel file='c:\downloads\class.xlsx' ;
ods excel options (sheet_interval='none');
proc report data=class;
  by sex;
run;
ods excel close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1666042673757.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76260i1D4490507090BC5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tom_0-1666042673757.png" alt="Tom_0-1666042673757.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 21:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839086#M331759</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-10-17T21:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to display by variable from proc report into ods excel file but on the same page as a header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839087#M331760</link>
      <description>&lt;P&gt;Please show the Proc Report code you are attempting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would expect a BY statement in Proc Report to provide something like that unless you have set the BYLINE system option to NOBYLINE.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 21:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839087#M331760</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-10-17T21:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to display by variable from proc report into ods excel file but on the same page as a header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839144#M331795</link>
      <description>&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;It did work.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 09:26:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-by-variable-from-proc-report-into-ods-excel-file/m-p/839144#M331795</guid>
      <dc:creator>hira</dc:creator>
      <dc:date>2022-10-18T09:26:43Z</dc:date>
    </item>
  </channel>
</rss>

