<?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: Merge two observations in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590390#M75981</link>
    <description>&lt;P&gt;just it adds a new line with the sum of all the observations, any way of avoiding it?&lt;/P&gt;&lt;P&gt;i'm totally new in sas please dont judge &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2019 13:30:46 GMT</pubDate>
    <dc:creator>polpel</dc:creator>
    <dc:date>2019-09-20T13:30:46Z</dc:date>
    <item>
      <title>Merge two observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590369#M75978</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Basically I have a dataset where two-by-two lines are basically indentical and sort of complete each other like a puzzle piece (you'll see what I mean). And my goal is to merge those two lines to make just one. here's the set:&lt;/P&gt;&lt;P&gt;It shows number of men and women according to their age.&lt;/P&gt;&lt;P&gt;Tranche&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hommes Femmes&lt;/P&gt;&lt;P&gt;65 ans et plus&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;71&lt;BR /&gt;65 ans et plus&amp;nbsp; &amp;nbsp;| 241 |&amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;De 18 à 24 ans |&amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; |&amp;nbsp; 203&lt;BR /&gt;De 18 à 24 ans | 386 |&amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;De 25 à 29 ans |&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp;|&amp;nbsp; 710&lt;BR /&gt;De 25 à 29 ans |1106|&amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;De 30 à 34 ans |&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;680&lt;BR /&gt;De 30 à 34 ans |1380|&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i want is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;65 ans et plus&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;241&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;71&lt;BR /&gt;De 18 à 24 ans |&amp;nbsp; &amp;nbsp;386&amp;nbsp; &amp;nbsp; |&amp;nbsp; 203&lt;BR /&gt;De 25 à 29 ans |&amp;nbsp; &amp;nbsp; 1106 |&amp;nbsp; 710&lt;BR /&gt;De 30 à 34 ans | 1380&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;680&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590369#M75978</guid>
      <dc:creator>polpel</dc:creator>
      <dc:date>2019-09-20T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590370#M75979</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=have;
    class tranche;
    var hommes femmes;
    output out=want sum=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590370#M75979</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-20T13:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590385#M75980</link>
      <description>&lt;P&gt;omg thanks!!!!!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590385#M75980</guid>
      <dc:creator>polpel</dc:creator>
      <dc:date>2019-09-20T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590390#M75981</link>
      <description>&lt;P&gt;just it adds a new line with the sum of all the observations, any way of avoiding it?&lt;/P&gt;&lt;P&gt;i'm totally new in sas please dont judge &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590390#M75981</guid>
      <dc:creator>polpel</dc:creator>
      <dc:date>2019-09-20T13:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590392#M75982</link>
      <description>&lt;P&gt;Oh, that was my mistake. You can simply delete that record, or here is the fixed code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=have nway;
    class tranche;
    var hommes femmes;
    output out=want sum=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590392#M75982</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-20T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590394#M75983</link>
      <description>&lt;P&gt;Paige,&lt;/P&gt;
&lt;P&gt;You missed option NWAY .&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-two-observations/m-p/590394#M75983</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-09-20T13:35:40Z</dc:date>
    </item>
  </channel>
</rss>

