<?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: proc report - rbreak summaries  not giving sum of computed variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-report-rbreak-summaries-not-giving-sum-of-computed-variable/m-p/424419#M104505</link>
    <description>&lt;P&gt;Can you show&amp;nbsp;example data that shows the problem?&amp;nbsp; I don't see it in an example dataset such as here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class;
columns sex height weight bmi;
define sex/group;
define height/analysis mean;
define weight/analysis mean;
define bmi/computed;
compute bmi;
  bmi = (weight.mean/2.3)/((height.mean/39)**2);
endcomp;
rbreak after/ol summarize;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 02 Jan 2018 19:46:35 GMT</pubDate>
    <dc:creator>snoopy369</dc:creator>
    <dc:date>2018-01-02T19:46:35Z</dc:date>
    <item>
      <title>proc report - rbreak summaries  not giving sum of computed variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-rbreak-summaries-not-giving-sum-of-computed-variable/m-p/423924#M104303</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data= c1.o;
columns probability____  probability____=opp Total_Media_Value Forecasted_Budget ;
define probability____ / group descending 'Probability';
define Total_Media_Value / SUM 'Total Budget' format= dollar30. ;
define Forecasted_Budget/ computed 'Forecasted Budget'format= dollar30.;
compute Forecasted_Budget;
Forecasted_Budget= (Total_Media_Value.sum)*(probability____);
endcomp;
define opp/n 'Num_of_optys';
rbreak after/ ol summarize style=[backgroundcolor= grrp color=aliceblue ];
title 'London Olympic Pipeline As of 17th November 2012';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here in the report , in the last line where summary is given,&amp;nbsp; i get&amp;nbsp; a missing value for the column Foretasted Budget (computed variable). How to fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 17:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-rbreak-summaries-not-giving-sum-of-computed-variable/m-p/423924#M104303</guid>
      <dc:creator>riya275</dc:creator>
      <dc:date>2017-12-28T17:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - rbreak summaries  not giving sum of computed variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-rbreak-summaries-not-giving-sum-of-computed-variable/m-p/424419#M104505</link>
      <description>&lt;P&gt;Can you show&amp;nbsp;example data that shows the problem?&amp;nbsp; I don't see it in an example dataset such as here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class;
columns sex height weight bmi;
define sex/group;
define height/analysis mean;
define weight/analysis mean;
define bmi/computed;
compute bmi;
  bmi = (weight.mean/2.3)/((height.mean/39)**2);
endcomp;
rbreak after/ol summarize;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Jan 2018 19:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-rbreak-summaries-not-giving-sum-of-computed-variable/m-p/424419#M104505</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2018-01-02T19:46:35Z</dc:date>
    </item>
  </channel>
</rss>

