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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 794 views
  • 0 likes
  • 3 in conversation