<?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: Need to get aggregated  values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-to-get-aggregated-values/m-p/890104#M351703</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data all / view=all;
set one two;
run;

proc means data=all nway;
class id s4;
var s1-s3;
output out=want (drop=_TYPE_ _FREQ_) sum()=
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 20 Aug 2023 13:50:20 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-08-20T13:50:20Z</dc:date>
    <item>
      <title>Need to get aggregated  values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-get-aggregated-values/m-p/890103#M351702</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I habe two input datasets , dataset one and two and I want dataset three which will have aggregated value of first two daraset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset one&lt;/P&gt;
&lt;P&gt;one&lt;BR /&gt;id s1 s2 s3 s4&lt;BR /&gt;101 20 30 40 seema&lt;BR /&gt;121 30 20 10 rekha&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset two&lt;BR /&gt;id s1 s2 s3 s4&lt;BR /&gt;101 25 35 45 seema&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want output table dataset three as&lt;/P&gt;
&lt;P&gt;id s1 s2 s3 s4&lt;BR /&gt;101 45 56 85 seema&lt;BR /&gt;121 30 20 10 rekha&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2023 13:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-get-aggregated-values/m-p/890103#M351702</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2023-08-20T13:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get aggregated  values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-get-aggregated-values/m-p/890104#M351703</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data all / view=all;
set one two;
run;

proc means data=all nway;
class id s4;
var s1-s3;
output out=want (drop=_TYPE_ _FREQ_) sum()=
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Aug 2023 13:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-get-aggregated-values/m-p/890104#M351703</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-20T13:50:20Z</dc:date>
    </item>
  </channel>
</rss>

