<?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: grouping variables in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46590#M6087</link>
    <description>Let me ask a couple of questions to refine what you are try to achieve.  Do you want three tables on one page for each SNO?  If you want three separate tables, will not three PROC steps each with a BY statement do the trick?  &lt;BR /&gt;
&lt;BR /&gt;
Your second two example reports do not have SNO is this an oversight or are they somehow summarizing across SNO?</description>
    <pubDate>Tue, 07 Dec 2010 23:57:05 GMT</pubDate>
    <dc:creator>ArtC</dc:creator>
    <dc:date>2010-12-07T23:57:05Z</dc:date>
    <item>
      <title>grouping variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46589#M6086</link>
      <description>hello if anyone know the solution please reply me&lt;BR /&gt;
&lt;BR /&gt;
Here is my data&lt;BR /&gt;
&lt;BR /&gt;
SNO  Name              First       Last          ENG  SOC MATH SCHOOL  CITY&lt;BR /&gt;
1      Sam Johnathon Sam     Johnathon      70    90      80    St Patrick  Cary&lt;BR /&gt;
&lt;BR /&gt;
I need a report&lt;BR /&gt;
&lt;BR /&gt;
 &lt;BR /&gt;
ist table&lt;BR /&gt;
SNO Name FIRST LAST&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
2nd table&lt;BR /&gt;
ENG SOC MATH&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
3rd table&lt;BR /&gt;
SCHOOL CITY&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
for each student i.e SNO&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
the variables are grouped depending on the requirement.&lt;BR /&gt;
&lt;BR /&gt;
i tried with proc report using ID statement  but i couldnt seperate the variables according to the required output.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Please reply me if anyone know the solution&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
thanks &lt;BR /&gt;
Sid</description>
      <pubDate>Tue, 07 Dec 2010 23:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46589#M6086</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-07T23:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: grouping variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46590#M6087</link>
      <description>Let me ask a couple of questions to refine what you are try to achieve.  Do you want three tables on one page for each SNO?  If you want three separate tables, will not three PROC steps each with a BY statement do the trick?  &lt;BR /&gt;
&lt;BR /&gt;
Your second two example reports do not have SNO is this an oversight or are they somehow summarizing across SNO?</description>
      <pubDate>Tue, 07 Dec 2010 23:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46590#M6087</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-12-07T23:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: grouping variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46591#M6088</link>
      <description>thanks for your reply&lt;BR /&gt;
&lt;BR /&gt;
yes i want 3 tables in a page for each observation&lt;BR /&gt;
&lt;BR /&gt;
consider it as studentnumber which should be present in each table</description>
      <pubDate>Wed, 08 Dec 2010 00:18:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46591#M6088</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-08T00:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: grouping variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46592#M6089</link>
      <description>You will probably want to look into ODS LAYOUT to get the three reports on one page.  &lt;BR /&gt;
&lt;BR /&gt;
Since you will be using three different PROC steps for each student, you have a couple of options.&lt;BR /&gt;
1) my choice, because it involves macros, use a %DO loop to execute the three procs once for each studentnumber.&lt;BR /&gt;
2) generate all your tables individually using BY statements and then recombine them using PROC DOCUMENT.  This I have not done, but it should be doable.</description>
      <pubDate>Wed, 08 Dec 2010 04:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/grouping-variables/m-p/46592#M6089</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-12-08T04:18:59Z</dc:date>
    </item>
  </channel>
</rss>

