BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

Can any one tell me how can I distribute a report through WRS where my report is being generated through a stored process.
I want to distribute my report by group breaks i.e.
branch wise
2 REPLIES 2
AngelaHall
SAS Employee
If the Stored Process is generating the report element (such as a crosstab), then using the 'by' statement within that PROC will generate STP results for each BY group.

If you would prefer to get the Web Report Studio Group By breaks, I would recommended that a SAS Information Map is generated to execute the SAS Stored Process, then in Web Report Studio create a report using the included report objects and add the Group By breaks there.

Zencos Consulting
http://www.zencos.com
RichardH_sas
SAS Employee
I haven't done a group break distribution personally, but I know it can be done. Here's the documentation; it starts talking about group breaks in step 12. http://support.sas.com/documentation/cdl/en/citug/61084/HTML/default/p0ssvy4ny3bg9mn1kr7cxepb2dc3.ht...

A word of warning: these are instructions for group breaks that are defined on a report section in WRS with a specific information map data source. You can still use the distribute report wizard on a report containing only a stored process. HOWEVER, if you had some sort of code in your stored process which defined groups, you'd have to write more code to distribute by those groups, probably using FILENAME EMAIL statements. So, the easy distribution for group breaks only works if you built the report based on an information map in WRS and selected hierarchy or category data items for the group breaks.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 530 views
  • 0 likes
  • 3 in conversation