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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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