<?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: drill down or Collapsing of a group in Proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/drill-down-or-Collapsing-of-a-group-in-Proc-report/m-p/66034#M7672</link>
    <description>Hi:&lt;BR /&gt;
  Generally, when folks define a hyperlink in PROC REPORT and that hyperlink goes to another page, that -is- considered a "drill-down" even if the original link is drilling down to a new HTML page. That is the most common form of static drill-down available out of the box with PROC REPORT -- the URL= option.&lt;BR /&gt;
 &lt;BR /&gt;
  The type of "expanding" information you describe sounds like dynamic HTML or HTML with embedded Javascript or possibly PHP or ???? It almost sounds to me like you want the HTML page to act like an Excel Pivot Table. I believe you will either:&lt;BR /&gt;
1) have to code the JavaScript/DHTML/PHP yourself by modifying the HTML4 tagset template (or using techniques such as the one discussed here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/24/068.html" target="_blank"&gt;http://support.sas.com/kb/24/068.html&lt;/A&gt; &lt;BR /&gt;
 or&lt;BR /&gt;
2) if this type of drill-down behavior is possible with XML and an XSL transform, then code a custom XML tagset template and a custom XSL transform &lt;BR /&gt;
or&lt;BR /&gt;
3) create an Excel Pivot Table out of your report data (I believe this is possible using the TAGSETS.TABLEEDITOR destination, which creates HTML with embedded JavaScript to enable the HTML file to be opened in Excel. &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/index.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/index.html&lt;/A&gt;  )&lt;BR /&gt;
 &lt;BR /&gt;
With the SAS Add-in for Microsoft Office, you could build your Pivot Table directly from a SAS data source. But, the SAS Add-in is part of the Platform for Business Analytics. And, of course, the Platform also has OLAP cube capability, which also has the kind of expansion and drill-down features that you describe.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Sat, 21 Aug 2010 18:04:05 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-08-21T18:04:05Z</dc:date>
    <item>
      <title>drill down or Collapsing of a group in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/drill-down-or-Collapsing-of-a-group-in-Proc-report/m-p/66033#M7671</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I was a bit curious to know whether it is possible for us to create a drill down(group) or collapsing in proc report.&lt;BR /&gt;
&lt;BR /&gt;
Eg:&lt;BR /&gt;
&lt;BR /&gt;
Proc report output:&lt;BR /&gt;
&lt;BR /&gt;
Zone        Region          Count         Value&lt;BR /&gt;
&lt;BR /&gt;
East        kolkatha           5               1000&lt;BR /&gt;
East        Orissa             7                 500&lt;BR /&gt;
East        Assam             3                200&lt;BR /&gt;
E.Total     ---                  15              1700&lt;BR /&gt;
North       Delhi               5                 300&lt;BR /&gt;
North       UP                  6                 200&lt;BR /&gt;
N.Total     -----                11                500&lt;BR /&gt;
South       Kerala            10               6000&lt;BR /&gt;
South      Tamilnadu        5                 500&lt;BR /&gt;
S.Total      -------             15               6500&lt;BR /&gt;
West       Mumbai           20               1000&lt;BR /&gt;
West       Gujrat              14                800&lt;BR /&gt;
W.Total    -------                34              1800&lt;BR /&gt;
GrandTotal    ---------         75               10500&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
What I want is, in the summary page a plus "+"  symbol should come which when I click should expand to give the total values...ie in the report I should have only Zone summary as shown below..&lt;BR /&gt;
&lt;BR /&gt;
Zone        Region          Count         Value&lt;BR /&gt;
(+)E.Total    ------------------   15              1700&lt;BR /&gt;
(+)N.Total    ------------------    11               500&lt;BR /&gt;
(+)S.Total     ------------------    15               6500&lt;BR /&gt;
(+)W.Total    ------------------    34              1800&lt;BR /&gt;
GrandTotal     ------------------   75             10500&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I have succeded in giving a link at each zone value and the correponding page will be opened in a seperate page..But if it is possible to give a drill down that would be perfectly fine..&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance..&lt;BR /&gt;
Syam</description>
      <pubDate>Sat, 21 Aug 2010 07:58:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/drill-down-or-Collapsing-of-a-group-in-Proc-report/m-p/66033#M7671</guid>
      <dc:creator>syam_india_kochi</dc:creator>
      <dc:date>2010-08-21T07:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: drill down or Collapsing of a group in Proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/drill-down-or-Collapsing-of-a-group-in-Proc-report/m-p/66034#M7672</link>
      <description>Hi:&lt;BR /&gt;
  Generally, when folks define a hyperlink in PROC REPORT and that hyperlink goes to another page, that -is- considered a "drill-down" even if the original link is drilling down to a new HTML page. That is the most common form of static drill-down available out of the box with PROC REPORT -- the URL= option.&lt;BR /&gt;
 &lt;BR /&gt;
  The type of "expanding" information you describe sounds like dynamic HTML or HTML with embedded Javascript or possibly PHP or ???? It almost sounds to me like you want the HTML page to act like an Excel Pivot Table. I believe you will either:&lt;BR /&gt;
1) have to code the JavaScript/DHTML/PHP yourself by modifying the HTML4 tagset template (or using techniques such as the one discussed here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/24/068.html" target="_blank"&gt;http://support.sas.com/kb/24/068.html&lt;/A&gt; &lt;BR /&gt;
 or&lt;BR /&gt;
2) if this type of drill-down behavior is possible with XML and an XSL transform, then code a custom XML tagset template and a custom XSL transform &lt;BR /&gt;
or&lt;BR /&gt;
3) create an Excel Pivot Table out of your report data (I believe this is possible using the TAGSETS.TABLEEDITOR destination, which creates HTML with embedded JavaScript to enable the HTML file to be opened in Excel. &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/index.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/index.html&lt;/A&gt;  )&lt;BR /&gt;
 &lt;BR /&gt;
With the SAS Add-in for Microsoft Office, you could build your Pivot Table directly from a SAS data source. But, the SAS Add-in is part of the Platform for Business Analytics. And, of course, the Platform also has OLAP cube capability, which also has the kind of expansion and drill-down features that you describe.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 21 Aug 2010 18:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/drill-down-or-Collapsing-of-a-group-in-Proc-report/m-p/66034#M7672</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-08-21T18:04:05Z</dc:date>
    </item>
  </channel>
</rss>

