Go to primary content
Oracle® Retail Predictive Application Server User Guide for the Fusion Client
Release 16.0
E81120-03
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

10 Dynamic Attributes

Dynamic attributes are attributes you can create in the RPAS Fusion Client. Dynamic attributes describe a particular dimension and level based on a measure's value at specified levels of other dimensions. The dynamic dimension attributes can be used for level splitting, sorting, and displaying in the workbook. For instance, you can create an attribute based on the weekly sales that describes stores in terms of their weekly sales rate: low, average, or high.

After you have created a dynamic attribute, it is saved to the domain. It is added to the workbook during workbook build process if the dimension is present and if the following conditions are met:

The attribute data is only updated when the attribute is used.

This chapter describes the various tasks you can perform with dynamic attributes. It includes the following sections:

Accessing the Define New Attribute Dialog Box

Dynamic attributes are created in the Define New Attribute dialog box. You can access this dialog box in three ways: with the attributes icon in the toolbar, from the right-click context menu, or from the dimension dialog box.

Attributes Icon in the Toolbar

Figure 10-1 Attributes Icon

Surrounding text describes Figure 10-1 .

From the Right-Click Context Menu

  1. Right-click a dimension level. The right-click context menu appears.

  2. Select Create New Attribute.

    Figure 10-2 Create New Attribute: From the Right-Click Context Menu

    Surrounding text describes Figure 10-2 .

From the Dimension Dialog Box

  1. Click a dimension tile. The dimension dialog box appears.

  2. Click the Show Attributes and Sort tab.

  3. Click the New Attribute icon in the Available Attributes section.

    Figure 10-3 Create New Attribute: From the Dimension Dialog Box

    Surrounding text describes Figure 10-3 .

Creating Dynamic Attributes

To create a dynamic attribute, complete the following steps:

  1. Access the Define New Attribute dialog box using the icon, right-click context menu, or the dimension dialog box, as described in the Accessing the Define New Attribute Dialog Box section.

    Figure 10-4 Define New Attribute Dialog Box

    Surrounding text describes Figure 10-4 .
  2. Enter the following information:

    • Attribute Name: Enter a name for the attribute. The name must be unique across a level for a selected dimension and fewer than 80 characters.

    • Dimension: Select the dimension that the attribute should apply to.

    • Level: Select the level of the dimension chosen in the Dimension field. This is the level that the attribute should apply to.

    • [Dimension1] and [Dimension2]: These fields display the dimensions that were not chosen in the Dimension field. Select the dimension levels and positions that the attribute should be applied to for each.

    • Measure: Select the measure that the attribute should be based on.

    • Is Displayed: Check the check box if you want the created attribute to be displayed in the view after it is created. If this was not selected, the attribute is created but not visible. To make the attribute visible at a later time, select it for display in the Dimension window as described in Select Attributes for Display.

    • Clustering: Select No Clustering if you want the data from the measure to be replicated in the attribute. Select Clustering if you want to group the dimension by the values of the measure data.

    • Number of clusters: Choose the number of groups that you want the attribute to create. This option is visible only if clustering is selected.

    • Group Label: Enter the label of the attribute that you want to apply to that cluster of data. Specify how the clusters should be defined by entering a range.

    • Auto Fill: Click this button to automatically create the range for each cluster.


      Note:

      The cluster options are only available for real and integer measures.

  3. Click OK.

The attribute is added to the pivot table.

After you have created the attribute, you can sort the positions by attribute. For more about sorting, see Attribute Sorting.

Figure 10-5 Dynamic Attribute: Clustering Example

Surrounding text describes Figure 10-5 .

Another way to use dynamic attributes is to duplicate measure data in the attribute. For instance, if you had a Climate measure that describes the climate of a location, you could create an attribute based on that measure and select No Clustering, as shown in Figure 10-6 and Figure 10-7.

Figure 10-6 Define New Attribute: No Clustering

Surrounding text describes Figure 10-6 .

Figure 10-7 Dynamic Attribute: Non-Clustering Example

Surrounding text describes Figure 10-7 .

Managing Dynamic Attributes

After you have created a dynamic dimension attribute, you can edit, copy, rename, or delete it using the Manage Dynamic Attributes dialog box.

The Manage Dynamic Attributes dialog box displays all attributes for the selected dimension and level. You can search for attributes by using the attribute filter. You can search all dimensions and levels by selecting All in the Dimension drop-down list. Or, you can search by a particular dimension, level, and measure.

Figure 10-8 Filtering Attributes

Surrounding text describes Figure 10-8 .

By default, attributes for the innermost layer of the selection on the pivot table are listed. If there are no attributes for the selected level, attributes for all visible levels of the selected dimension are displayed.

If there are no attributes for the selection dimension, all attributes across all dimensions are shown. If there are no attributes across any dimension, a message states that there are none.

Accessing the Manage Dynamic Attributes Dialog Box

To access the Manage Dynamic Attributes dialog box, complete the following steps:

  1. Right-click in the content area.

  2. The right-click context menu appears. Select the Manage Dynamic Attributes option.

    Figure 10-9 Manage Dynamic Attributes

    Surrounding text describes Figure 10-9 .
  3. The Manage Dynamic Attributes dialog box appears.

    Figure 10-10 Manage Dynamic Attributes Dialog Box

    Surrounding text describes Figure 10-10 .

From the Manage Dynamic Attributes dialog box, you can edit, copy, rename, delete, or create attributes.

Editing Dynamic Attributes

To edit a dynamic attribute, complete the following steps:

  1. Access the Manage Dynamic Attributes dialog box as described in Accessing the Manage Dynamic Attributes Dialog Box.

  2. Select the attribute you want to edit and click the Edit icon.

    Figure 10-11 Editing a Dynamic Attribute

    Surrounding text describes Figure 10-11 .
  3. The Edit Attribute dialog box appears. Make changes to the attribute information. For details about the fields, see Step 2 of the Creating Dynamic Attributes section.

    Figure 10-12 Edit Attribute Dialog Box

    Surrounding text describes Figure 10-12 .
  4. When finished, click OK.

Copying Dynamic Attributes

To copy a dynamic attribute, complete the following steps:

  1. Access the Manage Dynamic Attributes dialog box as described in Accessing the Manage Dynamic Attributes Dialog Box.

  2. Select the attribute you want to copy and click the Copy icon.

    Figure 10-13 Copying a Dynamic Attribute

    Surrounding text describes Figure 10-13 .
  3. The Copy Attribute dialog box appears. Enter the name of the new attribute. The name must be unique across the level for a selected dimension and fewer than 80 characters.

    Figure 10-14 Copy Attribute Dialog Box

    Surrounding text describes Figure 10-14 .
  4. Click OK.

Renaming Dynamic Attributes

To rename a dynamic attribute, complete the following steps:

  1. Access the Manage Dynamic Attributes dialog box as described in Accessing the Manage Dynamic Attributes Dialog Box.

  2. Select the attribute you want to rename and click the Rename icon.

    Figure 10-15 Renaming a Dynamic Attribute

    Surrounding text describes Figure 10-15 .
  3. The Rename Attribute dialog box appears. Enter the new name. The name must be unique across the level for the selected dimension and fewer than 80 characters.

    Figure 10-16 Rename Attribute Dialog Box

    Surrounding text describes Figure 10-16 .
  4. Click OK.

Deleting Dynamic Attributes

To delete a dynamic attribute, complete the following steps:

  1. Access the Manage Dynamic Attributes dialog box as described in Accessing the Manage Dynamic Attributes Dialog Box.

  2. Select the attribute you want to delete and click the Delete icon.

    Figure 10-17 Deleting a Dynamic Attribute

    Surrounding text describes Figure 10-17 .
  3. A warning message appears. Ensure that you have selected the correct attribute and click Delete.

    Figure 10-18 Delete Attribute Dialog Box

    Surrounding text describes Figure 10-18 .

The attribute is deleted from the list.

Updating Attribute Values

If data in the base measure of the attribute has changed, you may need to recalculate the attributes to see the updated data. To do this, use the Update Attribute Values option in the View menu or the Update Attribute Values and Level Splits icon in the toolbar.

Figure 10-19 Update Attribute Values Option

Surrounding text describes Figure 10-19 .

Figure 10-20 Update Attribute Values Icon

Surrounding text describes Figure 10-20 .

The values of the user-defined attributes must be recalculated based on the user edits. The update icon and menu are enabled only when attributes are displayed that need to be recomputed based on user edits. Clicking the update option or icon recalculates all sort attributes and level splits displayed in the workbook based on the user edits since the attribute or dimension split was applied to the data.