An action is an end user-initiated operation upon a selected cube or portion of a cube. The operation can start an application with the selected item as a parameter, or it can retrieve information about the selected item. For more information about actions, see Actions (Analysis Services - Multidimensional Data).
Use the Actions tab of Cube Designer to build actions for a cube. Specify the following:
Select a name that identifies the action.
Select the object to which the action is attached. Generally, in client applications, the action is displayed when end users select the target object; however, the client application determines which end-user operation displays actions. For Target type, select from the following objects:
After you select the target object type, under Target object, select the cube object of the designated type.
Specify an optional Multidimensional Expressions (MDX) expression that resolves to a Boolean value. If the value is True, the action is performed on the specified target. If the value is False, the action is not performed.
Select the type of action. The following table summarizes the available types.
Retrieves a dataset.
Performs an operation by using an interface other than those listed in this table.
Retrieves a rowset.
Runs an OLE DB command.
Displays a variable page in an Internet browser.
For Action Expression, specify the parameters that are passed when the action is run. The syntax must evaluate to a string, and you must include an expression written in MDX. For example, your MDX expression can indicate a part of the cube that is included in the syntax. MDX expressions are evaluated before the parameters are passed. Also, MDX Builder is available to help you build MDX expressions.
Select the property. The following table summarizes the available properties.
Specifies how the action is run. Interactive, the default, specifies that the action is run when a user accesses an object. The possible settings are:
Describes the application of the action.
Describes the action.
Provides a caption that is displayed for the action. If the caption is MDX, specify True for Caption is MDX.
Caption is MDX
Specify True if the caption is MDX or False if it is not.
A drillthrough action is defined by a rowset action, which is returned to the client application as a drillthrough statement. The action target is a member of a measure group. To create a new drillthrough action, on the Cube menu, click New Drillthrough Action. The following options are specific to a drillthrough action:
Select one or more dimensions and, for each dimension, the drillthrough columns returned to the client application by the action.