Lesson 8: Defining Actions

In this lesson, you will learn to define actions in your Analysis Services project. An action is just a Multidimensional Expressions (MDX) statement that is stored in Analysis Services and which can be incorporated into client applications and started by a user.


A completed project through Lesson 7 is available by downloading and installing the samples. For more information, see Considerations for Installing SQL Server Samples and Sample Databases.

Analysis Services supports the types of actions that are described in the following table.


Executes a command at the command prompt


Returns a dataset to a client application.


Returns a drillthrough statement as an expression, which the client executes to return a rowset


Executes an HTML script in an Internet browser


Performs an operation by using an interface other than those listed in this table.


Submits a parameterized URL-based request to a report server and returns a report to a client application.


Returns a rowset to a client application.


Runs an OLE DB command.


Displays a dynamic Web page in an Internet browser.

Actions let users start an application or perform other steps within the context of a selected item. For more information, see Actions (Analysis Services - Multidimensional Data), Defining and Configuring Actions (Analysis Services - Multidimensional Data)


For examples of actions, see the action examples on the Templates tab in the Calculation Tools pane or in the examples in the Adventure Works DW sample data warehouse. For more information, see AdventureWorks Sample Data Warehouse.

This lesson includes the following task: