Maintaining OLAP Groups and OLAP Summary Data Stores |
Overview |
Suppose you want to use a specific column from input data to generate multiple statistics for your summary data. That is, you want to use one input analysis column for multiple output statistic columns. To produce the appropriate statistics:
Assign each added column as a statistic column, using the appropriate statistic.
In the Mapping process for the summary data store, map the added column(s) to the analysis column.
Note: The following explanations describe only the metadata and methods that specifically apply to this example.
Add Columns to OLAP Summary Data Store |
This explanation adds two numeric columns named minrevenue and maxrevenue to an OLAP Table. You add columns from the Columns tab in the object's properties window, which for this example is the OLAP Table Properties window.
Assign OLAP Summary Roles to the Columns |
On the Columns tab, click to open the OLAP Column Roles window from which you assign specific OLAP summary roles.
Assign the minrevenue and maxrevenue columns as statistic columns, using the statistics MIN and MAX, as follows:
Define Mapping Process in Process Editor Job |
The added statistic columns, shown in the following Mapping Process Properties window, must be mapped to the analysis column.
To map the added statistic columns to the analysis column:
From the Column Mapping tab in the Mapping Process Properties window, select the column, such as minrevenue.
Click to open the One-to-One Column Mapping window as follows:
Select the analysis column from under the label Source Column.
Select the statistic column from under the label Target Column.
When you click , you are returned to the Column Mapping tab in the Mapping Process Properties window as follows:
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.