<?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 summarize values are not generated after proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/summarize-values-are-not-generated-after-proc-report/m-p/286937#M58956</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have created &amp;nbsp;a summary report by Proc Report which should have following columns&lt;/P&gt;&lt;P&gt;Probability, Nbr_of_Optys, Total_Media_Value &amp;amp; Tot_Forecast which is computed by the product of probability &amp;amp; Total_Media_Value.&lt;/P&gt;&lt;P&gt;I have written this Syntex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data = Work.Olympicscs1 headline;&lt;BR /&gt;column Probability Stage (n) Tot_Budget Tot_Forecast;&lt;BR /&gt;where Probability &amp;gt; 0;&lt;BR /&gt;define Probability/group Descending 'Probability';&lt;BR /&gt;define Stage/group noprint;&lt;BR /&gt;define n / format = comma6. 'Nbr_of_Optys';&lt;BR /&gt;define Total_Media_Value/analysis format = dollar25. 'Tot_Budget';&lt;BR /&gt;define Tot_Forecast/computed format = dollar25.;&lt;BR /&gt;compute Tot_Forecast;&lt;BR /&gt;Tot_Forecast = (Tot_Budget.sum*Probability)/100;&lt;BR /&gt;endcomp;&lt;BR /&gt;&lt;BR /&gt;rbreak after/summarize ol ul skip;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;i am not getting the summarized values are not generated after rbreak for computed variable while running proc report in base sas .&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2016 16:55:23 GMT</pubDate>
    <dc:creator>Prateek1</dc:creator>
    <dc:date>2016-07-25T16:55:23Z</dc:date>
    <item>
      <title>summarize values are not generated after proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/summarize-values-are-not-generated-after-proc-report/m-p/286937#M58956</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have created &amp;nbsp;a summary report by Proc Report which should have following columns&lt;/P&gt;&lt;P&gt;Probability, Nbr_of_Optys, Total_Media_Value &amp;amp; Tot_Forecast which is computed by the product of probability &amp;amp; Total_Media_Value.&lt;/P&gt;&lt;P&gt;I have written this Syntex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data = Work.Olympicscs1 headline;&lt;BR /&gt;column Probability Stage (n) Tot_Budget Tot_Forecast;&lt;BR /&gt;where Probability &amp;gt; 0;&lt;BR /&gt;define Probability/group Descending 'Probability';&lt;BR /&gt;define Stage/group noprint;&lt;BR /&gt;define n / format = comma6. 'Nbr_of_Optys';&lt;BR /&gt;define Total_Media_Value/analysis format = dollar25. 'Tot_Budget';&lt;BR /&gt;define Tot_Forecast/computed format = dollar25.;&lt;BR /&gt;compute Tot_Forecast;&lt;BR /&gt;Tot_Forecast = (Tot_Budget.sum*Probability)/100;&lt;BR /&gt;endcomp;&lt;BR /&gt;&lt;BR /&gt;rbreak after/summarize ol ul skip;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;i am not getting the summarized values are not generated after rbreak for computed variable while running proc report in base sas .&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 16:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/summarize-values-are-not-generated-after-proc-report/m-p/286937#M58956</guid>
      <dc:creator>Prateek1</dc:creator>
      <dc:date>2016-07-25T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: summarize values are not generated after proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/summarize-values-are-not-generated-after-proc-report/m-p/287000#M58981</link>
      <description>&lt;P&gt;Please provide example data in the form of a data step. This link will show how to create a data step from you dataset.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also it often helps to show the log of the code submitted.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 19:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/summarize-values-are-not-generated-after-proc-report/m-p/287000#M58981</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-25T19:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: summarize values are not generated after proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/summarize-values-are-not-generated-after-proc-report/m-p/287023#M58989</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is this related to either of your previous posts?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/proc-report/m-p/286895#M58939" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/proc-report/m-p/286895#M58939&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/PROC-Report/m-p/286843" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/PROC-Report/m-p/286843&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is very helpful for you to post data with EVERY question instead of making someone go back and find your previous posts or figure out from the 3 different code examples you've posted, which data this new code example goes with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It seems odd to me that you are using a group variable, Probability in an assignment statement. It is possible. But odd. Is your code entirely correct? I would have expected to see Stage,(n) not Stage (n) in the COLUMN statement. Other possibly incorrect things is that you have the variable Tot_Budget on the COLUMN statement, but you have Total_Media_Value in the DEFINE statement and then you refer to Tot_budget.sum in the assignment statement. In the COMPUTE block you need to refer to the item names in the COLUMN statement or to temporary variables. You do NOT refer to variable labels. Also, before you worry about the RBREAK not working or how to make it work, I'd recommend fixing the other problems in the code. I would expect there to be some warnings or errors in the SAS Log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Also not sure about the OL UL SKIP -- those are ignored by all ODS destinations. So unless you are going to plain LISTING, I would not expect those to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 20:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/summarize-values-are-not-generated-after-proc-report/m-p/287023#M58989</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-25T20:41:39Z</dc:date>
    </item>
  </channel>
</rss>

