<?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 Total sales by departement in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Total-sales-by-departement/m-p/502319#M648</link>
    <description>&lt;P&gt;I have a table&amp;nbsp; contains the column of&amp;nbsp; stores, département , date and&amp;nbsp; sale by week&lt;/P&gt;&lt;P&gt;I would like to know how I can write to get the total sales by departement. there are 98 departement .&lt;/P&gt;&lt;P&gt;and( magasin 1 ) for exemple has is&amp;nbsp; every week sale&amp;nbsp; for 2 years.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 08:00:58 GMT</pubDate>
    <dc:creator>Bertrice</dc:creator>
    <dc:date>2018-10-08T08:00:58Z</dc:date>
    <item>
      <title>Total sales by departement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Total-sales-by-departement/m-p/502319#M648</link>
      <description>&lt;P&gt;I have a table&amp;nbsp; contains the column of&amp;nbsp; stores, département , date and&amp;nbsp; sale by week&lt;/P&gt;&lt;P&gt;I would like to know how I can write to get the total sales by departement. there are 98 departement .&lt;/P&gt;&lt;P&gt;and( magasin 1 ) for exemple has is&amp;nbsp; every week sale&amp;nbsp; for 2 years.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 08:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Total-sales-by-departement/m-p/502319#M648</guid>
      <dc:creator>Bertrice</dc:creator>
      <dc:date>2018-10-08T08:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Total sales by departement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Total-sales-by-departement/m-p/502321#M649</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select department, sum(sale)
from have
group by department;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The most simple approach to creating sums for groups in SQL.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 08:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Total-sales-by-departement/m-p/502321#M649</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-08T08:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Total sales by departement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Total-sales-by-departement/m-p/502322#M650</link>
      <description>&lt;P&gt;We need to see test data in the form of a datastep and required output to have any chance of answering your question.&amp;nbsp; As such all I can say is that proc means/summary/sql are ways of getting total counts.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 08:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Total-sales-by-departement/m-p/502322#M650</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-10-08T08:10:02Z</dc:date>
    </item>
  </channel>
</rss>

