Traditional web-based reporting with SAS BI tools

Export and Import Web Report Studio (4.2) Report Codes

Reply
Contributor
Posts: 22

Export and Import Web Report Studio (4.2) Report Codes

Hi,

Is there a way to report Web Report Studio (4.2) Report Codes? In cube studio (4.2), one can report the codes of the cube and edit them and run it in enterprise guide to create a new cube. Can we do the same for Web Report?

I created a few custom items in a Web Report (4.2), Is there a way to import them to a different report?


Thanks,
Bob.
SAS Super FREQ
Posts: 407

Re: Export and Import Web Report Studio (4.2) Report Codes

There is no feature in WRS that you can use to export code that can be used to create new reports. If you think that you will reuse custom data items, it is best to create them in the information map, so that they can be used in multiple reports.

You also can do a Save As on the existing report and then edit the copy as needed..
Contributor
Posts: 22

Re: Export and Import Web Report Studio (4.2) Report Codes

Not all of data items cannot be defined in information map. For example, we have :

date, new subscribers, existing subscribers, canceled subscribers. total subscribers, %new

total subscribers = new + existing - canceled

%new = new/total.

report can be grouped by date,week, month, etc.

In this report, the calculation cannot be done in information map. It need to be done on reports, Am I right?

thanks,
Bob.
SAS Employee
Posts: 238

Re: Export and Import Web Report Studio (4.2) Report Codes

Actually, you can define these measures in the Information Map.
Using the expression editor, you will need to include code that works in SQL.

For the example total subscribers = new + existing - canceled, you will need to do something like the following:

CASE WHEN subscriber = new THEN 1
ELSE WHEN subscriber = existing THEN 1
ELSE WHEN subscriber = canceled THEN -1
END

Then on the data item properities 'Classifications, Aggregations, Formats' tab - verify that this is defined as a measure with the only aggregate function as SUM.

~ Angela
http://sas-bi.blogspot.com
Ask a Question
Discussion stats
  • 3 replies
  • 226 views
  • 0 likes
  • 3 in conversation