Analysis Services

Cube Cell Security Dialog Box

Use this dialog box to define a custom rule for cell security.

In this dialog box, there are two ways to allow or deny access to specific cells or groups of cells. You can type an expression in Multidimensional Expressions (MDX) to allow or deny access to specific cells or groups of cells. The MDX expression resolves to either TRUE or FALSE for each cell (atomic and nonatomic) in the cube. (If the MDX expression resolves to a numeric value, any nonzero value is evaluated TRUE, and zero is evaluated FALSE.) If the expression resolves to TRUE for a cell, access is allowed. If it resolves to FALSE, access is denied.

You can also click Build to display MDX Builder, in which you can construct the MDX expression by using drag-and-drop techniques.

This dialog box is displayed when, in the Cells tab of the Create a Cube Role or Edit a Cube Role dialog box, you select Advanced in the Cell Security box, and then select a permission in the Advanced Cell Security box. Next, select Custom in the Rule column, and then click the edit (...) button in the Custom Settings column.

Options

Permission

View the permission to which the custom rule applies. This box is read-only.

Description

View or enter a description of the custom rule.

MDX

View or enter the MDX expression that defines the custom rule. You can also use the edit button (...) to open the MDX builder, where you can create an MDX expression.

You can allow access to cells for a dimension member by including the following elements in the expression:

Check

Checks the cell security syntax.

OK

Closes the dialog box and displays the Cube Role dialog box. To save the custom rule, click OK in the Cube Role dialog box.

See Also

MDX Function List