<?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 How to put computed variables into a report summary section in Developers</title>
    <link>https://communities.sas.com/t5/Developers/How-to-put-computed-variables-into-a-report-summary-section/m-p/4076#M1891</link>
    <description>In a new report I've just made, in a stored process, I want to summarize data per academic year, per campus, per ethnic group.  Everything is working well, except for one little piece.&lt;BR /&gt;
&lt;BR /&gt;
I am able to subtotal by campus, and get a subtotal line for the campus with no problem, that says, "Total CMP  " ||college;&lt;BR /&gt;
&lt;BR /&gt;
However, although I am also able to subtotal by year, the year itself does not show.  It should say, Total " || YR_Range;  but the computed value, YR_Range, does not show up.  I get totals, but the value of the YR_Range does not show.&lt;BR /&gt;
:&lt;BR /&gt;
Here is the code I am using, and just can't figure out what causes the YR_Range value to not show.&lt;BR /&gt;
&lt;BR /&gt;
break after flag/summarize;&lt;BR /&gt;
&lt;BR /&gt;
compute after flag;&lt;BR /&gt;
  POSITION_EMPLOYEE_CLASS_DESC = "Total " || YR_Range;&lt;BR /&gt;
  yr_range = ' ';&lt;BR /&gt;
  college = ' ';&lt;BR /&gt;
   line ' ';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
&lt;BR /&gt;
compute after college;&lt;BR /&gt;
  POSITION_EMPLOYEE_CLASS_DESC = "Total CMP  " ||college;&lt;BR /&gt;
  college=' ';&lt;BR /&gt;
  yr_range = ' ';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
&lt;BR /&gt;
break after college /summarize;&lt;BR /&gt;
 Rbreak after  / summarize  style={background=darkgray FONT_WEIGHT=BOLD };&lt;BR /&gt;
 compute after;&lt;BR /&gt;
 POSITION_EMPLOYEE_CLASS_DESC = "Grand Total  " ;&lt;BR /&gt;
  line 'Total Empls. ' N;&lt;BR /&gt;
 endcomp;&lt;BR /&gt;
 run;&lt;BR /&gt;
&lt;BR /&gt;
Can anyone explain why one value shows but the other one doesn't?  Thanks so much in advance!</description>
    <pubDate>Mon, 06 Aug 2007 20:58:52 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-08-06T20:58:52Z</dc:date>
    <item>
      <title>How to put computed variables into a report summary section</title>
      <link>https://communities.sas.com/t5/Developers/How-to-put-computed-variables-into-a-report-summary-section/m-p/4076#M1891</link>
      <description>In a new report I've just made, in a stored process, I want to summarize data per academic year, per campus, per ethnic group.  Everything is working well, except for one little piece.&lt;BR /&gt;
&lt;BR /&gt;
I am able to subtotal by campus, and get a subtotal line for the campus with no problem, that says, "Total CMP  " ||college;&lt;BR /&gt;
&lt;BR /&gt;
However, although I am also able to subtotal by year, the year itself does not show.  It should say, Total " || YR_Range;  but the computed value, YR_Range, does not show up.  I get totals, but the value of the YR_Range does not show.&lt;BR /&gt;
:&lt;BR /&gt;
Here is the code I am using, and just can't figure out what causes the YR_Range value to not show.&lt;BR /&gt;
&lt;BR /&gt;
break after flag/summarize;&lt;BR /&gt;
&lt;BR /&gt;
compute after flag;&lt;BR /&gt;
  POSITION_EMPLOYEE_CLASS_DESC = "Total " || YR_Range;&lt;BR /&gt;
  yr_range = ' ';&lt;BR /&gt;
  college = ' ';&lt;BR /&gt;
   line ' ';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
&lt;BR /&gt;
compute after college;&lt;BR /&gt;
  POSITION_EMPLOYEE_CLASS_DESC = "Total CMP  " ||college;&lt;BR /&gt;
  college=' ';&lt;BR /&gt;
  yr_range = ' ';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
&lt;BR /&gt;
break after college /summarize;&lt;BR /&gt;
 Rbreak after  / summarize  style={background=darkgray FONT_WEIGHT=BOLD };&lt;BR /&gt;
 compute after;&lt;BR /&gt;
 POSITION_EMPLOYEE_CLASS_DESC = "Grand Total  " ;&lt;BR /&gt;
  line 'Total Empls. ' N;&lt;BR /&gt;
 endcomp;&lt;BR /&gt;
 run;&lt;BR /&gt;
&lt;BR /&gt;
Can anyone explain why one value shows but the other one doesn't?  Thanks so much in advance!</description>
      <pubDate>Mon, 06 Aug 2007 20:58:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-put-computed-variables-into-a-report-summary-section/m-p/4076#M1891</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-08-06T20:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to put computed variables into a report summary section</title>
      <link>https://communities.sas.com/t5/Developers/How-to-put-computed-variables-into-a-report-summary-section/m-p/4077#M1892</link>
      <description>Never mind....I got it fixed.  Thank you.</description>
      <pubDate>Mon, 20 Aug 2007 13:48:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-put-computed-variables-into-a-report-summary-section/m-p/4077#M1892</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-08-20T13:48:24Z</dc:date>
    </item>
  </channel>
</rss>

