<?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: Crosstab Report with different data fields in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51991#M5560</link>
    <description>This is absolutely doable. Probably the best tool would be the Summary Tables task, which will let you summarize information by rows and columsn. Start with the Summary Tables wizard to set things up (much easier), then right-click on the task and select Open in Advanced View. This will bring up the Summary Tables task in a dialog interface, and from the Tables pane you can right-click on the parts of the report preview you want to change. &lt;BR /&gt;
&lt;BR /&gt;
This is a little bit older paper which doesn't go into the wizard, but might be helpful for getting started:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi31/144-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/144-31.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Richard</description>
    <pubDate>Thu, 09 Jul 2009 09:42:18 GMT</pubDate>
    <dc:creator>RichardH_sas</dc:creator>
    <dc:date>2009-07-09T09:42:18Z</dc:date>
    <item>
      <title>Crosstab Report with different data fields</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51990#M5559</link>
      <description>Hello&lt;BR /&gt;
&lt;BR /&gt;
When producing reports in EG they only allow for a all of the same data elements down the left side but what if you want different data elements?&lt;BR /&gt;
&lt;BR /&gt;
For instance, currently the data is selected and presented as&lt;BR /&gt;
                         Fiscal Year &lt;BR /&gt;
                     Q1      Q2   Q3  Q4    Total&lt;BR /&gt;
Procedure 1    5         6     7      8       26&lt;BR /&gt;
Procedure 2    4         4     4      5       17&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
What I would like to see is:&lt;BR /&gt;
&lt;BR /&gt;
                               Fiscal Year&lt;BR /&gt;
                        Q1   Q2     Q3   Q4   Total&lt;BR /&gt;
Total Cases        5      5      5       5      20&lt;BR /&gt;
Total Days          10    20   30     10      70&lt;BR /&gt;
Total ALC Days   5      3     5       4       17&lt;BR /&gt;
&lt;BR /&gt;
Is this possible?  Thanks.</description>
      <pubDate>Tue, 07 Jul 2009 19:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51990#M5559</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2009-07-07T19:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstab Report with different data fields</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51991#M5560</link>
      <description>This is absolutely doable. Probably the best tool would be the Summary Tables task, which will let you summarize information by rows and columsn. Start with the Summary Tables wizard to set things up (much easier), then right-click on the task and select Open in Advanced View. This will bring up the Summary Tables task in a dialog interface, and from the Tables pane you can right-click on the parts of the report preview you want to change. &lt;BR /&gt;
&lt;BR /&gt;
This is a little bit older paper which doesn't go into the wizard, but might be helpful for getting started:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi31/144-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/144-31.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Richard</description>
      <pubDate>Thu, 09 Jul 2009 09:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51991#M5560</guid>
      <dc:creator>RichardH_sas</dc:creator>
      <dc:date>2009-07-09T09:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstab Report with different data fields</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51992#M5561</link>
      <description>HI Richard&lt;BR /&gt;
&lt;BR /&gt;
Thanks very much.&lt;BR /&gt;
&lt;BR /&gt;
The document you provided doesn't look like what I am requesting.  For instance in their examples they take the field of country and show countries down the left hand side and # of cases (or whatever calculation you want) in the rows with whatever timeframe/criterion that you put in the rows.&lt;BR /&gt;
&lt;BR /&gt;
I want a different field on the left hand side so basically it would be a "page" group of countries but for Canada there would be:&lt;BR /&gt;
Total Cases&lt;BR /&gt;
Total Days&lt;BR /&gt;
Average Days&lt;BR /&gt;
&lt;BR /&gt;
(though this is just an example - I don't actually require page groups)&lt;BR /&gt;
etc.&lt;BR /&gt;
&lt;BR /&gt;
Is that possible in EG (because to code in ODS would probably be very laborious).&lt;BR /&gt;
&lt;BR /&gt;
Thanks.

Message was edited by: shellp55</description>
      <pubDate>Thu, 09 Jul 2009 22:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51992#M5561</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2009-07-09T22:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstab Report with different data fields</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51993#M5562</link>
      <description>Probably need to use the Summary Tables task, rather than the wizard, to start this off. I was playing with SASHELP.CLASS since most everyone has a SASHELP library with some practice data sets like this.&lt;BR /&gt;
&lt;BR /&gt;
Data pane: analysis variables of Age, Height, Weight. Classification variable of Sex. Notice you could have pages, if you wanted.&lt;BR /&gt;
&lt;BR /&gt;
Summary Tables pane: this requires a little playing around with the elements in the preview... but hey, it's faster than writing the PROC TAB code. I first dragged Age, Height, Weight into the rows. Then I dragged Sex into the columns above the Sum statistic (which was automatically added as soon as I dragged over the first group). Then I dragged Sum from available statistics to the left of Age in the rows to get EG to move the statistic label into the rows. To change the rows to display things like "Total Cases", you'd just right click on the headers in the Summary Tables pane and choose heading properties to modify it.&lt;BR /&gt;
&lt;BR /&gt;
That work for you?</description>
      <pubDate>Mon, 13 Jul 2009 12:08:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Crosstab-Report-with-different-data-fields/m-p/51993#M5562</guid>
      <dc:creator>RichardH_sas</dc:creator>
      <dc:date>2009-07-13T12:08:26Z</dc:date>
    </item>
  </channel>
</rss>

