In this section: |
The following topics describe dimension related concepts including designing a simple dimension load, interpreting a Dimension Loader report, and running and scheduling a dimension load.
How to: Reference: |
As you load dimensions, ensure that the metrics in PMF show the correct level of responsibility in the hierarchy. The Dimension Loader tools allow you to quickly map the tables and fields that will serve as the source for the dimensions you will need to load.
The Dimension Loader controls the levels for dimensions used throughout PMF. When you first create a new dimension, determine its logical levels. For example, a Customer dimension might include country, region, state, and city.
The mainstreet_century data mart supplied with PMF uses four typical business dimensions: Location, Organization, Product, and Time. All PMF applications must include a Time dimension.
Important: If you have existing measures, and dimensions are loaded or reloaded, changing this information has a ripple effect throughout the system, so make changes carefully. If you change the intended value member or number of levels in any dimension, you will probably need to reload all data for that dimension, as well as reload all measures.
Note: If your procedures and metadata are not located in the Mainstreet application, make sure you have added the WebFOCUS application containing them to the WebFOCUS Reporting Server APP PATH setting before you attempt a load operation. You can do this using the Web Console.
The following procedure outlines the steps required when designing a simple dimension load. For information about designing a complex dimension load when customizing the Time dimension, see Designing a Custom Time Dimension Load.
The Dimension Loader panel opens, as shown in the following image.
Note: The Dimension Loader automatically loads and displays the levels defined for the metadata and checks the dimension to make sure it is correctly set up. If anything is wrong, the Load status list displays the error.
Note: This field is only available if you have selected either the From measures or Separate table option from the Table Type drop-down list.
To view, and optionally edit, multiple lines of code displayed at the top of the Dimension Loader, click the Edit button. Click the OK button to save any changes, otherwise click the Cancel button.
Note: If you select a text field longer than 30 characters, the loader displays the following message and generates a WebFOCUS function to automatically truncate the field. You can also edit the code to perform more complex text manipulation.
Note: If you select an integer field, the loader displays the following message and generates a WebFOCUS function to automatically convert the field to text.
For information about additional fields and options available in the Dimension Loader, see Additional Options in the Dimension Loader.
Note: Whenever you make any changes in the Dimension Loader, the changes will not be effective until you save the changes, and load the dimension and any associated measures.
When you design a dimension load, the following options are available in the Dimension Loader.
Option |
Description |
---|---|
Prefix Code |
This button opens a field box in which you can type FOCUS or SQL code that will run before the dimension is loaded. Click OK to save the code or Cancel to close the field box without saving your changes. If the table you are using is DBA protected, you can type the command SET USER = user_DBA_ password before you select the source table. For example, the sample Century Corp data uses the password WEBFOCUS. |
Description |
This button opens a field box in which you can type a description of the dimension load. Click OK to save the description or Cancel to close the field box without saving your changes. |
Preview |
This button runs and displays the Dimension Loader report in the "Data for" tab of the Dimension Loader. This report shows you how the load will be performed. For more information, see Interpreting the Dimension Loader Report. Note: You must select at least a Level 1 field in order to activate this option. |
Save |
This button saves metadata information for this dimension. You must save any changes you make before you can perform a dimension load. |
Load |
This button performs the dimension load. Use this to load dimensions after you add new or edit existing information in the Dimension Loader. |
Schedule |
This button opens the dimension load schedule form where you can schedule a one-time or recurring dimension load. For more information, see Running and Scheduling a Dimension Load. |
Sample Data |
This button displays a report in a new browser window, showing sample data for the source table you selected in the Source Table drop-down list. For more information, see Sample Data From Source Tables. |
Add Level Below |
This button adds an additional dimension level field below the field currently selected with the option button to the left of the Level Name. |
Add Level Above |
This button adds an additional dimension level field above the field currently selected with the option button to the left of the Level Name. |
Drop Level |
This button deletes the dimension level field currently selected with the option button to the left of the Level Name. |
Move Level Up |
This button moves the dimension level field currently selected up one level. Use the option button to the left of the Level Name to select a field to move. |
Move Level Down |
This button moves the dimension level field currently selected down one level. Use the option button to the left of the Level Name to select a field to move. |
Delete if not in new (check box)
|
This check box controls how the loader handles records in the dimension load with corresponding dimension values that are no longer in the dimension series. If you select this check box, records are deleted, archived, and not restored after the load is completed. If you deselect this check box, records are deleted, archived, and restored after the load is completed. |
Dim. Tolerances (check box)
|
Selecting this check box activates dimensional tolerances for this dimension. This enables you to select a measure and configure tolerances for each dimension level value. Note: This option will only be available if Dimensional Measure Tolerances in the Tolerances settings is enabled. For more information, see How to Set Dimensional Measure Tolerances. |
Dim. Weights (check box)
|
Selecting this check box activates dimensional measure-to-objective weighting for this dimension. This enables you to select an objective and configure tolerances for each dimension level value. Note: This option will only be available if Dimensional Measure Weights in the Tolerances settings is enabled. For more information, see How to Set Dimensional Measure-to-Objective Weighting. |
Note: As you load dimensions, make sure to document them in the Description field box.
How to: |
Dimensional measure tolerances enable you to set different measure tolerances for different dimension levels. Setting dimensional measure tolerances controls how threshold and flex values are applied to percent reached values in measure calculations. This functionality enables you to vary targets and the amount of difference from targets for each level in a dimension. By default, PMF uses global measure tolerance settings unless you have set tolerances for specific measures at specific dimension levels.
This functionality is only available for new dimensions created in PMF Release 5.
The Settings menu opens.
The Dimension Loader panel opens.
How to: |
Dimensional measure-to-objective weighting enables you to set different weighting values for different dimension levels. Weighting determines the proportional contribution of measures linked to an objective. This functionality enables you to vary the degree each linked measure contributes to an objective at specific dimension levels. By default, PMF uses global dimensional weight settings unless you have set specific objective weighting at specific dimension levels.
This functionality is only available for new dimensions created in PMF Release 5.
The Settings menu opens.
Use the sliders or type in weighting values. Weights must total exactly 100%.
After you have designed the dimension load, click Preview to open, for example, the Data for: Location window in which you can preview the Dimension Loader report.
Note: You must select at least a Level 1 field in order to activate the Preview option.
The following is an example of the Dimension Loader report.
The Dimension Loader report displays the hierarchy of dimension values to be loaded. The report compares data to be loaded to what is already loaded so you can tune Dimension loads. The report shows you the changes you will make when you load the new data.
Minus (-) signs appear next to records to indicate that the records will be deleted. Plus (+) signs appear next to records to indicate that the records will be added. If a record does not have a plus or a minus sign, it means that the record already exists for the dimension. You can sort on the signs so that the records appear in ascending or descending order.
After you are finished tuning the dimension load and are satisfied that the data to be loaded is correct, click Save to save the metadata. You cannot perform a new dimension load unless the metadata has been saved. However, you can load an existing dimension load provided no changes have been made since the last time it was run. If changes are made, save the changes first, then load the dimension.
How to: |
After you have designed, tuned, and saved your dimension load, you can load the data by clicking the Load button in the Dimension Loader. A message appears, informing you that the dimension you loaded is completed (for example, "Dimension load is completed for dimension: Location").
You can automatically run a saved dimension load during specified time intervals using ReportCaster.
For the dimension you selected, for example, Location, the New Schedule panel opens, as shown in the following image.
Note: The New Schedule panel generates Interval, Start Date, and Start Time values based on the values you specified for the load. The schedule is active by default. You can edit these values as needed.
For information on editing a saved schedule, see Manage Tab - Schedules.
How to: |
You can control how PMF displays the values for months, text or numeric labeling (for example, Jan… Feb, or January… February, and so on), and the order these components display (for example, 2009/December or December/2009).
Month Names to be displayed are actual data that is stored in the PMF data mart. To set up Month Name display, you can use the Dimension Loader for the Time Dimension.
Option |
Description |
---|---|
Number (default) |
Displays the month as (most typically) a two-digit number. |
Abbreviation |
Displays the month as a name, using the standard three-character abbreviation for the month (for example, Jan, Feb, Mar, and so on). Note: If you are using PMF configured for another language other than English, the length of the Abbreviation could vary, or be the same as the full length. |
Full Name |
Displays the month as a name using the long version of the name of the month (for example, January, February, March, and so on). Note: If you are using PMF configured for another language, the length of the Full Name could vary, or be the same as the Abbreviation. |
Option |
Description |
---|---|
Before Year |
Position the month name before the Year (for example, Jan/2009, Feb/2009, Mar/2009, and so on). |
After Year |
Position the month name after the Year (for example, 2009/Jan, 2009/Feb, 2009/Mar, and so on). |
The Month Display Position drop-down is only available if Month Display is set to Abbreviation.
Note: The position you select does not affect how the dates sort in any PMF Views or Gadgets.
Important: If your alternate Time Dimension layout does not include a logical level for Months, select 0 to suppress Month display logic.
After you have configured Month Name display, Month Names display in your PMF Views and Gadgets the way you have configured them, as shown in the following examples. The following examples uses the data from the PMF manufacturing demo data mart.
Rolling 5 Periods. The following is an image which displays View drilled to Month level, with the current date set to Feb 2006.
Measure Details. The following is an image which displays the Month Names of the Measure Details drill for 2005/Q1.
WebFOCUS |