<?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 Grouping within columns in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Grouping-within-columns/m-p/48019#M12942</link>
    <description>I  have four columns named prd_grp,prd-subgroup,prd_desc and &lt;BR /&gt;
loan_amount. &lt;BR /&gt;
The output columns in sequence are:&lt;B&gt; Item&lt;/B&gt;    &lt;B&gt;Total&lt;/B&gt;  &lt;B&gt;Loan_amount&lt;/B&gt;&lt;BR /&gt;
The data is as follows: &lt;BR /&gt;
&lt;BR /&gt;
prd_grp         prd_subgroup    prd_desc                       loan_amount &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ASSETS          All_Other                       Loans                        234 &lt;BR /&gt;
ASSETS          All_Other                       abc                           345 &lt;BR /&gt;
ASSETS          All_Other                       Quoted_Shares          213 &lt;BR /&gt;
LIABILIITES     Deposits                        Current_Deposs         435 &lt;BR /&gt;
LIABILIITES     Deposits                        Fixed                        325 &lt;BR /&gt;
LIABILIITES     Deposits                        NIDs &amp;amp; Repos            256 &lt;BR /&gt;
LIABILIITES     Deposits                        Savings                         218 &lt;BR /&gt;
&lt;BR /&gt;
I want the output with Item,total and loan_amount columns:&lt;BR /&gt;
Below is the output I needed &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Item                       Total          Loan_amount &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ASSETS &lt;BR /&gt;
All_Other &lt;BR /&gt;
Loans                                            234 &lt;BR /&gt;
abc                                               345 &lt;BR /&gt;
Quoted_Shares Held                      213 &lt;BR /&gt;
Total                                            692 &lt;BR /&gt;
LIABILIITES &lt;BR /&gt;
Deposits &lt;BR /&gt;
Current Deposits                          435 &lt;BR /&gt;
Fixed                                           325 &lt;BR /&gt;
NIDs &amp;amp; Repos                              256 &lt;BR /&gt;
Savings                                       218 &lt;BR /&gt;
Total                                          1234 &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Can anone help me on this,as this is critical.&lt;BR /&gt;
Thanks in advance.</description>
    <pubDate>Fri, 10 Dec 2010 15:42:56 GMT</pubDate>
    <dc:creator>Siddhartha</dc:creator>
    <dc:date>2010-12-10T15:42:56Z</dc:date>
    <item>
      <title>Grouping within columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Grouping-within-columns/m-p/48019#M12942</link>
      <description>I  have four columns named prd_grp,prd-subgroup,prd_desc and &lt;BR /&gt;
loan_amount. &lt;BR /&gt;
The output columns in sequence are:&lt;B&gt; Item&lt;/B&gt;    &lt;B&gt;Total&lt;/B&gt;  &lt;B&gt;Loan_amount&lt;/B&gt;&lt;BR /&gt;
The data is as follows: &lt;BR /&gt;
&lt;BR /&gt;
prd_grp         prd_subgroup    prd_desc                       loan_amount &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ASSETS          All_Other                       Loans                        234 &lt;BR /&gt;
ASSETS          All_Other                       abc                           345 &lt;BR /&gt;
ASSETS          All_Other                       Quoted_Shares          213 &lt;BR /&gt;
LIABILIITES     Deposits                        Current_Deposs         435 &lt;BR /&gt;
LIABILIITES     Deposits                        Fixed                        325 &lt;BR /&gt;
LIABILIITES     Deposits                        NIDs &amp;amp; Repos            256 &lt;BR /&gt;
LIABILIITES     Deposits                        Savings                         218 &lt;BR /&gt;
&lt;BR /&gt;
I want the output with Item,total and loan_amount columns:&lt;BR /&gt;
Below is the output I needed &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Item                       Total          Loan_amount &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ASSETS &lt;BR /&gt;
All_Other &lt;BR /&gt;
Loans                                            234 &lt;BR /&gt;
abc                                               345 &lt;BR /&gt;
Quoted_Shares Held                      213 &lt;BR /&gt;
Total                                            692 &lt;BR /&gt;
LIABILIITES &lt;BR /&gt;
Deposits &lt;BR /&gt;
Current Deposits                          435 &lt;BR /&gt;
Fixed                                           325 &lt;BR /&gt;
NIDs &amp;amp; Repos                              256 &lt;BR /&gt;
Savings                                       218 &lt;BR /&gt;
Total                                          1234 &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Can anone help me on this,as this is critical.&lt;BR /&gt;
Thanks in advance.</description>
      <pubDate>Fri, 10 Dec 2010 15:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Grouping-within-columns/m-p/48019#M12942</guid>
      <dc:creator>Siddhartha</dc:creator>
      <dc:date>2010-12-10T15:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping within columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Grouping-within-columns/m-p/48020#M12943</link>
      <description>Hi:&lt;BR /&gt;
  This question has already been asked and answered both times that you posted it in the SAS Procedures forum and in the ODS forum. Did you try any of the previously posted code?&lt;BR /&gt;
 &lt;BR /&gt;
For critical or urgent requests, your best resource is to open a track with Tech Support. Forum participation occurs as people have the time and inclination to help.&lt;BR /&gt;
&lt;BR /&gt;
To open a track with Tech Support, fill out the form at this link:&lt;BR /&gt;
&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 10 Dec 2010 16:40:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Grouping-within-columns/m-p/48020#M12943</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-10T16:40:09Z</dc:date>
    </item>
  </channel>
</rss>

