BookmarkSubscribeRSS Feed
tommy81
Obsidian | Level 7
Hi ,

Please could somebody share with links of materials which would help build
complex excel based reports from sas.

Actually wat i need to create is a report with multiple layers of hedings and rows
in the same page with aggregations , etc..
3 REPLIES 3
Peter_C
Rhodochrosite | Level 12
have a look at
"ODS MARKUP: The SAS Reports You've Always Dreamed Of (.pdf)" at http://support.sas.com/rnd/base/ods/odsmarkup/p85-30_020205.pdf and appreciate that there have been some significant improvements since then.
Explore http://support.sas.com/rnd/base/ods/
Cynthia_sas
SAS Super FREQ
Hi:
I don't know what you mean by "multiple layers of headings and rows", however, ODS MARKUP, specifically, TAGSETS.EXCELXP will create multi-sheet Excel workbooks which allows extensive control over print headings and print footers and also allow multiple tables to be placed together in one sheet. In addition TAGSETS.EXCELXP allows you to freeze Excel column headers for easier "scrolling" of long tables and allows you to turn on autofilter. This all works because TAGSETS.EXCELXP creates Spreadsheet Markup Language XML which is the Microsoft specification for Office 2003 XML.

In addition, you can create HTML output using ODS HTML, ODS MSOFFICE2K or ODS TAGSETS.TABLEEDITOR. While most HTML methods will not give you multi-sheet workbooks, you can do different types of workbooks with HTML-based methods. TAGSETS.TABLEEDITOR, in particular embeds JavaScript in the HTML tags so that you can build pivot tables, for example. Pretty cool stuff.

The link that Peter gave you is the place to start. Also using a Google search to find user group papers, such as this one:
http://www.nesug.org/proceedings/nesug08/ap/ap06.pdf

might also be helpful.

cynthia

Also, since you have previously posted of using Web Report Studio and the BI Platform, please keep in mind that not all of these destinations' output will work with the SAS Add-in for Microsoft Office. For example, TAGSETS.EXCELXP type of XML is not an output type that would be respected by the Add-in for Microsoft Office or Web Report Studio.
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

In the past when I needed to create an Excel report that contained aggregated results I found the DDE process with put '09'x worked well.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 943 views
  • 0 likes
  • 4 in conversation