Share via


Define Relationship Dialog Box (Analysis Services - Multidimensional Data)

Use the Define Relationship dialog box to define a relationship between a cube dimension and a measure group in Cube Designer. You can display the Define Relationship dialog box by clicking ... on a cell in the Grid pane on the Dimension Usage tab in Cube Designer.

Options

Select relationship type
Select the type of dimension relationship to create between the cube dimension and the measure group. Selecting a dimension relationship type changes the contents of the Detail pane.

If No Relationship is chosen, a dimension relationship is not created.

Detail
Displays the options available for the dimension relationship type selected in Select relationship type.

Detail Pane Options

The following options are displayed in the Detail pane, depending on the relationship type selected in Select relationship type:

Relationship type Description Option
No Relationship No relationship is defined, and no options are displayed in the Detail pane.
Regular Specifies a regular dimension relationship. The following options are displayed in the Detail pane: Granularity attribute:
Select the attribute that defines the granularity of the measure group with respect to the dimension. This attribute is usually the key attribute of the dimension.
Dimension table : Displays the main table for the dimension.
Measure group table : Displays the fact table for the measure group.
Relationship: Displays a grid of dimension columns and measure group columns on which the relationship is based. The grid contains the following columns:

Dimension Columns: Displays the columns associated with the selected granularity attribute. Note: If the dimension has not yet been generated, this option is set to Generate.
Measure Group Columns :
Select the columns in the measure group that are related to the dimension columns.
Advanced:
Click to display the Measure Group Bindings dialog box and edit advanced properties, such as null processing, on relationships between attributes and measure groups columns. For more information about the Measure Group Bindings dialog box, see Measure Group Bindings Dialog Box (Analysis Services - Multidimensional Data).
Fact Specifies a fact dimension relationship. The following options are displayed in the Detail pane: Granularity attribute: Select the attribute that defines the granularity of the measure group with respect to the dimension. This attribute is usually the key attribute of the dimension.
Dimension table: Displays the primary dimension table.
Measure group table:
Displays the table on which the measure group is based.
Referenced Specifies a referenced dimension relationship. The following options are displayed in the Detail pane: Reference dimension:
Displays the selected dimension.
Intermediate dimension:
Select the intermediate dimension.
Reference dimension attribute:
Select the attribute in the reference dimension that is related to the intermediate dimension attribute specified in Intermediate dimension attribute.
Intermediate dimension attribute:
Select the attribute in the intermediate dimension that is related to the attribute in the reference dimension specified in Reference dimension.
Materialize:
Select to store the attribute member in the intermediate dimension that links the attribute in the reference dimension to the fact table in the MOLAP structure. Materializing the relationship is the default behavior to maximize query performance, but at the expense of an increase in processing time and storage space.
Many-to-Many Specifies a many-to-many dimension relationship. The following options are displayed in the Detail pane: Dimension : Displays the selected dimension.
Intermediate measure group :
Select the associated intermediate measure group.

Note: The intermediate measure group must have at least one dimension in common with the selected measure group. Additionally, the granularity of the relationship between the intermediate measure group and the common dimension must be greater than or equal to the granularity between the common dimension and the selected measure group.
Data Mining Specifies a data mining dimension relationship. The following options are displayed in the Detail pane: Target dimension: Displays the selected data mining dimension.

Note: You must select a data mining dimension to create a data mining dimension relationship.
Source dimension: Select the dimension on which the data mining dimension provides predictive analysis.

See Also

Dimension Relationships
Dimension Usage (Cube Designer) (Analysis Services - Multidimensional Data)
Analysis Services Designers and Dialog Boxes (Multidimensional Data)