Sasenterpriseguideabusinessscenario 100312030159 Phpapp01

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

SAS Enterprise Guide 4.

2 Business Scenario
What is SAS Enterprise Guide 4.2?
SAS Enterprise Guide, a powerful Windows client application, provides a point-and-click interface to the full power of SAS. Interactive dialog boxes guide users through analytic and reporting tasks that range from simple to complex. It also provides transparent access to SAS data and external data and enables exporting the results to other Windows and server-based applications. Reports created using SAS Enterprise Guide can be distributed on a periodic basis to targeted groups of users within the organization, enabling the latest intelligence to reach those who need it to make the right business decisions.

Introduction to Workshop Scenario


This workshop blends together some of the latest enhancements and some functionality with which you are already familiar. A goal of the workshop is to expose some of the SAS Enterprise Guide capabilities not generally covered in standard SAS Education courses. This workshop scenario takes you through a typical task of creating a SAS Enterprise Guide project that connects to a data source (in this case a SAS OLAP cube), performs some tasks on the data and generates some resulting reports. We make use of an OLAP cube from the Orion Star sample data source. Orion Star Sports & Outdoors is a fictitious retail company that sells sports and outdoor products. Page 1 of 14 Thank you for using SAS Data Integration Studio

Orion Star has retail stores in many countries throughout the world. The company sells products in retail stores, through catalogue mail orders and over the Internet. Orion Star have been using a set of spreadsheets to conduct their annual forecast for sales revenue by channel. They have found this process cumbersome and inaccuracies have cost them dearly in overs and unders. Your task is to produce a statistical forecast report from the data stored in the Orion Channel Sales cube.

Using SAS Enterprise Guide 4.2


Step 1 - Invoke SAS Enterprise Guide 4.2.
1. Select Start Programs SAS SAS Enterprise Guide 4.2. 2. The Welcome Dialog opens. Select New Project.

Welcome Dialog

Step 2 Opening an OLAP Cube.


1. Select File Open OLAP Cube 2. In the Open OLAP Cube dialog, select OLAP Servers SASApp Foundation Channel Sales.

Page 2 of 14 Thank you for using SAS Data Integration Studio

Step 3 Modifying the Table view of the cube.


1. In the Table View, drill down to Month Name on the Year cell.

Page 3 of 14 Thank you for using SAS Data Integration Studio

2. In the Table View, replace Total Profit with Total Sales.

Page 4 of 14 Thank you for using SAS Data Integration Studio

3. In the Table View, Move Channel Dimension to Rows.

Page 5 of 14 Thank you for using SAS Data Integration Studio

Step 3 Running a task on a slice of the cube


1. Select Tasks Data Filter and Sort

Page 6 of 14 Thank you for using SAS Data Integration Studio

2. In the Filter and Sort Dialog select the columns as illustrated below:

3. Select OK. 4. The Table Viewer would normally open automatically. Close the Table Viewer.

Page 7 of 14 Thank you for using SAS Data Integration Studio

Step 3 Preparing the time series data


1. Select Tasks Time Series Prepare Time Series Data

2. Configure the Data Dialog of the Prepare Time Series Task as illustrated below:

Page 8 of 14 Thank you for using SAS Data Integration Studio

3. Right-Mouse click select Total Sales Properties

4. Configure the Properties as illustrated below and click OK:

Page 9 of 14 Thank you for using SAS Data Integration Studio

5. Configure the Results dialog as follows and click Run:

6. Select Run. 7. Close the Table Viewer.

Page 10 of 14 Thank you for using SAS Data Integration Studio

Step 4 Setting up a basic statistical forecast


1. Select Tasks Time Series Basic Forecasting

2. Configure the Data dialog of the Basic Forecast Task as illustrated below:

Page 11 of 14 Thank you for using SAS Data Integration Studio

3. Change the Time interval between observations on the Forecast Options Dialog to Monthly

4. Save forecast data to SASApp: WORK.Channel_Forecast as illustrated below.

Page 12 of 14 Thank you for using SAS Data Integration Studio

5. Change the Title as illustrated below:

6. Remove the default Footnotes. 7. Select Run 8. Peruse the results then close the Results Tab.

Page 13 of 14 Thank you for using SAS Data Integration Studio

Step 5 Exporting forecast data to a spreadsheet


9. Highlight the Forecast of WORK.SALES_FORECAST node and select Export Export Forecast of WORK.SALES_FORECAST as a step in Project Basic Forecasting

10. 11. 12. 13. 14. 15.

Select Next Select Microsoft Excel 97 2003 Workbooks (xls.*). Select Next. Check the Use Labels for Column Names checkbox. Select Next Under Output Options unselect Overwrite existing output. Note: Once you have unchecked the checkbox, mouse-over the checkbox again and notice the comments in the pane below. It is now possible for the SAS export utility to generate date/time stamped output data. 16. Select Next 17. Select Finish 18. Close the Table Viewer

Optional Step 6 Exporting forecast data to a spreadsheet


1. Highlight the SAS Report Basic Forecasting node and select Create Report from the drop-down menu to construct a WYSIWYG report of your choice. 2. Send the report to Microsoft Word 3. Export the report to HTML

Page 14 of 14 Thank you for using SAS Data Integration Studio

You might also like