BookmarkSubscribeRSS Feed
databobjr
Calcite | Level 5
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.
3 REPLIES 3
Madelyn_SAS
SAS Super FREQ
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..
databobjr
Calcite | Level 5
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.
AngelaHall
SAS Employee
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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1148 views
  • 0 likes
  • 3 in conversation