Simple Acme Sales Example |
![]() |
![]() |
![]() |
To create the Simple Acme Sales document, follow these steps:
Make sure that the SAS IOM Spawner is running. To start it, select Start
Programs
SAS AppDev Studio
Services
SAS V9.1
Start SAS V9.1 IOM Spawner.
Start webEIS.
Create a new document named Acme-Sales1
, and name the first section Sales
. Click OK.
Connect to your local machine. Select your machine from the Server Connection drop-down list the Data window. In the Data Source list, select MDDB Example Sales Data (SASHELP SASHELP.PRDMDDB). Click OK. This populates the data tree to the left of the component window.
Add the visual components and arrange them as shown on the See It tab:
Component | Icon |
---|---|
Label | ![]() |
Bar Chart | ![]() |
Drill Path | ![]() |
Multidimensional Table | ![]() |
Hyperlink | ![]() |
Specify the data to display in your table and chart as follows:
Query | Selected Item(s) |
---|---|
Rows | Geographic and Time hierarchies |
Columns | Product Line hierarchy |
Measures | Actual Sales and Predicted Sales analysis variables |
Click OK. Select View Refresh to load the data into the table and chart. Note that SUM is automatically added to the Measures item under each of the selected analysis variables.
Tip: You can use the following single-key shortcuts to move items in the Data tree:
Set the following values for the report label. Right-click the Label component to open the pop-up menu, and then select Properties.
Tab | Name | Value |
---|---|---|
LabelView | Label | Acme Inc. |
Appearance | Color Foreground | Blue |
Appearance | Font | Dialog-Bold-20pt |
Click Close to apply and save your changes.
Set the following values for the hyperlink. Right-click the Hyperlink component to open the pop-up menu and then select Properties.
Tab | Name | Value |
---|---|---|
LabelView | Label | SAS Home Page |
Hyperlink | URL | http://www.sas.com |
Click Close to apply and save your changes.
Use the spacing and alignment tools that are available from the Format menu to arrange the components on the report.
Save the document with the name Acme-Sales1
. Start the Web server by selecting Tools Start Java Web Server. Then select File
Preview in Browser to preview the document.