<?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 Remove equal symbol in proc report by statment in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Remove-equal-symbol-in-proc-report-by-statment/m-p/931061#M366296</link>
    <description>&lt;P&gt;How to get rid off equal symbol in proc report output header ?&lt;/P&gt;
&lt;P&gt;data test;&lt;BR /&gt;input id name $20.;&lt;BR /&gt;cards;&lt;BR /&gt;101 abc&lt;BR /&gt;102 def&lt;BR /&gt;103 gth&lt;BR /&gt;104 nmj&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc report data=test headline nowindows ;by id;&lt;BR /&gt;columns id name;&lt;BR /&gt;run;&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="mmkr_0-1717625198970.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97057i725B33D888C87707/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmkr_0-1717625198970.png" alt="mmkr_0-1717625198970.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>Wed, 05 Jun 2024 22:06:55 GMT</pubDate>
    <dc:creator>mmkr</dc:creator>
    <dc:date>2024-06-05T22:06:55Z</dc:date>
    <item>
      <title>Remove equal symbol in proc report by statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-equal-symbol-in-proc-report-by-statment/m-p/931061#M366296</link>
      <description>&lt;P&gt;How to get rid off equal symbol in proc report output header ?&lt;/P&gt;
&lt;P&gt;data test;&lt;BR /&gt;input id name $20.;&lt;BR /&gt;cards;&lt;BR /&gt;101 abc&lt;BR /&gt;102 def&lt;BR /&gt;103 gth&lt;BR /&gt;104 nmj&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc report data=test headline nowindows ;by id;&lt;BR /&gt;columns id name;&lt;BR /&gt;run;&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="mmkr_0-1717625198970.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97057i725B33D888C87707/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmkr_0-1717625198970.png" alt="mmkr_0-1717625198970.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>Wed, 05 Jun 2024 22:06:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-equal-symbol-in-proc-report-by-statment/m-p/931061#M366296</guid>
      <dc:creator>mmkr</dc:creator>
      <dc:date>2024-06-05T22:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove equal symbol in proc report by statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-equal-symbol-in-proc-report-by-statment/m-p/931069#M366303</link>
      <description>&lt;P&gt;Basic approach is to 1) turn off the default by line behavior and 2) create a title (or footnote) with the special values #byvar (if you want the variable name) and #byval (for the value of the by variable).&lt;/P&gt;
&lt;P&gt;There can be multiple by variables so you can address then by suffixing the keyword #byvar or #byval with the position number of the variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data test;
input id name $20.;
cards;
101 abc
102 def
103 gth
104 nmj
;
run;
/* turn off default var=value from BY statement*/
options nobyline; 

title "Your current title definitions";
title2 '#byvar1 #byval1';

proc report data=test headline nowindows ;
by id;
columns id name;
run;

/* restart the default by behavior*/
options byline;&lt;/PRE&gt;
&lt;P&gt;Here I only have one existing line of title. The one to add would have a title line one or more greater than the last defined Title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you just one the by value after some nicer text you could use something like:&lt;/P&gt;
&lt;PRE&gt;Title2 'Other text #byval1';&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 22:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-equal-symbol-in-proc-report-by-statment/m-p/931069#M366303</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-06-05T22:44:24Z</dc:date>
    </item>
  </channel>
</rss>

