<?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 proc report - grouping - how to get only selecte groups in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423903#M104292</link>
    <description>&lt;P&gt;I am creating a report where i am grouping by probability but i dont want the row with probability=0 to be included. How to do that?&lt;/P&gt;&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;&amp;nbsp;right now i have groups for probability 1, 0.9,0.8,0.7 till 0. But I want groups from 1 till&amp;nbsp;0.1 , and exclude the group with probability 0&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2017 15:52:36 GMT</pubDate>
    <dc:creator>riya275</dc:creator>
    <dc:date>2017-12-28T15:52:36Z</dc:date>
    <item>
      <title>proc report - grouping - how to get only selecte groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423903#M104292</link>
      <description>&lt;P&gt;I am creating a report where i am grouping by probability but i dont want the row with probability=0 to be included. How to do that?&lt;/P&gt;&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;&amp;nbsp;right now i have groups for probability 1, 0.9,0.8,0.7 till 0. But I want groups from 1 till&amp;nbsp;0.1 , and exclude the group with probability 0&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423903#M104292</guid>
      <dc:creator>riya275</dc:creator>
      <dc:date>2017-12-28T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - grouping - how to get only selecte groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423908#M104295</link>
      <description>&lt;P&gt;can you show an image of what the table should look like? i think you want something like:&lt;/P&gt;&lt;P&gt;define probability_____ / order order=data noprint;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:34:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423908#M104295</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2017-12-28T15:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - grouping - how to get only selecte groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423914#M104297</link>
      <description>&lt;P&gt;sorry , i have edited the uestion&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423914#M104297</guid>
      <dc:creator>riya275</dc:creator>
      <dc:date>2017-12-28T15:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - grouping - how to get only selecte groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423916#M104299</link>
      <description>&lt;P&gt;you could just use a where statement in the proc report line ie:&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;report&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; c1&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;o (where=(probablity ne 0))&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 16:29:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-grouping-how-to-get-only-selecte-groups/m-p/423916#M104299</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2017-12-28T16:29:27Z</dc:date>
    </item>
  </channel>
</rss>

