Sas Enterprise Guide Whats New
-
Upload
optimalbi-limited -
Category
Technology
-
view
4.270 -
download
5
Transcript of Sas Enterprise Guide Whats New
Page 1 of 21 Thank you for using SAS Enterprise Guide 4.2
SAS Enterprise Guide 4.2 – What’s New
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.
A raft of improvements has been included in the latest release of SAS Enterprise Guide 4.2.
SAS Enterprise Guide 4.2 includes the following new features and
enhancements:
Enhancements to the User Interface and Project Flow
The SAS Enterprise Guide user interface has been simplified to include a context-sensitive toolbar in
the workspace that changes based on what is displayed in the workspace.
You can now recover a project if SAS Enterprise Guide closes unexpectedly.
You can perform conditional processing with new condition nodes.
Parameters are now referred to as prompts, and the user interface has been updated to include
many new prompt types.
Page 2 of 21 Thank you for using SAS Enterprise Guide 4.2
Enhancements to Results
SAS Report is the default output format.
You can now export results in the SAS Report format to HTML.
When you export a file as a step in a project, you can choose to replace any previous output or save
the output with a time and date history.
When you e-mail a file as a step in a project, you can specify the name of the attached file.
You can now send a file to the SAS Add-In for Microsoft Office.
Enhancements to the Import Data Task
The Import Data task user interface has been improved and now has better default settings.
You can import Microsoft Excel data by using Microsoft Excel, if it is installed.
You can use SAS/ACCESS for PC File Formats, if it is installed.
You can now embed data as DATALINES, or you can use the traditional INFILE method.
Enhancements to the Query Builder
You can change the relationship between filters directly on the Filter Data tab.
There is better detection of expressions that contain aggregations for use in computed columns.
The New Computed Column wizard has an improved user interface.
The interface to create a recoded column has been improved, and you can now specify replacement
values based on a conditional expression.
The expression builder interface has been updated and provides better support for gathering data
values.
You can now specify a title and footnote for your query output.
SQL Pass-Through statements are now validated when you are joining DBMS tables.
Enhancements to the OLAP Analyzer
The OLAP Analyzer can now support multiple, independent views of a cube.
In addition to creating filters that are based on a ranking function or on a range of values, you can
now filter by member caption and member property. You can also create filters that can be used by
multiple queries.
New Macro Variables
The following macro variables are new:
Page 3 of 21 Thank you for using SAS Enterprise Guide 4.2
_CLIENTPROJECTPATH specifies the full path and filename for the project. In previous releases, the
_CLIENTPROJECTNAME variable contained this information. Now, the _CLIENTPROJECTNAME
variable specifies the filename for the project.
_CLIENTTASKFILTER specifies the filter that is defined for the task. You can use this macro variable in
the titles and footnotes of the task, so that the filter information is displayed in the title or footnote
of your results.
New and Enhanced SAS Tasks
General Enhancements
When you open a task, the task uses the active data source as the input data source by default.
Now, from the Data panel for the task or the Verify Data step of the wizard, you can modify the data
source in the following ways:
select a different data source
create a filter
In the advanced tasks, you can now edit and view the properties of the task from the new Properties
panel.
Task templates enable you to save your settings for a specific task to a template. You can then run
that template with any input data source. After they have been created, these templates are
available to use in SAS Enterprise Guide and the SAS Add-In for Microsoft Office.
Enhanced Tasks
The following tasks have been enhanced:
The Bar Chart task now supports multiple chart variables within a single group variable. Two new
bar types, Multiple Measures Vertical Groups and Multiple Measures Horizontal Groups, have been
added.
In the Bar-Line Chart task, you can now create multiple line plots and specify the line statistics for
each individual plot. You can also create multiple legends for the chart.
In the Correlations task, you can now use the Fisher options for Pearson or Spearman correlations.
The following tasks now support ODS statistical graphics. The tasks are listed by category.
o ANOVA: Linear Models, One-Way ANOVA, t Test
o Describe: Distribution Analysis, One-Way Frequencies, Summary Statistics
o Multivariate: Cluster Analysis, Correlations, Factor Analysis, Mixed Models, Principal
Components
o Regression: Generalized Linear Models, Linear Regression, Logistic Regression
o Survival Analysis: Life Tables, Proportional Hazards
o Time Series: Create Time Series Data
Page 4 of 21 Thank you for using SAS Enterprise Guide 4.2
New Tasks
The following tasks are new for this release:
Download Data Files to PC enables you to select one or more SAS data sets (*.sas7bdat) from one or
more SAS servers and copy them to your local Microsoft Windows file system.
Filter and Sort enables you to select the variables to include when you open the data source in SAS
Enterprise Guide, create a simple or advanced filter, and specify the sort order for the data.
List Report Wizard enables you to create detail or summary reports. A detail report contains one
row for every observation selected for the report. A summary report consolidates data so that each
row represents multiple observations.
Tile Chart enables you to create a tile chart. A tile chart is a rectangular tree map that enables you to
view a large quantity of hierarchical data in a limited space. Each unique category combination is
represented by a rectangular tile whose size and colour are determined by response variables.
These tiles are placed in a hierarchical arrangement.
Update Library Metadata enables you to run a report on table definitions in the metadata repository
or to update these definitions.
Upload Data Files to Server enables you to select one or more SAS data sets (*.sas7bdat) from your
local Microsoft Windows file system and copy them to a SAS server.
Introduction to Workshop Scenario Clearly we will not have enough time in this workshop to experience all the new features and functions
of the latest release. The exercises blend together some of the latest enhancements and some
functionality with which you are already familiar.
This workshop scenario takes you through a typical task of creating a SAS Enterprise Guide project that
connects to a data source, performs some tasks on the data and generates some resulting reports.
We make use of a summary table from the Orion Star sample data source. Orion Star Sports & Outdoors
is a fictitious retail company that sells sports and outdoor products.
Orion Start has retail stores in many countries throughout the world.
The company sells products in retail stores, through catalogue mail orders and over the Internet.
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.
Page 5 of 21 Thank you for using SAS Enterprise Guide 4.2
Welcome Dialog
Step 2 - Assigning a project library. 1. Select Tools → Assign Project Library. The Assign Project Library Wizard opens.
2. Type orsum in the Name field
3. Select Next.
4. Type D:\SASProject\Orion\Data\orsum in the Path field. Tip: Don’t use the Browse button in this
instance.
5. Select SASApp on Server drop-down.
6. Select Next.
7. Select Next again.
8. Select Finish. The Log tab should open to display the successful assignment of the library.
9. Select the associated with the Assign Project Library task to close the Log as illustrated below.
We want to use the Order_Summary_2 table in our project so we need to drop it into a Process Flow.
10. Select the Server List icon in the Resource pane.
Page 6 of 21 Thank you for using SAS Enterprise Guide 4.2
11. Expand Servers.
12. Expand SASApp.
13. Expand Libraries.
14. Expand Orsum.
15. Double-Click Order_Summary_2. Table automatically opens in the Process Flow pane.
16. Close the Table Viewer in the workspace pane.
Step 3 - Defining a Prompt We will be using the new Prompt framework to filter a task so we need to define the prompt.
1. Select the Prompt Manager icon in the Resource pane.
2. Select Add. The Add New Prompt dialog appears.
3. Type Country in the Name field. Note: The dialog automatically populates the Displayed text field.
4. Under Options, check the box labelled Requires a non-blank value.
Add New Prompt Dialog
5. Activate the Prompt Type and Values tab.
6. Select User selects values from a static list from the drop-down list for the Method for populating
prompt field. The Dialog automatically changes to display the associated options.
Page 7 of 21 Thank you for using SAS Enterprise Guide 4.2
Add New Prompt Dialog
7. Select Get Values… The Get Values dialog opens.
8. Select Browse…. The Open File dialog appears.
9. Select Servers →SASApp→Libraries→Orsum→ORDER_SUMMARY_2
10. Select Country from the drop-down list for the Column field.
Get Values Dialog
11. Select Get Values on the Browse tab.
12. Select .
13. Select OK. The Get Values dialog closes.
Page 8 of 21 Thank you for using SAS Enterprise Guide 4.2
14. Select the NZ as the default value by checking the radio button under the Default column.
Add New Prompt Dialog
15. Select OK.
Page 9 of 21 Thank you for using SAS Enterprise Guide 4.2
Step 4 - Building a Query We can now start to build our process on the Process Flow pane.
1. In the Process Flow pane, Right-Mouse click the Order_Summary_2 node and select Query
Builder…
2. Highlight the fields illustrated below and drop them onto the Select Data tab:
Field Selection
3. In the Select Data tab highlight Sales and select SUM from the drop-down list in the Summary
column. Note : The column name automatically changes to SUM_of_SALES.
4. Double-click on SUM_of_SALES to open the Properties for SUM_of_SALES dialog.
Page 10 of 21 Thank you for using SAS Enterprise Guide 4.2
5. Type Revenue in the Alias and Label fields.
6. Change the format to Dollar12.
7. Select OK.
Properties for Revenue
8. In the Select Data tab highlight ALLCOST and select SUM from the drop-down list in the Summary
column. Note : The column name automatically changes to SUM_of_ALLCOST.
9. Double-click on SUM_of_ALLCOST to open the Properties for SUM_of_ALLCOST dialog.
Page 11 of 21 Thank you for using SAS Enterprise Guide 4.2
10. Type Cost_of_Sales in the Alias and Label fields.
11. Change the format to Dollar12.
12. Select OK.
Properties for Cost_of_Sales
13. Select Computed Columns.
14. Select New…
15. Check the Advance Expression radio button.
16. Select Next>. The New Computed Column Wizard opens.
Page 12 of 21 Thank you for using SAS Enterprise Guide 4.2
17. Expand Select Columns
New Computed Column dialog
18. Double-click Revenue.
19. Left-Mouse Click the minus sign
New Computed Column dialog
Page 13 of 21 Thank you for using SAS Enterprise Guide 4.2
20. Double-click Cost_of_Sales
21. Select Next>.
22. Type Margin in the Column and Alias fields.
23. Change the Format to Dollar12.
24. Select Finish.
New Computed Column dialog
25. Select Finish.
26. Close the Computed Columns Dialog.
27. Ensure the following options are checked:
a. Automatically select groups.
b. Select distinct rows only.
Page 14 of 21 Thank you for using SAS Enterprise Guide 4.2
Query Builder
28. Select Run. A table called QUERY_FOR_ORDER_SUMMAR_2 will display in the Table Viewer.
29. Close the Table Viewer in the workspace pane.
Step 5 - Filtering Data using the new Filter and Sort Task
1. Right_Mouse click the QUERY_FOR_ORDER_SUMMARY_2 node and select Filter and Sort… from
the drop-down menu.
2. Highlight the fields illustrated below and then select them with the button.
3. On the Filter tab, configure Country Equal to AU as illustrated below:
Page 15 of 21 Thank you for using SAS Enterprise Guide 4.2
4. Select OK.
5. Close the Table Viewer.
6. Right-Mouse click the Filter and Sort node and select Properties.
7. Type Filter AU data in the Label field.
8. Select OK.
Properties for Filter and Sort dialog
Page 16 of 21 Thank you for using SAS Enterprise Guide 4.2
Step 6 - Adding a Pie Chart
1. Select the Task List icon in the Resource pane.
2. Select Pie Chart.
3. Select Simple Pie.
4. Select Data and configure the Data dialog as illustrated below:
5. Select Save.
Page 17 of 21 Thank you for using SAS Enterprise Guide 4.2
Step 7 - Adding a Bar Chart
1. Select the Task List icon in the Resource pane.
2. Drag Bar Chart and drop it onto the QUERY_FOR_ORDER_SUMMARY_2 node.
3. Select Multiple Measures Vertical Group.
Bar Chart Node
4. Select Data.
Page 18 of 21 Thank you for using SAS Enterprise Guide 4.2
5. Configure the Data dialog as illustrated below:
Bar Chart Data dialog
6. Select Edit…
7. Configure the Edit Data and Filter Dialog as illustrated below:
Page 19 of 21 Thank you for using SAS Enterprise Guide 4.2
Edit data and Filter dialog
8. Select OK.
9. Select Title and change the Graph title to Revenue vs Cost of Sales for &country
10. Select Properties.
11. Select Edit.
12. Select Prompts.
13. Use the Add button to select the Country prompt as illustrated below:
Properties dialog for Bar Chart
14. Select OK.
15. Select Save.
Page 20 of 21 Thank you for using SAS Enterprise Guide 4.2
Step 8 - Conditional Processing
1. Right-Mouse click Filter AU data node and select Condition →Add. The Conditional Processing
dialog opens.
2. Select the Add . The Add a Condition dialog opens.
3. Configure the Add a Condition dialogue as follows:
Add a Condition prompt
4. Select Add
5. Run the Process Flow selecting New Zealand when prompted. Note: The conditional steps do not
execute and an X is flagged to indicate the result of the condition was negative.
6. Now Run the Process Flow selecting Australia when prompted. Note: The conditional steps do
execute this time and a √ is flagged to indicate the result of the condition was positive.
Page 21 of 21 Thank you for using SAS Enterprise Guide 4.2
Optional Exercise 9 - List Report Wizard 1. Try adding a List Report using the new List Report Wizard.