<?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 Multiple data sets in one ODS report? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-data-sets-in-one-ODS-report/m-p/53387#M5672</link>
    <description>Hey everyone,&lt;BR /&gt;
Quick question.  Is it possible to use two different data sets to produce the same report on the same tab?  My output is an XML file using ODS.&lt;BR /&gt;
&lt;BR /&gt;
i.e.:&lt;BR /&gt;
&lt;BR /&gt;
Data set 1 contains data from 3/21 - 3/27.&lt;BR /&gt;
Data set 2 contains data from 2/1 - 3.27.&lt;BR /&gt;
&lt;BR /&gt;
The chart I want to build has grouping and analysis variables... so the column headers would be &lt;BR /&gt;
&lt;BR /&gt;
Market......Var1.... Var2.... Var3.... etc....&lt;BR /&gt;
&lt;BR /&gt;
And I would want my data to be grouped as:&lt;BR /&gt;
&lt;BR /&gt;
(from data set 1)&lt;BR /&gt;
&lt;BR /&gt;
Market 1.....4........54......2.8.....etc..&lt;BR /&gt;
Market 2.....3........48......3.2.....etc...&lt;BR /&gt;
Market 3.....5........55......1.8.....etc...&lt;BR /&gt;
&lt;BR /&gt;
(from data set 2 in a separate table)&lt;BR /&gt;
&lt;BR /&gt;
Market 1.....4.8.....49......3.8....etc...&lt;BR /&gt;
Market 2.....3.1....54.......3.3....etc....&lt;BR /&gt;
Market 3.....4.4....49.......2.3....etc....&lt;BR /&gt;
&lt;BR /&gt;
Is this possible?  Or will it just always be produced on another tab within the output file?  Or can I create a subset of data within the PROC REPORT statement?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
    <pubDate>Tue, 19 Apr 2011 21:08:00 GMT</pubDate>
    <dc:creator>Russell</dc:creator>
    <dc:date>2011-04-19T21:08:00Z</dc:date>
    <item>
      <title>Multiple data sets in one ODS report?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-data-sets-in-one-ODS-report/m-p/53387#M5672</link>
      <description>Hey everyone,&lt;BR /&gt;
Quick question.  Is it possible to use two different data sets to produce the same report on the same tab?  My output is an XML file using ODS.&lt;BR /&gt;
&lt;BR /&gt;
i.e.:&lt;BR /&gt;
&lt;BR /&gt;
Data set 1 contains data from 3/21 - 3/27.&lt;BR /&gt;
Data set 2 contains data from 2/1 - 3.27.&lt;BR /&gt;
&lt;BR /&gt;
The chart I want to build has grouping and analysis variables... so the column headers would be &lt;BR /&gt;
&lt;BR /&gt;
Market......Var1.... Var2.... Var3.... etc....&lt;BR /&gt;
&lt;BR /&gt;
And I would want my data to be grouped as:&lt;BR /&gt;
&lt;BR /&gt;
(from data set 1)&lt;BR /&gt;
&lt;BR /&gt;
Market 1.....4........54......2.8.....etc..&lt;BR /&gt;
Market 2.....3........48......3.2.....etc...&lt;BR /&gt;
Market 3.....5........55......1.8.....etc...&lt;BR /&gt;
&lt;BR /&gt;
(from data set 2 in a separate table)&lt;BR /&gt;
&lt;BR /&gt;
Market 1.....4.8.....49......3.8....etc...&lt;BR /&gt;
Market 2.....3.1....54.......3.3....etc....&lt;BR /&gt;
Market 3.....4.4....49.......2.3....etc....&lt;BR /&gt;
&lt;BR /&gt;
Is this possible?  Or will it just always be produced on another tab within the output file?  Or can I create a subset of data within the PROC REPORT statement?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Tue, 19 Apr 2011 21:08:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-data-sets-in-one-ODS-report/m-p/53387#M5672</guid>
      <dc:creator>Russell</dc:creator>
      <dc:date>2011-04-19T21:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple data sets in one ODS report?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-data-sets-in-one-ODS-report/m-p/53388#M5673</link>
      <description>I assume you are outputing to Excel using EXCELXP tagsets although you don't say so explicitly.&lt;BR /&gt;
&lt;BR /&gt;
If so then you can use: &lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp options (SHEET_NAME = 'Mytab' SHEET_INTERVAL = 'NONE') ; &lt;BR /&gt;
&lt;BR /&gt;
before your PROC REPORT code so that the two reports stay in the same tab.</description>
      <pubDate>Tue, 19 Apr 2011 22:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-data-sets-in-one-ODS-report/m-p/53388#M5673</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2011-04-19T22:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple data sets in one ODS report?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-data-sets-in-one-ODS-report/m-p/53389#M5674</link>
      <description>Yes, sorry I wasn't explicit... but that works perfectly!  Thank you!</description>
      <pubDate>Tue, 19 Apr 2011 22:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-data-sets-in-one-ODS-report/m-p/53389#M5674</guid>
      <dc:creator>Russell</dc:creator>
      <dc:date>2011-04-19T22:39:26Z</dc:date>
    </item>
  </channel>
</rss>

