<?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: Sum ROWS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Sum-ROWS/m-p/892832#M39716</link>
    <description>&lt;P&gt;Sounds like you are attempting to duplicate the way a SPREADSHEET does things.&lt;/P&gt;
&lt;P&gt;The "picture" you show would be easy to accomplish in SAS if the "rows" were variables (columns).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a poor idea to place summary values in the middle of a data set by&amp;nbsp; "row" as almost anything else done with that data set will contaminated by using summary values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a SAS data set: Instructions here: &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; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the &amp;lt;/&amp;gt; icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 00:47:52 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-09-06T00:47:52Z</dc:date>
    <item>
      <title>Sum ROWS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sum-ROWS/m-p/892819#M39714</link>
      <description>Hi Everyone!!&lt;BR /&gt;&lt;BR /&gt;I would like to know how to do the following count in SAS System ( example attached) summing rows as Statement Income&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Sep 2023 23:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sum-ROWS/m-p/892819#M39714</guid>
      <dc:creator>Henriquemont</dc:creator>
      <dc:date>2023-09-05T23:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sum ROWS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sum-ROWS/m-p/892826#M39715</link>
      <description>&lt;P&gt;In this case a picture is not worth a thousand words.&amp;nbsp; I cannot tell from the picture you posted (hidden inside of the PDF file you attached) what you want to sum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post the data as text. (Preferably as a data step that can re-create the data.)&lt;/P&gt;
&lt;P&gt;Post the result you want as text also.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Describe in words what you want to do to get from the input to the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if you do want to share another picture do not go to the trouble of making a PDF file and attaching the PDF file.&amp;nbsp; You can either use the Insert Photos icon to upload a photo file.&amp;nbsp; Or just copy and paste the image directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 00:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sum-ROWS/m-p/892826#M39715</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-09-06T00:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sum ROWS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sum-ROWS/m-p/892832#M39716</link>
      <description>&lt;P&gt;Sounds like you are attempting to duplicate the way a SPREADSHEET does things.&lt;/P&gt;
&lt;P&gt;The "picture" you show would be easy to accomplish in SAS if the "rows" were variables (columns).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a poor idea to place summary values in the middle of a data set by&amp;nbsp; "row" as almost anything else done with that data set will contaminated by using summary values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a SAS data set: Instructions here: &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; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the &amp;lt;/&amp;gt; icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 00:47:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sum-ROWS/m-p/892832#M39716</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-06T00:47:52Z</dc:date>
    </item>
  </channel>
</rss>

